
*{
    line-height: 1.4;
}
section:not(.breadcrum-section, .section-1) {
    margin-top: 0em;
    margin-bottom: 2.5em;
}

h2 {
    color: rgb(71, 8, 129);
}

.section-2 {
    display: flex;
    margin: .5em;
}


/* all sections */

.prodt-sections {
    margin: .25em;
}

.flash-sales-section {
    background-color: #FD21CA;
    margin: 1em -1em;
    padding: 1em;
}

hr {
    opacity: .15
}

.prodt-sections .section-header {
    margin-left: .5em;
}


/* categories section */

.categories {
    display: flex;
    justify-content: flex-start;
    flex-flow: wrap;
    width: 100%;
}

.category-link {
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
    min-width: calc(100%/10);
    flex-grow: 1;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: gray;
    border-radius: 10px;
    border: 1px solid white;
    padding: 1em;
}

.category-link:hover .category {
    border: 1px solid var(--secondary-color-lighter);
}

.cat-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background-color: var(--secondary-color-lighter);
}

.cat-img-container img {
    width: 2em;
    max-height: 2em
}


/*end categories section */


/* begin main */

.section-2 main {
    flex: 4;
    padding: .5em;
    max-width: 100%;
}


/* .cat-icon,
.prodt-filter {
    cursor: pointer;
} */

.outer-container {
    position: relative;
}

.product-container {
    display: flex;
    overflow-x: scroll;
    justify-content: flex-start;
    transition: all linear 2s;
    flex-grow: 1;
}

.promotion-container .promotion {
    width: calc(100%/3);
}

.project-container {
    display: flex;
}

.project-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 30em;
    overflow: scroll;
    background-color #FD21CA;
}

.project-nav img {
    border-radius: 10px;
    border: 1px solid rgba(211, 211, 211, .5);
    padding: .5em;
    margin: .25em;
}

.project-nav img:hover {
    border: 1px solid rgba(253, 33, 202, .25);
}

.project-active {}

.project-list {
    flex: 5;
    max-height: 30em;
    overflow: hidden;
    font-size: larger;
}

.project-container img {
    max-height: 6em;
}

.project-list .project img {
    max-height: 25em;
    height: fit-content;
    width: auto;
}

.more-to-love {
    display: flex;
    overflow-x: unset;
    justify-content: flex-start;
    flex-flow: wrap;
    width: 100%;
    background-color red;
}

.product-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Webkit-based browsers (Chrome, Safari) */
}

.section-icon-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.section-icon-container .section-header {
    margin-right: auto;
    padding: .5em;
}

.flas-sales {
    color: white;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    margin-bottom: 1em;
}

.flas-sales .section-header {
    margin-right: unset;
}

.section-icon {
    width: 1em;
    height: 2em;
    background-color: #FD21CA;
}

.product-container .product {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 25%;
    border-radius: 10px;
    background-color: white;
    color: black;
    scroll-behavior: smooth;
    border: 1px solid white;
    padding: 1em;
    transition: all .5s ease-out;
}

.flash-sales-section .product {
    border-color: #FD21CA;
    margin-bottom: 1em;
}

.product-container .product:hover {
    box-shadow: 0px 2px 4px grey;
    border: 1px solid rgba(138, 43, 226, .25);
}

.flash-sales-section .product:hover {
    border-color: #FD21CA;
    transform: scale(.95);
    transition: all .5s ease-out;
}

.product-container .img-container {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--secondary-color-lighter);
    border-radius: 10px;
    margin-bottom: .25em;
}

.product-container .img-container img {
    width: 60%;
    height: auto;
}

.more-to-love .img-container img {
    width: 9em;
    height: auto;
}

.best-selling-container {
    box-sizing: border-box;
    min-width: 50%!important;
    overflow-x: unset;
    flex-flow: wrap;
}

.best-selling-container .best-selling {
    display: flex;
    flex-direction: row;
    min-width: calc(100%/2);
    justify-content: space-between;
}

.best-selling .img-container {
    flex: 1;
    padding-right: .25em;
}

.best-selling .product-content {
    flex: 1;
    padding-left: .25em;
}

.best-selling img {
    max-height: 6em;
}

.more-to-love .img-container {
    min-height: 11em;
}


/* begin absolute container */

.absolute-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.absolute-container .discount {
    margin: .25em;
    margin-right: auto;
}

.absolute-container .percentage-discount {
    background-color: blueviolet;
    color: white;
    padding: .15em .5em;
    border-radius: 10px 0 10px 0;
    margin-right: auto;
}

.icon-container {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-top: .5em;
}

.icon-container .child {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .25em;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background-color: rgba(192, 163, 219, .75);
  
}

.icon-container .child:hover {
    background-color: rgba(192, 163, 219, .5);
}

.icon-container svg {
    height: 1em;
    width: 1em;
}


/* end absolute container */

.product-container .content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    color: rgb(0, 0, 0, 75);
}

.prodt-title {
    color: black;
    font-size: large;
}

.product-container .discount-price {
    display: flex;
    justify-content: space-between;
    font-size: larger;
    margin: .5em 0;
    color: #FD21CA;
}

.product-container .discount-price small {
    color: gray;
}

.product-container .product-ratings {
    font-size: small;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.product-container .product-ratings small {
    margin: .25em;
}

.product-container .product-ratings svg {
    width: 1.3em;
    height: auto;
    opacity: .8;
}

.add-to-cart-container {
    text-align: center;
}

.add-to-cart-container .cta-btn {
    width: 100%;
    border: none;
}

.url-container {
    text-align: right;
    padding: .5em 0;
}

.scroll-btn {
    position: absolute;
    padding: .5em;
    border-radius: 5px;
    top: 45%;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.btn-left {
    left: 0;
}

.btn-right {
    right: 0;
}

.btn-left:hover,
.btn-right:hover {
    background-color: rgba(247, 242, 242, 0.75);
}

.btn-left svg,
.btn-right svg {
    fill: lightgrey;
}


/* end main */


/* begin .prodt-aside */

.prodt-aside {
    flex: 1;
    padding: .5em;
}


/* end .prodt-aside */


/* end section-2 */


/* begin tablet view */

@media screen and (max-width:1024px) {
    .product-container .product {
        min-width: calc(100%/3);
    }
    .best-selling-container .best-selling {
        min-width: calc(100%);
        justify-content: space-between;
    }
    .more-to-love .img-container {
        min-height: 10em;
    }
    .more-to-love .img-container img {
        width: 8em;
        height: auto;
    }
    .absolute-container {
        font-size: medium;
    }
    .section-2 {
        flex-direction: column;
    }
    .section-2 h2 {
        font-size: medium;
    }
    .section-2 button {
        padding: .25em .5em;
        border-radius: 5px;
    }
    .section-2 .prodt-aside {
        position: absolute;
        right: 0;
        background-color: white;
        box-shadow: 16px gray;
        border-radius: 10px;
        border: 1px solid lightgrey;
        z-index: 4;
        display: none;
    }
}


/* end tablet view */


/* begin mobile view */

@media screen and (max-width:600px) {
    .category-link {
        min-width: calc(100%/4);
        font-size: 10px;
    }
    .category {
        padding: .8em;
    }
    .product-container .product {
        min-width: calc(100%/2);
    }
    .project-container {
        display: flex;
        flex-direction: column;
    }
    .project-nav {
        flex-direction: row;
    }
    .project-nav img {
        box-sizing: border-box;
        min-width: calc(100%/4);
        margin: 0;
        border: unset;
    }
    .best-selling-container .best-selling {
        min-width: calc(100%);
        justify-content: space-between;
    }
    .more-to-love .img-container {
        min-height: 8em!important;
    }
    .more-to-love .img-container img {
        width: 5em;
        height: auto;
    }
    .product-container .content-container {
        font-size: small;
    }
    .product-container .discount-price {
        justify-content: space-between;
        font-size: small;
    }
    .absolute-container {
        font-size: small;
    }
    .scroll-btn {
        font-size: small;
    }
    .section-2 {
        padding: 0;
    }
}


/* end mobile view */