/*
 * Hedenhus Tier Pricing — frontend table styling.
 * Plain table with subtle highlight on the active row. Designed to fit
 * inside the existing product summary without imposing brand colors.
 */
.hedenhus-tier-wrap {
    margin: 1em 0;
}

.hedenhus-tier-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.hedenhus-tier-table th,
.hedenhus-tier-table td {
    padding: 0.5em 0.75em !important;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95em;
}

.hedenhus-tier-table thead th {
    background: #f7f7f7;
    font-weight: 600;
}

.hedenhus-tier-row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.hedenhus-tier-row:hover {
    background-color: #f0f0f0;
}

.hedenhus-tier-row.is-active {
    background-color: #e8f0e3;
}

.hedenhus-tier-row.is-active td {
    font-weight: 600;
}

.hedenhus-tier-row.is-disabled {
    cursor: not-allowed;
    color: #a0a0a0;
    text-decoration: line-through;
    background-color: transparent;
}

.hedenhus-tier-row.is-disabled:hover {
    background-color: transparent;
}

.hedenhus-tier-from {
    white-space: nowrap;
}

.hedenhus-tier-summary {
    margin-top: 1em;
    border-top: 1px solid #e0e0e0;
    padding-top: 0.5em;
}

.hedenhus-tier-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1em;
    padding: 0.35em 0;
}

.hedenhus-tier-summary-each {
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95em;
    color: #555;
}

.hedenhus-tier-summary-total {
    font-weight: 600;
}

.hedenhus-tier-summary-total .hedenhus-tier-summary-total-price {
    font-size: 1.15em;
}

.hedenhus-tier-summary-title {
    flex: 1;
}

.hedenhus-tier-summary-qty,
.hedenhus-tier-summary-unit-price,
.hedenhus-tier-summary-total-price {
    white-space: nowrap;
}
