
a.btn-toggle { text-decoration: none; display: inline-block; }

.mod-layout-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.mod-detail-header {
    background: linear-gradient(90deg, rgba(102, 192, 244, 0.12), transparent);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-radius: 3px;
}
.mod-detail-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
/* El badge del encabezado va en flujo normal (no flotando en la esquina de la página) */
.mod-detail-header .badge { position: static; flex-shrink: 0; }

.retro-panel {
    background: var(--card);
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.retro-panel h2 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 12px;
}
.retro-panel h2::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
}

.main-preview-img img {
    width: 100%; height: 200px; object-fit: cover; display: block;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--line), var(--card));
}

/* Galería interna */
.gallery-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.gallery-scroll img {
    flex: 0 0 100%; max-width: 100%; height: 320px; object-fit: cover;
    border-radius: 3px; background: #000; scroll-snap-align: center;
}

.description-text { font-size: 0.95rem; line-height: 1.6; color: var(--text); }

.info-list { display: flex; flex-direction: column; }
.info-row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
}
.info-row span:first-child { color: var(--muted); }
.info-row span:last-child { color: #fff; text-align: right; }
.info-row:last-child { border-bottom: none; }

.download-box { text-align: center; }
.download-box p { color: var(--muted); font-size: 0.8rem; margin-bottom: 14px; }

.btn-download-retro {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, #75b022 0%, #588a1b 100%);
    padding: 13px 20px;
    border-radius: 3px;
    transition: filter 0.15s;
}

@media (hover: hover) {
    .btn-download-retro:hover { filter: brightness(1.15); }
}


.btn-download-retro:active { filter: brightness(0.9); }

/* para telefonos */
@media (max-width: 768px) {
    .mod-layout-grid { grid-template-columns: 1fr; margin-top: 14px; gap: 0; }
    .mod-detail-header h1 { font-size: 1.3rem; }
    .main-preview-img img { height: 180px; }
}
