﻿.productdetail {
    .product-description {
        * {
            line-height: 2rem;
        }

        svg {
            width: 1rem;
        }

        p {
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            max-height: 6em;
            position: relative;
        }

        &.expanded {
            p {
                max-height: none;
                line-clamp: unset;
                -webkit-line-clamp: unset;
            }

            svg {
                transform: rotate(180deg);
                -webkit-transform: rotate(180deg);
                -moz-transform: rotate(180deg);
                -ms-transform: rotate(180deg);
                -o-transform: rotate(180deg);
            }
        }
    }

    .attributes-group-items {
        margin-top: 1rem;

        .color-box {
            display: block;
            width: 1.6rem;
            height: 1.6rem;
            border-radius: 50%;
        }


        &.size {
            .attribute-select {
                &.active {
                    border-color: var(--accent-color) !important;
                }
            }
        }

        &.color,
        &.fullcolor {
            .item {
                .attribute-select {
                    display: flex;
                    align-items: center;

                    .radio-style {
                        position: relative;
                        width: 1.07rem;
                        height: 1.07rem;
                        display: inline-block;
                        vertical-align: top;
                        position: relative;
                        margin: 0;
                        cursor: pointer;
                        border: 1px solid var(--accent-color-5);
                        border-radius: 50%;
                        background: var(--White);
                        transition: all 0.3s ease;
                        -webkit-transition: all 0.3s ease;
                        -moz-transition: all 0.3s ease;
                        -ms-transition: all 0.3s ease;
                        -o-transition: all 0.3s ease;
                        -webkit-border-radius: 50%;
                        -moz-border-radius: 50%;
                        -ms-border-radius: 50%;
                        -o-border-radius: 50%;

                        &:before {
                            content: '';
                            position: absolute;
                            width: 5px;
                            height: 9px;
                            border: 1px solid var(--White);
                            border-top: 0;
                            border-left: 0;
                            left: 5px;
                            top: 2px;
                            transform: rotate(45deg);
                        }
                    }

                    .color-box {
                        display: block;
                        width: 1.6rem;
                        height: 1.6rem;
                        border-radius: 50%;
                        -webkit-border-radius: 50%;
                        -moz-border-radius: 50%;
                        -ms-border-radius: 50%;
                        -o-border-radius: 50%;
                    }

                    &.active {
                        .radio-style {
                            background: var(--success-2);
                            border-color: var(--success-2) !important;

                            &:before {}
                        }
                    }
                }
            }
        }
    }

    .touchspincount {
        button {
            background: var(--White);
            border: none;
            cursor: pointer;
            padding: 0.02rem 1rem;
            border-left: none;
            font-size: 1.5rem;
        }

        .bootstrap-touchspin {
            display: inline-flex !important;
            flex-direction: row-reverse;
            justify-content: start;
            border-radius: var(--radius-5);
            margin-top: 1rem;
            overflow: hidden;
            border: 1px solid var(--accent-color-7);
        }

        input {
            border: 1px solid #D0DEDD !important;
            border-top: 0 !important;
            border-bottom: 0 !important;
            width: 3rem;
            height: 2.3rem;
            text-align: center !important;
            outline: none;
        }
    }

    .bg-success-4 {
        background: #17892A;
    }

    .addToBasket {
        svg {
            vertical-align: middle;
            width: 1.5em;
            height: 1.5em;
            fill: var(--White);
            stroke: var(--White);
            font-size: medium;
            transform: rotateY(180deg);
            -webkit-transform: rotateY(180deg);
            -moz-transform: rotateY(180deg);
            -ms-transform: rotateY(180deg);
            -o-transform: rotateY(180deg);
            cursor: pointer;
        }

        &.btn-disabled {
            background: var(--accent-color4);
            cursor: default;
        }
    }

    .model-options {
        .prod-btn {
            width: 3.66rem;
            min-width: 3.66rem;
            height: 3.66rem;
            border-radius: 50%;

            svg {
                vertical-align: middle;
                width: 1.5em;
                height: 1.5em;
                fill: var(--Black);
                stroke: var(--Black);
                font-size: medium;
            }

            &.addtowish {
                &.active {
                    svg {
                        stroke: var(--warning-1);
                    }
                }
            }
        }
    }

    .price-box {
        svg {
            width: 1rem;
        }
    }

    .size-helper-btn {
        background: var(--bg-1);
        padding: 0.3rem 1rem;
        border-radius: var(--radius);
        color: var(--accent-color4);
        -webkit-border-radius: var(--radius);
        -moz-border-radius: var(--radius);
        -ms-border-radius: var(--radius);
        -o-border-radius: var(--radius);
        cursor: pointer;

        svg {
            width: 1.5rem;
            height: 1.5rem;
            stroke: var(--accent-color4);
        }
    }

    .custom-modal {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10000000000;
        background-color: rgba(0, 0, 0, 0.9);
        cursor: default;

        .holder {
            max-width: 95vw;
            max-height: 95vh;
            margin: auto;
        }


        img {
            width: auto;
            height: auto;
            max-width: 95vw;
            max-height: 95vh;
        }

        .close {
            top: 1rem;
            right: 1rem;
            border-radius: 50%;
            background-color: #fff;
            cursor: pointer;

            svg {
                width: 2rem;
                height: 2rem;
                fill: #000;
                stroke: #000;
            }
        }
    }

    #addtocart-modal {
        .holder {
            width: 41.3rem;
        }

        .msg-box {
            position: relative;
            background: var(--bg-1);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.10);
            padding: 2.7rem;
            border-radius: var(--radius);
            -webkit-border-radius: var(--radius);
            -moz-border-radius: var(--radius);
            -ms-border-radius: var(--radius);
            -o-border-radius: var(--radius);

            .icon-box {
                position: relative;
                width: 4.26rem;
                aspect-ratio: 1/1;

                >svg {
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 4.26rem;
                    max-width: 100%;
                    max-height: 100%;

                    &.icon-1 {
                        opacity: 0;
                        animation-name: example;
                        animation-duration: 0.5s;
                        animation-iteration-count: infinite;
                    }

                    &.icon-2 {
                        opacity: 0;
                        animation-name: example2;
                        animation-duration: 0.5s;
                        animation-iteration-count: infinite;
                    }
                }

            }

            .title {
                font-size: 1rem;
                display: block;
                color: var(--accent-color2);
            }

            .desc {
                font-size: 1.06rem;
                display: block;
                color: var(--accent-color2);
            }

            .close {
                top: 1.6rem;
                left: auto;
                right: 1.6rem;
                background-color: transparent;

                svg {
                    width: 1.6rem;
                    height: 1.6rem;
                }
            }
        }

        @media(max-width: 768px) {
            .msg-box {
                padding: 1.5rem;
                text-align: center;
            }
        }
    }

    .discount {
        height: 30px;
        border-radius: 1rem;
    }

    .MagicSlideshow {

        .mss-thumbnails {
            background: var(--White);

            .mss-selector-active {
                box-shadow: none;
                padding: 0px;
            }
        }

        .mss-selectors-eye {
            border: 1px solid var(--accent-color-5);
            border-radius: var(--radius);
        }

        .mss-selector-thumbnails {
            border-radius: var(--radius);
        }
    }

}


@keyframes example {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes example2 {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.similar-holder,
.purchase-holder {
    width: 100%;
    padding: 0.4rem;
    margin-top: 1rem;
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
    background-color: var(--secondary-color-light-3);

    .main-title {
        font-size: 1.15rem;
        color: var(--accent-color);
        font-weight: bold;
        margin-bottom: 1.5rem;
    }

    .title-row {
        margin-bottom: 1.3rem;

        .title {
            font-size: 1.1rem;
            color: var(--accent-color2);
        }

        .slider-controller {
            .navigation {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 1.6rem;
                height: 1.6rem;
                cursor: pointer;

                svg {
                    width: 14rem;
                    height: 1.4rem;
                    display: block;
                    stroke: var(--accent-color2);
                }

                &.swiper-button-disabled {
                    cursor: default;

                    svg {
                        stroke: var(--accent-color-5);
                    }
                }
            }
        }

    }

    .swiper-slide {
        padding: 0.55rem;
    }
}

.purchase-holder {
    margin-top: 1.4rem;
    background: var(--bg-2);
    padding: 4rem 0;
}

.count-wrapper {
    height: 0;
    overflow: hidden;
    background-color: var(--bg-1);
    border-radius: var(--radius-5);
    -webkit-border-radius: var(--radius-5);
    -moz-border-radius: var(--radius-5);
    -ms-border-radius: var(--radius-5);
    -o-border-radius: var(--radius-5);

    &.active {
        padding: 0.3rem;
        height: auto;
    }

    .basket-link {
        color: var(--Black);
        padding: 0.8rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    .prod-count {
        .input-group {
            padding: 0.5rem !important;
            background-color: #fff;
            border-radius: var(--radius-5);
            -webkit-border-radius: var(--radius-5);
            -moz-border-radius: var(--radius-5);
            -ms-border-radius: var(--radius-5);
            -o-border-radius: var(--radius-5);

            .remove-item-from-basket {
                width: 2rem;
                height: 2rem;
                padding: 0.4rem;
                stroke: var(--warning-1);
                vertical-align: middle;
                cursor: pointer;
            }

            .input-group-text {

                display: inline-flex;
                vertical-align: middle;

                button {
                    font-size: 1.5rem;
                    padding: 0.5rem;
                    line-height: 0;
                    border: none;
                    background-color: transparent;
                    color: #144C35;
                    cursor: pointer;
                }
            }

            input {
                width: 5rem;
                border: none !important;
                outline: none;
                background-color: transparent;
                text-align: center !important;
                font-size: 1rem;
                font-weight: bold;
            }
        }
    }
}

#notavailable {
    color: var(--warning-2);
}

.unavailable-box {
    .unavailable-title {
        color: var(--warning-2);
    }

    .unavailable-message {}

    .prod-btn {
        width: 3.66rem;
        min-width: 3.66rem;
        height: 3.66rem;
        border-radius: 50%;

        svg {
            vertical-align: middle;
            width: 1.5em;
            height: 1.5em;
            fill: var(--Black);
            stroke: var(--Black);
            font-size: medium;
        }
    }

    .btn-makeavailable {
        padding: 0.8rem 1rem;
        border: none;
        border-radius: var(--radius-5);
        -webkit-border-radius: var(--radius-5);
        -moz-border-radius: var(--radius-5);
        -ms-border-radius: var(--radius-5);
        -o-border-radius: var(--radius-5);
    }
}


.addToBasket-clickable {
    padding: 0.8rem;
    background-color: var(--button-color);
    color: #fff;
    font-size: 1.05rem;
    font-weight: bold;
    border: none;
    width: 100%;
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
    cursor: pointer;

    svg {
        width: 20px;
        height: 20px;
        fill: var(--White);
    }
}

.notification-form-modal {
    width: 400px !important;
    max-width: 100% !important;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    padding: 1.5rem !important;

    .notification-form {
        .input-group {
            position: relative;
            border: solid 1px #F1EEEE !important;
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 0.2rem;
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
            padding: 0px 1rem;
            margin-bottom: 1rem;

            .input-group-text {}

            .form-control {
                width: 100%;
                height: 42px;
                border: none !important;
                outline: none;
                font-size: 1rem;
                padding: 0.5rem 0;
                resize: none;

                &::placeholder {
                    color: #959595;
                    font-size: 1rem;
                    font-weight: normal;
                }

                &:disabled {
                    background-color: transparent;
                }
            }

            svg {
                min-width: 18px;
                width: 18px;
                height: 15px;
                stroke: #1B2C65;
                margin-left: 0.8rem;
            }
        }

        .btn {
            display: flex;
            align-items: center;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            gap: 8px;
            background: var(--accent-color);
            color: #fff;
            margin: auto;
            cursor: pointer;

            svg {
                width: 1.2rem;
                height: 1.2rem;
                stroke: var(--White);
            }
        }
    }
}

@media(max-width: 768px) {
    .qty-add-holder {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        background: var(--accent-color);
        padding: 0.5rem;
        box-shadow: 0px 45px 86px -9px var(--accent-color);
    }
}