.most-popular .container .inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* align-items: center; */
    width: 100%;
    align-items: stretch;
}

.most-popular .container .inner .right-col {
    width: 70%;
    height: 600px;
}

.most-popular .container .inner .right-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-col {
    /* height: 600px; */
    width: 40%;
    background-color: var(--bg-1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.left-col .popular-title{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.left-col h2 {
    font-size: 25px;
    font-weight: bolder;

}

.left-col p {

    font-size: 16px;
    color: var(--text-4);

}

.popular-slider {

    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-slides {
    width: 100%;
    display: flex;
    margin-inline: auto;
}

.popular-slider .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-3);
    font-size: 20px;
    font-weight: 100;
    cursor: pointer;
    z-index: 5;
}

.popular-slider .arrow.prev {
    right: -700px;
    transition: right .5s ease-in-out;
}

.popular-slider:hover .arrow.prev {
    right: 10px;
}

.popular-slider .arrow.next {
    left: -700px;
    transition: left .5s ease-in-out;

}

.popular-slider:hover .arrow.next {
    left: 10px
}

.popular-slider .slide {
    min-width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

.popular-slider .slide.active {
    display: flex;
}

.popular-slider .slide .slide-image {
    /* height: 200px; */
    width: 70%;
    margin: 0% auto 12px auto;
    position: relative;
    cursor: pointer;
}

.slide-image-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: inline-block;
}

.slide-image-wrapper img {
    transition: opacity .35s ease, transform .5s ease-in, margin-top .5s ease-in;
    position: absolute;
    top: 0%;
    left: 0%;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image-alter {
    opacity: 0;
}

.slide-image:hover .slide-image-main {
    opacity: 0;

}

.slide-image:hover .slide-image-alter {
    opacity: 1;
    transform: scale(1.1);
}

.product-discount {
    position: absolute;
    top: 10px;
    right: 0px;
    padding: 1px 3px;
    background-color: var(--secondaryColor);
    color: white;
}

.product-options-buttons {
    padding: 5px;
    background-color: var(--white);
    color: var(--text);
    display: flex;

    justify-content: space-between;
    align-items: center;

    opacity: 0;
    transition: opacity .35s ease;
    position: absolute;

}

.product-options-buttons.bottom.row {
    width: 90%;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);

    flex-direction: row;
}

.product-options-buttons.top.column {
    width: 50px;
    top: 5px;
    left: 5px;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.slide:hover .product-options-buttons {
    opacity: 1;
}

.product-options-buttons button {
    position: relative;
    width: fit-content;
}

.product-options-buttons-icon {
    color: var(--text-1);
    font-weight: 100px;
    font-size: large;
    cursor: pointer;
    border: none;
    background: none;
}

.product-options-buttons-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    background-color: var(--black);
    width: 150px;
    padding: 5px;
    text-align: center;
    display: none;

}

.product-options-buttons-tooltip::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid black;
}

.product-options-buttons-icon:hover .product-options-buttons-tooltip {
    display: block;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.product-details h3,
p,
h4 {
    margin: 0%;
    padding: 0%;

}

.product-price {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: center;
    direction: ltr;

}

.product-price .product-price-after-dis {
    color: var(--secondaryColor);
    font-weight: bold;
    font-size: medium;
}

.product-price .product-price-before-dis {
    text-decoration: line-through;
    color: var(--text-4);
    font-weight: bold;
    font-size: medium;
}

.dots {
    display: flex;
    gap: 16px;
    align-items: center;
    direction: rtl;
    width: fit-content;
    margin-inline: auto;
    color: var(--text);
}

.dots .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--black);
    background-color: var(--white);
    color: var(--white);
}

.dots .indicator.active {
    background-color: var(--text);
}

@media (max-width:1024px) {
    .most-popular .container .inner {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .most-popular .container .inner .right-col {
        width: 98%;
        margin: 0% auto;
        height: auto;
        aspect-ratio: 1/1;

    }

    .left-col {
        width: 98%;
        margin: 0% auto;
        padding-block: 12px;
    }

    .popular-slider .arrow.next {
        left: 10px;
        transition: left .5s ease-in-out;

    }

    .popular-slider .arrow.prev {
        right: 0px;
    }

    .product-options-buttons {
        opacity: 1;

    }
}