/**
 * =====================================================
 * GAMERS THINGS — Estilos de ficha de producto
 * =====================================================
 * Archivo: css/gt-product.css
 * Ubicación: woodmart-child/css/gt-product.css
 *
 * Los colores usan variables CSS para facilitar el cambio
 * de paleta cuando se defina. Por ahora usan valores neutros
 * que funcionan sobre fondo oscuro (estética gaming).
 * =====================================================
 */


/* -------------------------------------------------
   VARIABLES — Cambiar acá cuando definas la paleta
   ------------------------------------------------- */
:root {
    --gt-accent: #6C5CE7;
    --gt-accent-soft: rgba(108, 92, 231, 0.12);
    --gt-bg-surface: rgba(255, 255, 255, 0.04);
    --gt-bg-surface-hover: rgba(255, 255, 255, 0.06);
    --gt-border: rgba(255, 255, 255, 0.08);
    --gt-border-hover: rgba(255, 255, 255, 0.15);
    --gt-text-primary: rgba(255, 255, 255, 0.92);
    --gt-text-secondary: rgba(255, 255, 255, 0.55);
    --gt-text-label: rgba(255, 255, 255, 0.4);
    --gt-nota-bg: rgba(255, 255, 255, 0.03);
    --gt-nota-border: rgba(255, 255, 255, 0.06);
}


/* -------------------------------------------------
   BLOQUE 0 — Confirmación rápida
   ------------------------------------------------- */
.gt-bloque-0 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--gt-bg-surface);
    border: 1px solid var(--gt-border);
}

.gt-attr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gt-attr-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gt-text-label);
    flex-shrink: 0;
}

.gt-attr-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--gt-text-primary);
    text-align: right;
}


/* -------------------------------------------------
   BLOQUES GENERALES (5, 6, 7, 8, 9, 10)
   ------------------------------------------------- */
.gt-bloque {
    margin-bottom: 8px;
}

.gt-bloque-titulo {
    font-size: 16px;
    font-weight: 600;
    color: var(--gt-text-primary);
    margin: 0 0 12px 0;
    padding: 0;
}


/* -------------------------------------------------
   LISTAS — Bloques 5, 6, 9
   ------------------------------------------------- */
.gt-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gt-lista li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gt-text-primary);
    padding-left: 16px;
    position: relative;
}

.gt-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gt-accent);
}

/* Labels dentro de listas (Requisitos, Entrega) */
.gt-req-label,
.gt-entrega-label {
    font-weight: 500;
    color: var(--gt-text-secondary);
}


/* -------------------------------------------------
   NOTAS — Texto complementario en bloques
   ------------------------------------------------- */
.gt-nota {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gt-text-secondary);
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--gt-nota-bg);
    border-left: 2px solid var(--gt-accent);
    border-radius: 0 6px 6px 0;
}


/* -------------------------------------------------
   BLOQUE 7 — Pasos de activación
   ------------------------------------------------- */
.gt-pasos {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: gt-paso;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gt-pasos li {
    counter-increment: gt-paso;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gt-text-primary);
    padding-left: 32px;
    position: relative;
}

.gt-pasos li::before {
    content: counter(gt-paso);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gt-accent-soft);
    color: var(--gt-accent);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gt-activacion-alt {
    margin-top: 16px;
}


/* -------------------------------------------------
   BLOQUE 8 — FAQ Acordeón
   ------------------------------------------------- */
.gt-faq-acordeon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gt-faq-item {
    border: 1px solid var(--gt-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.gt-faq-item:hover {
    border-color: var(--gt-border-hover);
}

.gt-faq-pregunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: var(--gt-bg-surface);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.gt-faq-pregunta:hover {
    background: var(--gt-bg-surface-hover);
}

.gt-faq-pregunta-texto {
    font-size: 14px;
    font-weight: 500;
    color: var(--gt-text-primary);
    line-height: 1.4;
}

.gt-faq-icon {
    font-size: 18px;
    font-weight: 300;
    color: var(--gt-text-secondary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
    width: 20px;
    text-align: center;
}

.gt-faq-pregunta[aria-expanded="true"] .gt-faq-icon {
    transform: rotate(45deg);
}

.gt-faq-respuesta {
    padding: 0 16px 14px 16px;
    background: var(--gt-bg-surface);
}

.gt-faq-respuesta p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gt-text-secondary);
    margin: 0;
}


/* -------------------------------------------------
   BLOQUE 10 — Soporte
   ------------------------------------------------- */
.gt-bloque-soporte p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gt-text-primary);
    margin: 0 0 8px 0;
}

.gt-bloque-soporte p:last-child {
    margin-bottom: 0;
}

.gt-bloque-soporte strong {
    color: var(--gt-text-secondary);
    font-weight: 500;
}


/* -------------------------------------------------
   CTA STICKY MOBILE
   ------------------------------------------------- */
.gt-precio-cta-sticky {
    display: none;
}

@media (max-width: 767px) {
    .gt-precio-cta-sticky {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 12px 16px;
        background: rgba(10, 10, 15, 0.95);
        border-top: 1px solid var(--gt-border);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .gt-precio-cta-sticky.gt-visible {
        transform: translateY(0);
    }

    .gt-precio-cta-sticky .gt-sticky-precio {
        font-size: 18px;
        font-weight: 600;
        color: var(--gt-text-primary);
    }

    .gt-precio-cta-sticky .gt-sticky-btn {
        padding: 10px 20px;
        background: var(--gt-accent);
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: opacity 0.2s ease;
    }

    .gt-precio-cta-sticky .gt-sticky-btn:hover {
        opacity: 0.9;
    }
}


/* -------------------------------------------------
   RESPONSIVE — Ajustes mobile
   ------------------------------------------------- */
@media (max-width: 767px) {
    .gt-bloque-0 {
        padding: 12px 16px;
    }

    .gt-bloque-titulo {
        font-size: 15px;
    }

    .gt-lista li,
    .gt-pasos li,
    .gt-faq-pregunta-texto,
    .gt-faq-respuesta p,
    .gt-bloque-soporte p {
        font-size: 13px;
    }

    .gt-attr-label {
        font-size: 11px;
    }

    .gt-attr-value {
        font-size: 13px;
    }
}
