:root{  
    /* This colors are standard pallet without rgba */
    --pink-mist-color: #F7DAE7;
    --rustic-red-color: #3e0014;
    --burgundy-color: #7a002b;
    --tyrian-purple-color: #5b002c;
    --cherry-soda-color: #d38c9d;
    --ruby-petals-color: #a55166;
    --bubblegum-pink-color: #e2b4c1;
/* rgba colors */
    --brown-coffee-color: rgb(70, 29, 58);
    --brown-chocolote-color: rgb(75, 21, 53);
    --old-lavender-color: rgb(113,85,122);
    --jacarta-color: rgb(58,52,91);
    --japanese-violet-color: rgb(80, 42, 80);
    --dark-raspberry-color: rgb(126, 42, 83);
    --pearly-puple-color: rgb(186, 113, 162);
    --classic-rose-color: rgb(236,208,236);
/* polished colors */
    --vanila-cream-color: #f0e7d5;
    --cream-color: #fefcef;
    --white-lotus-color: #fff9f2;
    --cream-white-color: #f8f6ed;
    --deep-burgundy-color: #66001f;
    --rich-rose-color: #66000e;
    --dark-raspberry-color: #570219;
}

.valueHeader h2{
    padding: 2rem 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    background-color: #F7DAE7;
}

.carousel-container{
    width: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: none;
    background: var(--cherry-soda-color);
    padding: 2rem;
}
.carousel-container:hover .carousel-scroll{
    animation-play-state: paused !important;
    cursor: pointer;
}
.card{
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    align-items: center;
    justify-content: center;
    background: var(--pink-mist-color);
    border-radius: 15px;
    margin: 0 1rem;
}
.card:hover{
    background: #faf7f9;
}
.card h4{
    text-transform: uppercase;
    text-align: center;
    padding: 1.5rem 0 0;
    font-weight: 600;
}
.card p{
    padding: 2em 1.5rem 0;
    flex-grow: 1;
}

.carousel-scroll{
    display: flex;
    width: max-content;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-50%);
    }
    
}

/* Model Section */
section .model{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    flex: 1, 0, 1;
    background-color: var(--bubblegum-pink-color);
}
.model img{
    height: 300px;
    width: 300px;
    border-radius: 50%;
    border:var(--white-lotus-color) solid 10px;
}

/* Sales Text */
.sales-text{
    padding: 2rem;
    background-color: var(--white-lotus-color);
    text-align: center;
    font-size: clamp(1.5em, 8vw, 3rem );
    font-family: Playfair Display;
    font-weight: bold;
}
.sales-text i{
    font-size: 1.7rem;
    animation: change-color 0.5s linear infinite;
}
.shop-now-btn{
    background-color: var(--cream-color);
    color: #570219;
    box-shadow: 1px 1px 1px 2px #e2b4c1;
    border-radius: 13px;
    border: none;
    margin: 0rem 1rem 1rem;
    padding: 0.5rem 1rem;
    transition: box-shadow 0.5s;
}
.shop-now-btn:hover{
    box-shadow: 1px 1px 1px 2px #f9a722;
    cursor: pointer;
}
.shop-now-btn a{
    display: block;
    color: inherit;
}

@keyframes change-color {
    0%{
        color: var(--white-lotus-color);
    }

    to{
        color: rgb(195, 5, 5);
    }
}

.bestseller-h1{
    background-color: var(--bubblegum-pink-color);
    padding: 3rem;
}
/* Bestseller Style */
.header-bestseller{
    font-size: 2rem;  
    background-color: var(--cream-white-color);
    width: max-content;
    padding: 0.5rem;
    border-radius: 10px;
}

.bestseller{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 1rem;
    line-height: 1.3rem;
    background-color: var(--bubblegum-pink-color);
}
.bestseller img{
    height: 270px;
    width: 250px;
    background-color: var(--white-lotus-color);
    border-radius: 15px;
    margin-bottom: 12px;
}
.bestseller .item .text-area{
    background-color: var(--cream-color);
    margin-bottom: 2rem;
    border-radius: 10px;
    display: flex;
    flex-flow: column;
}
.bestseller .item .text-area h4{
    padding: 10px 10px 0;
}
.bestseller .item .text-area p{
    padding: 0 10px;
}
.bestseller .item span{
    color: #fb1212ce;
    padding: 0 10px 0.7rem;
    font-size: 14px;
}

section .model{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    flex: 1, 0, 1;
    background-color: var(--bubblegum-pink-color);
}

/* MEDIA QUERIES */
@media(max-width:1020px){
    section .model div:nth-child(1), section .model div:nth-child(3){
        display: none;
    }
}
/* BESTSELLER HEADER TEXT CENTERED */
@media (max-width:782px){
    .bestseller-h1{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}
@media (max-width:450px){
    .header-bestseller{
        font-size: 1.6rem;
    }
}