.sep-tier-pricing-wrapper {
    margin: 1.25rem 0;
    padding: 0;
    border-radius: var(--sep-tier-border-radius, 12px);
    background: var(--sep-tier-bg-table, #fafafa);
    border: 1px solid var(--sep-tier-border-table, #e5e7eb);
    overflow: hidden;
}

body.sep-tier-active .single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

.sep-tier-pricing-empty {
    padding: 0.85rem 1rem;
    color: var(--sep-tier-color-header, #6b7280);
    font-size: 0.875rem;
    text-align: center;
    font-style: italic;
}

.sep-tier-pricing-table { display: none; }

.sep-tier-pricing-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--sep-tier-bg-header, #f3f4f6);
    padding: 0.6rem var(--sep-tier-row-padding-x, 1rem);
    font-size: var(--sep-tier-font-size-header, 0.75rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sep-tier-color-header, #6b7280);
    border-bottom: 1px solid var(--sep-tier-border-table, #e5e7eb);
}

.sep-tier-label-price { text-align: right; }

.sep-tier-pricing-rows .sep-tier-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--sep-tier-row-padding-y, 0.7rem) var(--sep-tier-row-padding-x, 1rem);
    border-bottom: 1px solid var(--sep-tier-border-row, #f1f3f5);
    background: var(--sep-tier-bg-row, transparent);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: var(--sep-tier-font-size-row, 1rem);
}

.sep-tier-pricing-rows .sep-tier-row:last-child { border-bottom: none; }
.sep-tier-pricing-rows .sep-tier-row:hover { background: var(--sep-tier-bg-row-hover, #f0f9ff); }

.sep-tier-pricing-rows .sep-tier-row .sep-tier-qty {
    font-weight: var(--sep-tier-fw-qty, 500);
    color: var(--sep-tier-color-qty, #374151);
}
.sep-tier-pricing-rows .sep-tier-row .sep-tier-price {
    text-align: right;
    font-weight: var(--sep-tier-fw-price, 600);
    color: var(--sep-tier-color-price, #111827);
}

.sep-tier-pricing-rows .sep-tier-row.is-active {
    background: linear-gradient(90deg, var(--sep-tier-bg-active-from, #fef3c7), var(--sep-tier-bg-active-to, #fde68a));
    position: relative;
}

.sep-tier-pricing-rows .sep-tier-row.is-active::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--sep-tier-bar-active, #f59e0b);
}

.sep-tier-pricing-rows .sep-tier-row.is-active .sep-tier-qty,
.sep-tier-pricing-rows .sep-tier-row.is-active .sep-tier-price {
    color: var(--sep-tier-color-active, #78350f);
    font-weight: var(--sep-tier-fw-active, 700);
}

.sep-unit-price { font-size: 1rem; color: #6b7280; margin-right: 0.5rem; }
.sep-total-price { font-size: 1.25rem; color: #111827; font-weight: 700; }

@media (max-width: 480px) {
    .sep-tier-pricing-header,
    .sep-tier-pricing-rows .sep-tier-row {
        padding: 0.6rem 0.75rem;
    }
}
