.main-wrapper {
    padding: 30px;
    --bs-gutter-x: 0px !important;
}

.parent-container-for-sidebar {
    border: 1px solid #E7E7E7;
    border-radius: 15px;
    width: 248px;
}

.main-wrapper > .row {
    --bs-gutter-x: 0px !important;
    flex-wrap: nowrap !important;
    gap: 30px;
    height: calc(100vh - 200px);
}

.favorite-container {
    width: calc(100% - 275px);
    border: 1px solid #E7E7E7;
    padding: 32px 40px;
    border-radius: 15px;
    overflow: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 345px));
    gap: 20px;
    padding: 20px;
}

.card {
    display: flex;
    justify-content: space-between;
    width: 336px !important;
    height: 520px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border:none;
    cursor: pointer;
    background-color: transparent;
    border:none;
    cursor: pointer;
}


.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
   
    position: absolute;
    top: 0;
    left: 0;
}

.card .image-overlay {
    position: relative;
    height: 441px;
    width: 336px;
}

.card .icon-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.card .icon-buttons button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #000000;
    border: none;
    /* padding: 8px; */
    /* border-radius: 50%; */
    /* color: white; */
    cursor: pointer;
}

.card .icon-buttons button svg {
    width: 19px;
    height: 19px;
}

.card .icon-buttons button svg path {
    fill: white;
}

.card .details {
    padding: 10px;
}

.selling-carousel-card-title {
    font-weight: 700;
    font-size: 19px;
    /* line-height: 80%; */
    color: #282828;
    padding-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
   
}

.selling-carousel-card-subtitle {
    font-weight: 600;
    font-size: 16px;
    font-size: 13px;
    color: #4C4C4C;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.card .colors {
    display: flex;
    gap: 6px;
    /* margin: 8px 0; */
    justify-content: space-between;
    align-items: center;
}

.parent-container-for-color-dot {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 3px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;

}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.parent-container-for-color-dot.selected {
    border: 3px solid black;
}

.color-box {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    width: 50%;
}

.price {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    display: inline-block;
}

.rating-price {
    font-weight: 700;
    font-size: 19px;
    line-height: 80%;
    color: #000000;
   
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rating span {
    font-weight: 700;
    font-size: 16px;
    line-height: 80%;
    color: #000000;

}









@media(max-width:768px) {

    .favorite-container {
        width: 100%;
    }

    .favorite-container {
        /* padding: 15px 10px; */
    }

    .main-wrapper > .row {
        flex-wrap: wrap !important;
        height: unset;
    }
    .main-wrapper {
        padding: 15px;
    }

   .parent-container-for-sidebar {
        display: none;
    }
    .card-grid{
        gap: 0px;
        padding: unset;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .card .image-overlay, .card .details{
        width: 100%;
    }
    .card{
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: unset;
        width: 100%;
    }

}



