h1 {font-weight: 600;}
.container {
    height: auto;
    display: flex;
    gap: 40px;
    display: grid;
    grid-template-columns: 540px 1fr;
    margin-top: 100px;
}
#pricing-object {display: none;}

.sidebar {position: sticky;top: 100px;height: fit-content;}
.sidebar .image {
    aspect-ratio: 1/1;
    width: 100%;
    background-color: aliceblue;
    border-radius: 17px;
    overflow: hidden;
    margin-bottom: 20px;
    & img {height: 100%;width: 100%;object-fit: cover;}
}

.sidebar .placeholders {
    height: 100px;
    display: flex;
    gap: 20px;
    & .placeholder {
        aspect-ratio: 1/1;
        border: 2px solid #f7f7f7;
        background-color: #fff;
        cursor: pointer;
        overflow: hidden;
        border-radius: 17px;
        & img {width: 100%; height: 100%;object-fit: cover;}
    }
    & .placeholder.active {border-color: var(--blue-color);opacity: 0.7;cursor: default;}
    & .placeholder:hover:not(.active) {border-color: #454545;}
}

.title-area {
    & h2 {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.5;
        margin-top: 8px;
        color: #575757;
    }
    & .rating {display: flex; align-items: center;margin-top: 8px;gap: 10px;}
    & .stars {display: flex; align-items: center; gap: 3px;}
    & svg {height: 16px; width: 16px;fill: #575757;}
    & svg.rated {fill: #FDCC0D;}
    & p {color: #353535;}
}

.highlights {
    margin: 25px 0;
    & h2 {font-size: 17px;font-weight: 500;line-height: 1.5;}
    & ul {margin: 10px 0 10px 10px;list-style: none;}
    ul li::before {
        content: ""; /* Required to display the pseudo-element */
        display: inline-block;
        background-image: url('/static/images/icons/circle-with-rhombs-pattern.png');
        background-size: contain;
        background-repeat: no-repeat;        
        width: 15px; 
        height: 15px;        
        margin-right: 10px; 
        vertical-align: middle; 
    }
    & ul li {line-height: 1.5;font-size: 16px;padding: 3px 0;color: #575757;}
    & h3.note {
        font-size: 15px;
        font-weight: 500;
        max-width: 540px;
        line-height: 1.5;
        font-style: italic;
        margin-top: 20px;
    }
}

.customization {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    & .option {
        position: relative;
        width: calc(50% - 7px);
        height: auto;
        border: 1px solid #454545;
        border-radius: 11px;
        display: grid;
        overflow: hidden;
    }
    & .option label {
        background-color: #f7f7f7;
        padding: 7px 14px;
        font-size: 15px;
        font-weight: 500;
    }
    & .option select {
        border: 0;
        outline: none;
        font-size: 16px;
        padding: 10px 14px;
        background-color: transparent;
        width: 100%;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        padding-right: 35px; 
        cursor: pointer;
    }
    & .custom-arrow {
        position: absolute;
        pointer-events: none;
        right: 14px;      
        bottom: 22%;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #333;
    }
}

.action {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    & .pricing h2{font-weight: 600;font-size: 24px;color: var(--blue-color);}
    & .pricing span:first-child{color: var(--blue-color);}
    & .pricing span:last-child {font-weight: 400;font-size: 16px;color: rgb(98, 107, 127);}
    & .pricing .details {margin-top: 5px;}
}

.action .buttons {
    display: grid;
    gap: 7px;
    & button {
        height: 36px;
        padding: 0 20px;
        min-width: 200px;
        border: 0;
        outline: none;
        background-color: var(--blue-color);
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        border-radius: 11px;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    & button:hover {opacity: 0.7;}
    & button.request {background-color: #144589;}
    & button.ask {
        color: #144589;
        background-color: #1445893f;
    }
}

.product-description {
    margin-top: 60px;
    & .header {
        display: flex;
        align-items: center;
        height: auto;
        & button {
            height: 100%;
            padding: 10px 20px 7px 20px;
            border: 0;
            outline: none;
            border-radius: 11px 11px 0 0;
            font-size: 16px;
            background-color: transparent;
            border-bottom: 2px solid #f7f7f7;
            font-weight: 500;
            color: #3b3b3b;
        }
        & button.active {
            border-color: var(--blue-color);
            color: var(--blue-color);
        }
        & button:hover:not(.active) {
            border-color: #353535;
            color: #353535;  
            cursor: pointer;       
        }
    }
    & h2 {font-weight: 600;font-size: 22px;}
    & h3 {font-weight: 500;font-size: 18px;margin: 20px 0 10px 0;}
    & strong {font-weight: 500;}
    & .content {
        min-height: 300px;
        background-color: #fafafa;
        margin-top: 10px;
        border-radius: 0 0 17px 17px;
        & ul li {margin-left: 20px;font-size: 15px;line-height: 1.5;padding: 3px 0;}
    }
    & .content[data-visibility="hidden"] {display: none !important;}
    & .content.overview {
        display: flex;
        align-items: flex-start;
        gap: 40px;
        & .tab {
            flex: 1;
        }
        & .tab.start {
            padding: 20px;
            
        }
    }
    & p {margin-top: 14px;font-size: 15px;line-height: 1.5;}
    & .content.material {
        padding: 20px;
    }
    & .content.faqs {
        padding: 20px;
        & h3 {font-size: 15px;font-weight: 400; line-height: 1.5;margin: 10px 0 20px 0;}
        & div.tabs {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            & .tab {flex: 1;}
        }
    }
    /* display: flex;
    align-items: flex-start;
    gap: 40px;
    & h2 {font-weight: 600;font-size: 24px;}
    & .tab {flex: 1;}
    & p {margin-top: 20px;font-size: 16px;line-height: 1.5;} */
}

div.faq {
    width: 100%;
    background-color: #fff;
    border-radius: 11px;    
    overflow: hidden;
    margin-bottom: 10px;
}
div.faq p.question {
    padding: 14px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-top: 0 !important;
}
div.faq p.question:hover {color: #00BDF2;}
div.faq p.question:hover svg {fill: #00BDF2;transition: all 250ms ease-in-out;}
div.faq p.question span.icon {display: flex;}
div.faq p.question svg {
    height: 14px;
    width: 14px;
    display: inline-flex;
    overflow: visible;
}
div.faq[data-visibility="visible"] {
    & p.answer {display: block;}
    & p.question svg {transform: rotate(-180deg);}
}
div.faq p.answer {    
    transition: height 250ms ease;
    display: none;
    margin-top: -5px;
    padding: 0 20px 20px 20px;
    font-weight: 300;
    color: #454545;
    font-size: 15px;
    line-height: 23px;
}

.similar-products {
    & h2 {font-weight: 600;font-size: 24px;}
    & .products {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 20px;
        gap: 20px;
    }
    & .product {
        text-decoration: none;
        width: 250px;
        height: auto;
        overflow: hidden;
        border-radius: 17px;
        border: 1px solid #f7f7f7;
        cursor: pointer;
        & img {width: 100%; height: auto; aspect-ratio: 1.2/1; object-fit: cover;display: flex;}
        & div.text {padding: 14px;}
        & p:first-child {font-size: 17px;font-weight: 500;line-height: 1.5;}
        & p.card-text {font-size: 14px; color: rgb(57, 66, 78);& span:first-child {font-weight: 600;}}
    }
    & .product:hover {opacity: 0.7;}
}

@media screen and (max-width: 1140px) {
    .container {grid-template-columns: 440px 1fr;gap: 30px;}
    .sidebar .placeholders {gap: 10px;}
}

@media screen and (max-width: 1040px) {
    .content.faqs .tabs {
        display: grid !important;
        gap: 0 !important;
    }
}
@media screen and (max-width: 1020px) {
    .container {grid-template-columns: 340px 1fr;gap: 30px;}
}

@media screen and (max-width: 920px) {
    .container {grid-template-columns: 310px 1fr;gap: 20px;}
}

@media screen and (max-width:820px) {
    .container {grid-template-columns: 1fr;gap: 30px;}
    .sidebar {position: static;}
}