/* ============================================
           ESTILOS MÍNIMOS PARA ACORDEÓN DE PRODUCTO
           ============================================ */

/* Contenedor principal del producto */
.product-detail-container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--bg-primary);
    margin-top: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Galería de imágenes */
.product-gallery {
    position: relative;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.gallery-main {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.gallery-controls {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-medium);
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.gallery-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.gallery-actions {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Info del producto */
.product-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-sku {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.product-tagline {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-add-cart {
    background: var(--gray-900);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-cart:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

/* ============================================
           ACORDEÓN - ESTILOS ESPECÍFICOS
           ============================================ */

.product-accordion {
    border-top: 1px solid var(--border-light);
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.accordion-header:hover {
    color: var(--text-primary);
}

.accordion-header.active {
    color: var(--text-primary);
}

.accordion-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.accordion-header:hover .accordion-icon {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.accordion-header.active .accordion-icon {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content.active {
    max-height: none;
    padding-bottom: 1.5rem;
}

.accordion-body {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.accordion-body ul {
    list-style: none;
    padding: 0;
}

.accordion-body li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.accordion-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
}

/* Sección de detalles adicionales */
.additional-details {
    background: var(--gray-50);
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
}

.additional-details .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.details-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-accordion .accordion-header {
    font-size: 1rem;
    padding: 1.5rem 0;
}

/* ============================================
        ESPECIFICACIONES EN DOS COLUMNAS
        ============================================ */

.specs-columns {
    column-count: 2;
    column-gap: 3rem;
}

.specs-columns .spec-item {
    break-inside: avoid;
    /* Evita que un item se corte entre columnas */
    margin-bottom: 1.5rem;
}

.specs-columns .spec-item h4 {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.specs-columns .spec-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .specs-columns {
        column-count: 1;
    }
}

/* links */

.btnproducto {
    text-decoration: none;
    /* Quita el subrayado */
    color: white;
    /* Usa el color del elemento padre */
}

.descargalink {
    text-decoration: none;
    /* Quita el subrayado */
    color: inherit;
    /* Usa el color del elemento padre */
}

.sin-puntos {
    list-style: none;
    padding-left: 0;
}

.sin-puntos li::marker {
    content: none;
}

.sin-puntos li::before {
    content: none !important;
}

.descargalink,
.descargalink:link,
.descargalink:visited,
.descargalink:hover,
.descargalink:active {
    text-decoration: none !important;
    color: inherit !important;
}