/**
 * Product Frontend Styles
 * Styles for custom product tabs: Información Adicional and Manuales y Descargas
 */

/* ========================================
   Información Adicional Tab
   ======================================== */

.rnz-informacion-adicional {
    padding: 20px 0;
}

.rnz-detalle-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 30px;
}

.rnz-detalle-item:last-child {
    border-bottom: none;
}

.rnz-detalle-titulo {
    font-weight: 600;
    color: #333;
    min-width: 200px;
    flex-shrink: 0;
}

.rnz-detalle-contenido {
    color: #666;
    flex: 1;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .rnz-detalle-item {
        flex-direction: column;
        gap: 10px;
    }

    .rnz-detalle-titulo {
        min-width: auto;
    }

    .rnz-detalle-contenido {
        text-align: left;
    }
}

/* ========================================
   Manuales y Descargas Tab
   ======================================== */

.rnz-manuales-descargas {
    padding: 20px 0;
}

.rnz-manuales-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rnz-manual-item {
    margin-bottom: 15px;
}

.rnz-manual-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.rnz-manual-link:hover {
    background-color: #e8e8e8;
    border-color: #ccc;
    color: #000;
    transform: translateX(5px);
}

.rnz-manual-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.rnz-manual-link.rnz-manual-image .dashicons {
    color: #4CAF50;
}

.rnz-manual-link:not(.rnz-manual-image) .dashicons {
    color: #2196F3;
}

/* ========================================
   Lightbox
   ======================================== */

.rnz-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.rnz-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.rnz-lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.rnz-lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.rnz-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 1000000;
}

.rnz-lightbox-close:hover {
    opacity: 0.7;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .rnz-lightbox-content {
        padding: 20px;
    }

    .rnz-lightbox-image {
        max-width: 95%;
        max-height: 95%;
    }

    .rnz-lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 36px;
        width: 36px;
        height: 36px;
    }
}