.page-servico {
    margin: 30px 0;

    .box {
        background: #fff;
        border-radius: 4px;
        overflow: hidden;
        -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        transition-property: all;
        transition-duration: 0.4s;
        transition-timing-function: ease;
        transition-delay: 0s;

        ul {
            border-bottom: 3px solid #ccc;

            li {
                &.current a {
                    border-bottom: 3px solid var(--azul-1) !important;
                }

                a {
                    position: relative;
                    display: block;
                    padding: 10px 15px;
                    color: #555555;
                    background-color: #fff;
                    cursor: pointer;
                    margin-bottom: -3px;
                }
            }
        }

        .tab {
            padding: 15px 15px 0 15px;

            p {
                font-size: 13px;
                line-height: 24px;
                padding-bottom: 10px;
                font-weight: 500;
                color: #878c9f;
            }
        }
    }

    .servico-list {
        padding: 15px;

        .servico-item {
            border: 1px solid #eee;
            border-radius: 4px;
            width: 100%;
            position: relative;
            float: left;
            margin-bottom: 10px;

            .img-card {
                float: left;
                width: 100%;
                position: relative;
                overflow: hidden;
                border-radius: 4px 4px 0 0;
                max-height: 130px;
                height: 125px;
                margin-bottom: 5px;

                img {
                    width: 100%;
                    max-height: 130px;
                    object-fit: fill;
                }
            }

            .descricao {
                position: relative;
                float: left;
                width: 100%;
                padding: 0 15px 15px 15px;

                p {
                    // padding-bottom: 20px;
                    // margin-bottom: 10px;
                    // border-bottom: 1px dotted #ccc;
                    // height: 64px;
                    padding-bottom: 10px;
                    /* margin-bottom: 10px; */
                    border-bottom: 1px dotted #ccc;
                    /* height: 64px; */
                    float: left;
                    width: 100%;
                }

                .btn-descricao {
                    margin: 10px 0;
                    background: transparent;
                    border: 2px solid var(--azul-1);
                    color: var(--azul-1);
                    padding: 15px;
                    line-height: 0;
                    height: 0;
                    transition: background 0.2s;
                    font-size: 12px;

                    &:hover {
                        color: #fff;
                        background: var(--azul-1);
                    }
                }

                .input-group {
                    .input-group-btn {
                        button {
                            background: var(--azul-1);
                            color: #fff;
                            padding: 0;
                            line-height: 0;
                            height: 30px;

                            i {
                                padding: 0 15px;
                                font-size: 12px;
                            }
                        }

                        &:first-child button {
                            border-radius: 4px 0 0 4px;
                        }

                        &:last-child button {
                            border-radius: 0 4px 4px 0;
                        }
                    }

                    input {
                        height: 30px;
                        text-align: center;
                        background: #f7f9fb;
                        border-color: #eee;
                        font-size: 12px;
                    }
                }

                select {
                    width: 100%;
                    padding: 9px;
                    border-radius: 4px;
                    border: 1px solid #eee;
                    margin: 0 0 10px;
                    background: #f7f9fb;
                    font-size: 12px;
                }

                .price-container {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    margin-top: 15px;

                    .price {
                        font-size: 19px;
                        font-weight: bold;
                        color: #444;
                    }
                }

                .btn-adicionar {
                    margin-top: 10px;
                    padding: 15px;
                    line-height: 0;
                    height: 0;
                }
            }
        }
    }
}

@media (min-width: 600px) {
    .page-servico {
        .servico-list {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media (min-width: 900px) {
    .page-servico {
        .servico-list {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}

@media (max-width: 1200px) {
    .page-servico {
        .box {
            ul {
                li {
                    a {
                        em {
                            display: none;
                        }
                    }
                }
            }
        }
    }
}

.box-sidebar {
    .subtitulo {
        border-top: 1px solid #eee;
        padding-bottom: 15px;
    }

    .servico-detalhe {
        .servico-list-sidebar {
            .servico {
                float: left;
                width: 100%;
                text-align: left;
                position: relative;

                &:not(:first-of-type) {
                    padding-top: 10px;
                    border-top: 1px solid #eee;
                    margin-top: 15px;
                }

                .btn-remover {
                    float: right;
                    i {
                        color: #f10000;
                    }
                }

                .descricao {
                    margin-top: 12px;
                    margin-bottom: 5px;

                    p {
                        font-size: 12px;
                        color: #878c9f;
                    }
                }

                .increment {
                    .input-group {
                        .input-group-btn {
                            button {
                                background: var(--azul-1);
                                color: #fff;
                                padding: 0;
                                line-height: 0;
                                height: 30px;

                                i {
                                    padding: 0 15px;
                                    font-size: 12px;
                                }
                            }

                            &:first-child button {
                                border-radius: 4px 0 0 4px;
                            }

                            &:last-child button {
                                border-radius: 0 4px 4px 0;
                            }
                        }

                        input {
                            height: 30px;
                            text-align: center;
                            background: #f7f9fb;
                            border-color: #eee;
                            font-size: 12px;
                        }
                    }
                }
            }
        }
    }
}
