/* Colors */
:root {
    --color-default: #364d59;
    --color-primary: #37a875;
    --color-black: #000;
    --color-white: #fff;
}

.product-img {
    width: 100%;
    height: 40vh;
    background-image: linear-gradient(#0d0c0c8a, #0909098f), url(../images/smc-img-02.jpeg);
    background-size: cover;
    background-position-y: center;

}

.product-img .txt-product h1 {
    margin-top: 65px;
    color: var(--color-white);
}

.product-img .txt-product p {
    color: var(--color-white);

}

.product-img .txt-product p a {
    text-decoration: none;
    font-family: 500;
}



/* ==============================================product -details---------------------======================== */

.prod-det {
    margin-top: 60px;
    margin-bottom: 30px;
}

.prod-det .prod-txt h3 {
    font-size: 32px;
    color: var(--color-primary);
    margin-top: 10px;
    font-weight: bold;

}

.prod-det .prod-txt .btn-1 {
    padding: 10px 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: bold;
    border: none;
    transition: 0.5s ease-in-out;
}

.prod-det .prod-txt .btn-1:hover {
    background-color: var(--color-black);
}

.prod-det .prod-txt h3::selection {
    background-color: var(--color-primary);
    color: #fff;
}

.prod-det .prod-txt p::selection {
    background-color: var(--color-primary);
    color: #fff;
}

.prod-det .prod-txt ul li::selection {
    background-color: var(--color-primary);
    color: #fff;
}

.prod-det .prod-txt p {
    text-align: justify;
    margin-top: 20px;

}

.prod-det .prod-txt ul li {
    text-align: justify;
}

.prod-det .prod-img {
    width: 100%;
}

.prod-det .prod-img img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

/* ============================================= Modal form  =================================================== */

.form-head {
    font-size: 30px;
    line-height: 30px;
    font-weight: 600;
    text-align: center;
    margin: 0px 0 25px;
}

.form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .form-card {
        position: relative;
        width: 100%;

        .form-input {
            padding: 2px 25px 15px;
            width: 100%;
            border: 1px solid #070707;
            border-radius: 5px;
            background: transparent;

            outline: none;
            font-size: 18px;
            line-height: 25px;
            font-weight: 400;
            box-sizing: border-box;
            margin-bottom: 30px;

            &:valid,
            &:focus {
                border: 2px solid black;
            }

            &:valid~.form-label,
            &:focus~.form-label {
                color: #080808;
                top: 30%;
                transform: translateY(-70%);
                font-size: 13px;
                line-height: 23px;
            }

            &:-webkit-autofill,
            &:-webkit-autofill:hover,
            &:-webkit-autofill:focus,
            &:-webkit-autofill:active {
                transition: background-color 9999s ease-in-out 0s;
            }

            &::-webkit-outer-spin-button,
            &::-webkit-inner-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }
        }



        .form-label {
            position: absolute;
            left: 25px;
            top: 30%;
            transform: translateY(-50%);
            pointer-events: none;
            transition: 0.3s;
            margin: 0;
            font-size: 18px;
            line-height: 28px;
            font-weight: 500;
            color: black;
        }

        .form-textarea {
            padding: 20px 25px 15px;
            width: 100%;
            border: 1px solid black;
            border-radius: 5px;
            background: transparent;
            outline: none;
            font-size: 20px;
            line-height: 30px;
            font-weight: 400;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            resize: none;
            box-sizing: border-box;

            &:valid,
            &:focus {
                border: 3px solid #090909;
            }

            &:valid~.form-textarea-label,
            &:focus~.form-textarea-label {
                color: black;
                top: 18%;
                transform: translateY(-82%);
                font-size: 13px;
                line-height: 23px;
            }

            &:-webkit-autofill,
            &:-webkit-autofill:hover,
            &:-webkit-autofill:focus,
            &:-webkit-autofill:active {
                transition: background-color 9999s ease-in-out 0s;
            }
        }

        .form-textarea-label {
            position: absolute;
            left: 25px;
            top: 30%;
            transform: translateY(-70%);
            pointer-events: none;
            transition: 0.3s;
            margin: 0;
            font-size: 18px;
            line-height: 24px;
            font-weight: 500;
            color: black;
        }
    }
}

.modal-title {
    color: var(--color-primary);
}

.btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0 0;
}

.btn-wrap button {
    padding: 0 28px;
    font-size: 18px;
    line-height: 48px;
    border: 1px solid transparent;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 0 5px 5px #00000020;
}

.btn-wrap button:hover {
    border: 1px solid #000;
    background: transparent;

}