/* ============================================
   SC PAYMENT OPTIONS - PREMIUM UI ARGENTINA
   Refinado para Astra Pro + WooCommerce
   ============================================ */

/* 1. CONTENEDOR PRINCIPAL */
#sc-bloque-precios {
    background: #fafafa; /* Fondo sutil para dar entidad al bloque */
    padding: 18px;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    font-family: inherit;
    box-sizing: border-box;
}

.sc-precios-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 2. ITEM PRECIO ESPECIAL (TRANSFERENCIA) - ESTILO CARD */
.sc-item-especial {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px !important;
    background: #ffffff;
    border: 1px solid #dcfce7 !important; /* Verde muy suave */
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    list-style: none;
    transition: transform 0.2s ease;
}

.sc-item-especial:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.sc-especial-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Íconos circulares modernos */
.sc-especial-left i, .sc-item-label i {
    color: #E59D8B !important;
    background: #fff;
    width: 34px !important;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    font-size: 15px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    display: inline-block;
}

.sc-especial-text {
    display: flex;
    flex-direction: column;
}

.sc-especial-main {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.sc-especial-sub {
    color: #16a34a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sc-especial-price {
    background-color: #dcfce7;
    color: #15803d;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

/* 3. PRECIO DE LISTA (SECUNDARIO) */
/* Lo "apagamos" un poco para que no distraiga del especial */
.sc-precios-list li:nth-child(2) {
    opacity: 0.65;
    margin-bottom: 5px;
}

.sc-precios-list li:nth-child(2) .sc-price {
    text-decoration: line-through;
    font-weight: 500;
}

/* 4. ITEMS DE LISTA ESTÁNDAR */
.sc-precios-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.sc-precios-list li:last-child {
    border-bottom: none;
}

.sc-item-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.sc-price {
    font-weight: 700;
    color: #111;
    font-size: 14px;
}

/* 5. ACORDEÓN (EXTRAS) */
.sc-item-extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    border-bottom: 1px solid #f5f5f5;
}

.sc-item-extra.visible {
    max-height: 70px;
    opacity: 1;
    padding: 12px 0 !important;
}

/* 6. PIE DEL BLOQUE: TOGGLE + LOGOS */
.sc-badge-cuotas {
    margin-top: 15px !important;
    padding: 15px 0 0 0 !important;
    border-top: 1px solid #eee !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-toggle-payment-options {
    background: #f0f0f0 !important; /* Estilo botón sutil */
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    color: #666 !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.sc-toggle-payment-options:hover {
    background: #e8e8e8 !important;
    color: #E59D8B !important;
}

.sc-accordion-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.sc-accordion-icon.rotated {
    transform: rotate(180deg);
}

/* Logos con Grayscale inicial para no "ensuciar" el diseño */
.sc-payment-logos {
    display: flex;
    gap: 10px;
}

.sc-payment-logos i {
    font-size: 22px;
    filter: grayscale(0.8);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sc-payment-logos i:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Colores de marca sutiles */
.sc-payment-logos .fa-cc-visa { color: #1a1f71; }
.sc-payment-logos .fa-cc-mastercard { color: #eb001b; }
.sc-payment-logos .fa-cc-amex { color: #006fcf; }
.sc-payment-logos .sc-mp-logo { color: #009ee3; }

/* 7. TOOLTIP GLASSMORPHISM */
.sc-especial-tooltip {
    position: absolute;
    top: -38px;
    right: 0;
    background: rgba(22, 163, 74, 0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #sc-bloque-precios { padding: 15px; }
    .sc-especial-main { font-size: 13px; }
    .sc-especial-price { font-size: 14px; }
    .sc-item-label span, .sc-price { font-size: 13px; }
    .sc-payment-logos i { font-size: 18px; }
}
