﻿.detail-top-section {
    position: relative;
    background-color: #f5f5f5;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.sectionicon {
    background: var(--accent-color);
    border-radius: 25px;
    outline: 2px solid var(--accent-color);
    border: 3px solid #ffffff;
    transition: all ease-in-out 0.5s;
    width: auto;
    margin-bottom: 1rem;
}


.sectionicon strong {
    line-height: 37px;
    display: block;
    overflow: hidden;
    flex: 1 0 auto;
    transition: all ease-in-out 0.3s;
    color: #fff;
}


.print-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    background-color: rgb(59, 70, 147, 0.2);
    color: #3B4693;
    border-radius: 1.1rem;
    -webkit-border-radius: 1.1rem;
    -moz-border-radius: 1.1rem;
    -ms-border-radius: 1.1rem;
    -o-border-radius: 1.1rem;
    font-size: 0.6rem;
    cursor: pointer;

    svg {
        stroke: #3B4693;
        width: 18px;
        height: 18px;
    }
}


.addTocompare {
    color: var(--accent-color2) !important;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    border: solid 1px var(--accent-color2);
    -webkit-border-radius: 5px;
    margin: auto;
}

.border-bottom {
    border-bottom: 1px solid rgb(225 225 225);
}

#addtocomparesection,
#addtocomparesection img,
#addtocomparesection .Products,
#addtocomparesection .CompareItem {
    transition: all ease-in-out 0.3s;
    max-height: 50rem;
}

.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"]))) #addtocomparesection {
    /* max-height: 15rem;
  top: 4rem;
  background: #fff;
  z-index: 111; */
}

.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"]))) #addtocomparesection .productImage {
    height: 5rem;
    text-align: center;
}

.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"]))) #addtocomparesection .Products {
    height: 5rem;
}

.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"]))) #addtocomparesection .CompareItem {
    height: inherit;
}

div#comparsionitems h2 {
    font-size: 1rem;
}

.custom-reone-card>a {
    box-shadow: 0 0 4px -3px black;
    display: block;
    margin-bottom: 1rem;
}

.product-grid-item.position-relative.overflow-hidden {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-grid-item.position-relative.overflow-hidden p {
    margin: 0;
}

.detail-top-section--item {
    .remodal-close {
        top: 1rem;
        left: 1rem;
        width: 1.4rem;
        height: 1.4rem;
        border: solid 1px var(--button-hover-color);
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        opacity: 0.2;

        &:before {
            font-size: 21px;
            line-height: 18px;
            width: 100%;
            height: 100%;
            color: var(--button-hover-color);
        }

        &:hover {
            opacity: 1;
        }

    }
}

.detail-top-section--item h4 {
    font-size: 1rem;
}

input#comarsionSearch {
    border: none;
    box-shadow: 0 0 4px -2px black;
    border-radius: 0.4rem;
    height: 2rem;
    outline: none;
}


.item-holder {
    position: relative;
    min-width: 300px;
    width: 33%;
    margin: 0 0.5rem;

    &:last-child {
        border: none;
    }
}

.compareitem {
    position: relative;
    background: #fff;
    border: solid 1px #E1E1E1;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    padding: 2rem;
    height: 100%;


    .productImage {
        height: 15rem;
        max-width: 80%;
        margin: 0 auto 1rem;
        transition: all 0.3s ease;

        img {
            height: 100%;
        }
    }

    .title {
        color: #000;
        margin-bottom: 1rem;
    }

    .price-box {
        color: #000;
        margin-bottom: 1rem;
    }

    .addToBasket {
        padding: 0.8rem;
        background-color: var(--accent-color);
        color: #fff;
        font-size: 1.1rem;
        border: none;
        width: 100%;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        cursor: pointer;

        svg {
            width: 20px;
            height: 20px;
            stroke: #fff;
            margin-left: 0.5rem;
        }
    }
}

.technical-list {

    .technical-item {
        display: flex;
        align-items: start;
        justify-content: start;
        width: 100%;
        margin-bottom: 0.4rem;


        .technical-list-value {
            padding: 0.5rem 1rem;
            background-color: var(--CustomColor3);
            border-radius: 0.4rem;
            -webkit-border-radius: 0.4rem;
            -moz-border-radius: 0.4rem;
            -ms-border-radius: 0.4rem;
            -o-border-radius: 0.4rem;
            font-size: 1rem;
            color: #000;

            svg {
                width: 10px;
                min-width: 10px;
                height: 10px;
                stroke: #000;
                margin-left: 1rem;
            }

            div {
                min-height: 25px;
            }
        }

        .technical-list-key {
            color: #000;
            font-size: 1rem;

            svg {
                width: 10px;
                min-width: 10px;
                height: 10px;
                stroke: #000;
                margin-left: 1rem;
            }
        }

        .technical-list-value {
            min-width: 300px;
            width: 33%;
            margin: 0 0.5rem;
            min-height: 2.8rem;
            border-radius: 0.4rem;
            background-color: #fff;
            font-size: 1rem;
        }

    }

    .technical-specificlist {
        li {
            list-style: none;

            .seprator {
                margin-left: 0.2rem;
            }

            &:last-child {
                .seprator {
                    display: none;
                }
            }
        }
    }
}