/*--------------------------------------------------------------
# Producto Section 
--------------------------------------------------------------*/
.producto,
.servicio {

    .row-content-producto2 {

        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 20px;

        .producto2-item {
            text-align: center;
            background-color: var(--surface-color);
            border: 1px solid var(--border-color);
            position: relative;
            border-radius: var(--border-radius);
            box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
            transition: 0.3s all ease;

            .producto2-item-img-contents {
                position: relative;
                overflow: hidden;
                border-radius: var(--border-radius);
                height: 160px;

                .producto2-item-img {
                    max-width: 100%;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: 0.3s all ease;
                }
                .producto2-item-categoria {
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    text-transform: uppercase;
                    font-size: 11px;
                    padding: 5px 10px;
                    font-weight: 500;
                }
            
            }

            .producto2-item-contents {
                padding: 20px;
                display: flex;
                flex-direction: column;
                height: 140px;

                .producto2-item-title {
                    color: var(--default-color);
                    font-size: 18px;
                    font-weight: bold;  
                }
                .producto2-item-btn {
                    margin-top: auto;
                    flex: 0 0 auto;
                    border-radius: var(--border-radius);
                }
                .producto2-item-btn a {
                    border-radius: var(--border-radius);
                }

            }

        }

        .producto2-item:hover {

            border: 1px solid var(--accent-color);

            /* .producto2-item-img {
               transform: scale(1.05);
            } */
        }
    
    }
   
}

/*--------------------------------------------------------------
# Producto detalle 
--------------------------------------------------------------*/
.producto-detalle {
    border-radius: var(--border-radius);
    padding: 30px 15px 30px 15px;

    .article-producto {
        background-color: var(--surface-color);
        padding: 0px 0px 10px 0px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

        .content-img-title {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            width: 100%;
            height: 250px;

            .post-img-producto {
                grid-column: 1 / span 1;
                overflow: hidden;
                border-radius: var(--border-radius);
                width: 100%;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

            }

            .title-producto {
                grid-column: 2 / span 3; 
                width: 100%;
                padding: 15px 15px 15px 20px;

                h2 {
                    padding-bottom: 10px;
                    color: var(--heading-color);
                    font-size: 22px;
                    font-weight: 700;
                }
            
            }

        }

        .contenido-producto {
            margin-top: 15px;
            padding: 20px;

            h3 {
                font-size: 20px;
            }

            blockquote {
                overflow: hidden;
                background-color: color-mix(in srgb, var(--default-color), transparent 95%);
                padding: 60px;
                position: relative;
                text-align: center;
                margin: 20px 0;
            }

            img {
                display: block;
                text-align: left;
                width: 100%;
                height: 300px;
                object-fit: contain;
            }

            blockquote p {
                color: var(--default-color);
                line-height: 1.6;
                margin-bottom: 0;
                font-style: italic;
                font-weight: 500;
                font-size: 20px;
            }

            blockquote:after {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                width: 3px;
                background-color: var(--accent-color);
                margin-top: 20px;
                margin-bottom: 20px;
            }

        }

        .meta-bottom {
            padding: 15px 15px 15px 0px;
            border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);

            i {
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                display: inline;
            }

            a {
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                transition: 0.3s;
            }

            a:hover {
                color: var(--accent-color);
            }

            .cats {
                list-style: none;
                display: inline;
                padding: 0 20px 0 0;
                font-size: 14px;
            }

            .cats li {
                display: inline-block;
            }

        }

    }

}

@media (max-width: 950px) {

    .producto,
    .servicio {

        .row-content-producto2 {
            grid-template-columns: repeat(3, 1fr);
        }

    }

}

@media (max-width: 768px) {

    .producto,
    .servicio {

        .row-content-producto2 {
            grid-template-columns: repeat(2, 1fr);
        }

    }

    .producto-detalle {
            padding: 20px 4px 30px 4px;

          .article-producto {

            .content-img-title {
                height: 380px;

                .post-img-producto {
                    grid-column: 1 / span 3;
                    width: 100%;
                }

                .title-producto {
                    grid-column: 1 / span 3; 
                    padding: 30px 15px 0px 15px;
                }

            }

            .contenido-producto {
                margin-top: 0px;
                padding: 15px;
            }

        }

    }
}

@media (max-width: 480px) {

    .producto,
    .servicio {

        .row-content-producto2 {
            grid-template-columns: repeat(1, 1fr);
        }

    }

}