/* Estilos para el módulo Precios por Cantidad Petroplas */
.pp-tiered-pricing-box {
    margin: 20px 0;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    font-family: 'Outfit', sans-serif;
}

.pp-tiered-pricing-header {
    font-size: 15px;
    font-weight: 700;
    color: #181818;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-tiered-pricing-header i {
    color: #D20A03;
    font-size: 16px;
}

.pp-tiered-pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pp-tiered-pricing-table th {
    text-align: left;
    padding: 8px 12px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
}

.pp-tiered-pricing-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    transition: background 0.15s ease;
}

.pp-tier-row {
    cursor: pointer;
}

.pp-tier-row:hover {
    background: #fff8f8;
}

.pp-tier-row.active {
    background: #fef2f2;
    border-left: 3px solid #D20A03;
}

.pp-tier-row.active td {
    font-weight: 600;
    color: #181818;
}

.pp-tier-price .amount {
    font-weight: 700;
    color: #181818;
}

.pp-tier-row.active .pp-tier-price .amount {
    color: #D20A03;
}

.pp-savings-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.pp-base-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.pp-tier-row.is-out-of-stock {
    opacity: 0.55;
    background: #fcfcfc !important;
    cursor: not-allowed;
}

.pp-tier-row.is-out-of-stock td {
    color: #94a3b8 !important;
}

.pp-tier-row.is-out-of-stock .pp-stock-tag {
    text-decoration: none !important;
}
