/* Quick View Section */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9998;
    backdrop-filter: blur(6px);
    display: none;
}

.popup-container {
    position: fixed;
    top: 25vh;
    left: 15vw;
    width: 70vw;
    /* height: 50vh; */
    background-color: var(--color-background);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 0;
    overflow-y: hidden;
    z-index: 9999;
    display: none;
    /* width: 100%; */
    object-fit: fill;
    height: 300px;
}

.close-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.quick-close-btn {
    background-color: #FF869C;
    border: 0;
    border-radius: 0 6px 0 6px;
    width: 34px;
    height: 34px;
    color: #1E1E1E;
    transition: 0.2s;
}

.quick-close-btn:hover {
    background-color: #FF869C;
    color: #ffff;
}

.quick-info {
    padding: 22px 30px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.quick-image-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 40%;
}

.quick-full-image {
    background-color: var(--color-surface-light);
    border-radius: 6px;
    display: flex;
    /* align-items: center; */
    height: 275px;
    width: 310px;
}

.quick-image-container .thumbnail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.borderclass {
    border: 1px solid;
}

.thumbnail-image {
    background-color: var(--color-surface-light);
    border: 1px solid var(--color-surface-light);
    /* border-radius: 6px; */
    /* height: 60px;
    width: 60px; */
    transition: 0.2s;
    width: 81px !important;
}

.mini-holder:hover {
    transform: scale(1.05);
}

.quick-title {
    font-family: var(--font-family-secondary);

    /* font-family: var(--font-family); */
    font-size: 18px;
    font-weight: 400;
    color: black;

    /* color: var(--color-text); */
    margin: 0;
    text-transform: capitalize;
}

.quick-subheading {
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: 400;
    color: black;
    margin: 0;
    margin-top: 5px;
}

.read-btn {
    background-color: transparent;
    border: 0;
    font-size: 14px;
    font-family: var(--font-family-secondary);
    color: black;
    padding: 0;
    text-decoration: underline;
    margin-top: 10px;
}

.read-btn:hover {
    transform: scale(1.05);
}


.quick-price-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 32px;
}

.quick-price {
    font-family: var(--font-family-secondary);
    color: black;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.quick-price span {
    font-family: var(--font-family);
    color: black;
    font-size: 20px;
    font-weight: 400;
}

/* Buttons */
.quick-btn {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

.quick-add-btn {
    font-family: var(--font-family-secondary);
    background-color: #051E52;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    border: 0;
    border-radius: 6px;
    width: 50%;
    padding: 10px 0;
    transition: 0.2s;
}

.quick-add-btn:hover {
    cursor: pointer;
    transform: scale(1.05);
}

/* Buttons Ends */

/* Info */
.wishlist {
    width: 34px;
    height: 34px;
    border: 1px solid #FF869C;
    color: #FF869C;
    background-color: transparent;
    border-radius: 50px;
    transition: 0.2s;
}

.wishlist:hover {
    transform: scale(1.05);
    background-color: #FF869C;
    border: 0;
    color: var(--color-background);
}

@media only screen and (max-width:1470px) {
    .popup-container {
        top: 25vh;
        left: 20vw;
        width: 60vw;
        height: 45vh;
        overflow-y: auto;
    }
}

@media only screen and (max-width:1250px) {
    .popup-container {
        top: 25vh;
        left: 15vw;
        width: 70vw;
        height: 40vh;
    }
}

@media only screen and (max-width:1100px) {
    .quick-image-container {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .quick-image-container .thumbnail-container {
        flex-direction: row;
        max-width: 100%;
        overflow-x: auto;
        align-items: flex-start;
    }
}

@media only screen and (max-width:900px) {
    .quick-info {
        flex-direction: column;
    }


    .quick-image-container {
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }

    .quick-image-container .thumbnail-container {
        flex-direction: column;
    }
}

@media only screen and (max-width:500px) {
    .popup-container {
        top: 0vh;
        left: 0vw;
        width: 100vw;
        height: 100vh;
    }

    .quick-info {
        margin-top: 60px;
    }

    .quick-image-container {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .quick-image-container .thumbnail-container {
        flex-direction: row;
        height: fit-content;
    }
}