.gbz-excel-product {
    margin-top: 8px;
    direction: rtl;
    text-align: right;
}

.gbz-grade-row {
    margin-bottom: 16px;
    padding: 14px 16px 16px;
    border: 1px solid #eceff1;
    border-radius: 16px;
    background: #fff;
}

.gbz-grade-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 13px;
    color: #37474f;
}

.gbz-grade-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.gbz-excel-product .gbz-grade-pill {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 16px;
    border: 1px solid #eceff1;
    background: #fafafa;
    border-radius: 999px !important;
    color: #546e7a;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.gbz-grade-pill:hover {
    border-color: #c8e6c9;
    color: #2e7d32;
    background: #fff;
}

.gbz-grade-pill.is-active {
    border-color: #81c784;
    background: #f1f8e9;
    color: #2e7d32;
}

.gbz-volume-table-wrap {
    border: 1px solid #eceff1;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.gbz-volume-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
}

.gbz-volume-table th,
.gbz-volume-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eceff1;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.gbz-volume-table th:nth-child(1),
.gbz-volume-table td:nth-child(1) {
    width: 32%;
    text-align: right;
}

.gbz-volume-table th:nth-child(2),
.gbz-volume-table td:nth-child(2) {
    width: 40%;
}

.gbz-volume-table th:nth-child(3),
.gbz-volume-table td:nth-child(3) {
    width: 28%;
    padding-left: 8px;
    padding-right: 8px;
}

.gbz-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfd8dc;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    height: 28px;
}

.gbz-qty button {
    width: 24px;
    height: 28px;
    border: 0;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}

.gbz-qty input {
    width: 36px;
    height: 28px;
    border: 0;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    padding: 0;
    -moz-appearance: textfield;
}

.gbz-qty input::-webkit-outer-spin-button,
.gbz-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gbz-inquiry-note {
    margin: 10px 0 0;
    color: #607d8b;
    font-size: 13px;
    line-height: 1.8;
}

.gbz-excel-product .gbz-volume-table thead th {
    background: #fafafa;
    font-weight: 600;
    font-size: 13px;
    color: #37474f;
}

.gbz-volume-table tbody tr:last-child td {
    border-bottom: 0;
}

.gbz-volume-table td:first-child,
.gbz-volume-table th:first-child {
    text-align: right;
}

.gbz-price-cell {
    font-variant-numeric: tabular-nums;
    color: #263238;
    font-weight: 600;
}

.gbz-stock-hint {
    margin: 12px 0 0;
    color: #607d8b;
    font-size: 13px;
}

.gbz-excel-error {
    color: #c62828;
    background: #ffebee;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 12px;
}

.gbz-excel-error.is-success {
    color: #2e7d32;
    background: #e8f5e9;
}

.gbz-add-all {
    width: 100%;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #43a047 !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 12px !important;
    min-height: 52px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
}

.gbz-add-all:disabled {
    opacity: 1;
    cursor: wait;
}

.gbz-add-all.is-loading .gbz-add-all-label {
    opacity: 0.85;
}

.gbz-add-all-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gbz-spin .7s linear infinite;
}

.gbz-add-all.is-loading .gbz-add-all-spinner {
    display: inline-block;
}

@keyframes gbz-spin {
    to {
        transform: rotate(360deg);
    }
}

.gbz-inquiry-link {
    display: block;
    text-align: center;
    margin-top: 10px;
}

.gbz-catalog-product .summary > p.price,
.gbz-catalog-product .wd-single-price {
    display: none;
}

@media (max-width: 767px) {
    .gbz-excel-product .gbz-grade-pills {
        flex-wrap: wrap;
    }

    .gbz-excel-product .gbz-grade-pill {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        box-sizing: border-box;
        padding: 8px 12px;
    }

    .gbz-volume-table th,
    .gbz-volume-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .gbz-qty input {
        width: 32px;
    }
}
