/**
 * Woo Product Details – Frontend styles
 */

.djacs-wpd-tech-specs-wrapper {
    margin: 2em 0;
    clear: both;
}

.djacs-wpd-tech-specs-title {
    margin-bottom: 1em;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 5px solid #2d6d7b;
}

.djacs-wpd-tech-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.djacs-wpd-tech-specs-table th,
.djacs-wpd-tech-specs-table td {
    padding: 0.6em 0.8em;
    vertical-align: top;
  
}

.djacs-tech-specs-table th,
.djacs-tech-specs-table td{
      text-transform: none;
}

.djacs-wpd-tech-specs-label {
    font-weight: 600;
    width: 35%;
}

.djacs-wpd-tech-specs-value {
    width: 65%;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .djacs-wpd-tech-specs-table th,
    .djacs-wpd-tech-specs-table td {
        display: block;
        width: 100%;
    }

    .djacs-wpd-tech-specs-label {
        margin-bottom: 0.2em;
    }

    .djacs-wpd-tech-specs-row {
        margin-bottom: 1em;
        display: block;
    }
}



/* CONTENEDOR GENERAL */

.djacs-product-video-wrapper {
    width: 100%;
    margin-bottom: 25px;
}

/* CONTENEDOR RESPONSIVE */

.djacs-video-lazy {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* proporción 16:9 */
    height: 0;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

/* IMAGEN PREVIEW */

.djacs-video-lazy img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* mantiene proporción sin deformar */
    top: 0;
    left: 0;
}

/* IFRAME */

.djacs-video-lazy iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
    top: 0;
    left: 0;
}

/* BOTÓN PLAY */

.djacs-play-button {
    position: absolute;
    width: 70px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.djacs-play-button::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 15px;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
}

