@import url('./animations.css');


/* --------------------------------- */
header {
    padding: 20px;
}


.invalid {
    border: 2px #C00000 solid !important;
}


.top__header__section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px 0;

    .nav__links {
        display: flex;
        align-items: center;
        gap: 25px;

        img {
            margin-bottom: 12px;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 25px;

            .nav__link {
                color: var(--text-primary-dark);
                font-weight: 600;
                text-decoration: none;
                font-size: 16px;
                transition: .3s ease;

                &:hover {
                    color: #C00000;
                }
            }
        }
    }

    .company__info {
        display: flex;
        align-items: center;
        gap: 25px;

        .lang__btn {
            color: var(--text-primary-dark);
            font-weight: 600;
            text-decoration: underline;
            border: none;
            background-color: transparent;
            font-size: 16px;
            cursor: pointer;
            outline: none;
        }

        .lang__btn-mobile {
            border: none;
            background-color: transparent;
            cursor: pointer;
        }

        .phone__link {
            color: #C00000;
            text-decoration: underline;
            font-size: 16px;
            font-weight: 600;
        }

        .pc-hidden {
            display: none;
        }
    }
}

main {
    .calculator {
        background-color: #F9F8F6;
        border-radius: 12px;
        padding: 10px 10px 10px 30px;
        display: flex;

        .left__side {

            width: 55%;
            margin-top: 50px;

            .tab__header {
                display: flex;
                flex-direction: column;
                gap: 12px;

                .tabs {
                    display: flex;
                    gap: 6px;
                    flex-wrap: wrap;

                    button {
                        border: 1px solid black;
                        background-color: transparent;
                        box-shadow: none !important;
                        transform: translateY(0) !important;
                        padding: 10px;
                    }

                    .active-btn {
                        background-color: black;
                        color: white;
                    }

                    button:hover {
                        background-color: black;
                        color: white;
                    }
                }

            }

            .tab__contents {
                margin-top: 32px;

                .tab__content {
                    display: flex;
                    flex-direction: column;
                    gap: 32px;

                    .innertab__header {
                        display: flex;
                        flex-direction: column;
                        gap: 12px;

                        .tabs {
                            display: flex;
                            flex-wrap: wrap;
                            gap: 6px;

                            button {
                                border: 1px solid black;
                                background-color: transparent;
                                box-shadow: none !important;
                                transform: translateY(0) !important;
                                padding: 10px;
                            }

                            .active-btn {
                                background-color: black;
                                color: white;
                            }

                            button:hover {
                                background-color: black;
                                color: white;
                            }
                        }
                    }

                    .innertab__content {
                        .warning {
                            margin-top: 30px;
                            font-weight: 600;
                            color: #C00000;
                        }
                    }


                    .width__block,
                    .size__block {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;

                        .tabs {
                            display: flex;
                            gap: 6px;

                            button {
                                border: 1px solid black;
                                background-color: transparent;
                                box-shadow: none !important;
                                transform: translateY(0) !important;
                                padding: 10px;
                            }

                            .active-btn {
                                background-color: black;
                                color: white;
                            }

                            button:hover {
                                background-color: black;
                                color: white;
                            }
                        }
                    }


                    .count__block {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;

                        input {
                            background-color: transparent;
                            border: 1px solid black;
                            padding: 12px;
                            border-radius: 4px;
                            outline: none;
                            font-size: 16px;
                            width: 230px;

                            &::placeholder {
                                font-style: italic;
                                color: #A3A2AB;
                            }
                        }
                    }
                }
            }
        }

        .right__side {
            width: 45%;

            .top__side {
                padding: 24px;
                border-radius: 12px 12px 0 0;
                background-color: #F2F3FB;
                display: flex;
                flex-direction: column;
                gap: 46px;

                h3 {
                    font-size: 24px;
                    font-weight: 600;
                    font-weight: 500;
                    color: var(--text-primary-dark);
                }

                .price__block {
                    p {
                        font-size: 16px;
                        color: var(--text-primary-dark);
                    }

                    h2 {
                        margin-top: 13px;
                        font-size: 48px;
                        font-weight: 500;
                        color: var(--text-primary-dark);
                    }
                }
            }

            .bottom__side {
                padding: 24px;
                background-color: var(--bg-dark);
                border-radius: 0 0 12px 12px;
                display: flex;
                flex-direction: column;
                gap: 60px;

                .products__naming {
                    display: flex;
                    flex-direction: column;
                    gap: 24px;

                    .product__short__info {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;

                        p {
                            color: white;
                            font-size: 13px;
                            opacity: .5;
                        }

                        h3 {
                            color: white;
                            font-size: 24px;
                            font-weight: 500;
                        }

                    }

                    .product__info {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);

                        .info {
                            display: flex;
                            flex-direction: column;
                            gap: 8px;

                            p {
                                color: white;
                                opacity: .5;
                                font-size: 13px;
                            }

                            h3 {
                                color: white;
                                font-weight: 500;
                                font-size: 24px;
                            }
                        }
                    }
                }

                .order__block {
                    display: flex;
                    align-items: end;
                    justify-content: space-between;

                    div {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                        align-items: start;
                        width: 50%;

                        p {
                            color: white;
                            font-size: 13px;
                            opacity: .5;
                        }

                        a {
                            color: white;
                            font-size: 13px;
                        }
                    }
                }
            }
        }
    }
}