*{
    font-family: "Kumbh Sans", sans-serif;
    box-sizing: border-box;
    padding: 0;
    --dark-gray: hsl(219, 9%, 45%);
}

h2{
    font-weight: 700;
    font-size: 2.2rem;
    cursor: pointer;
}

header, .left-header, ul, .right-header{
    display: flex;
    align-items: center;
}


header{
    margin: 0 10rem;
    justify-content: space-between;
    border-bottom: 1px solid lightgray;
}


.right-header, .left-header{
    gap: 2.2rem;
}

.right-header{
    cursor: pointer;

}

ul{
    list-style-type: none;
    gap: 1rem;
    font-size: 1rem;
    color: grey;
    cursor: pointer;
}

.avatar-icon{
    width: 3rem;
}

.main-section{
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    padding: 5rem;
    margin: 0 10rem;
    gap: 6rem;
}

.left-main{
    
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.right-main{
    
    height: 500px;
    width: 500px;
}

h1{
    font-size: 2.5rem;
}

.sneaker-title{
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 700;
}

.description{
    width: 85%;
    color: grey;
}

.pricing-div{
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 0;
    
    gap: 1rem;
}

h3{
    font-size: 1.8rem;
    margin: 0
}


.percent{
    background: black;
    color: white;
    padding: 0.2rem 0.6rem;
    font-weight: 600;
    border-radius: 0.5rem;
    
}
.strikethrough-price{
    text-decoration:line-through ;
    color: var(--dark-gray);
    font-weight: 700;
}

.big-image{
    width: 450px;
    height: 430px;
    border-radius: 1rem;
    cursor: pointer;
}

.left-main > .big-image:hover{
    opacity: 0.9;
}

.smaller-images-div{
    display: flex;
    justify-content: space-between;
    
}

.smaller-images{
    width: 90px;
    border-radius: 1rem;
    cursor: pointer;
}

.pricing-buttons{
    margin-top: 2rem;
    display: flex;
    width: fit-content;
    gap: 1rem;
}

.quantity-button{
    background-color: hsla(221, 61%, 90%, 0.24);
    width: 9rem;
    height: 3.2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    
}

span{
    font-size: 0.9rem;
    font-weight: 800;
}

.add-to-cart-button{
    background: hsl(26, 100%, 55%);
    width: 16rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    gap: 0.5rem;
    font-weight: 700;
    cursor: pointer;
}

.add-to-cart-button:hover{
    background: hsla(26, 100%, 55%, 0.849);
}

.plus, .minus{
    cursor: pointer;
}

.plus:hover, .minus:hover{
    opacity: 0.9;
}

.image-modal{
    z-index: 10;
    width: 50%;
    height: 50%;
    border: 2px solid black;
    position: absolute;
    top: 50;
    left: 50;
}

.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Full-screen overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark background with opacity */
    z-index: 1; /* Behind the modal */
  }

.modal-div{
    display: none;
    position: absolute;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the modal */
    z-index: 2;
}


.previous-icon-div{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 40%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.next-icon-div{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 40%;
    transform: translate(50%, -50%);
    cursor: pointer;
}

.arrow{
    width: 25%;
}

.second-big-image{
    cursor: auto;
}

.cart-div{
    position: relative;
}

.cart-badge{
    width: 15px;
    height: 15px;
    background: red;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.show-cart-div{
    display: none;
    background: #eee;
    width: 200px;
    left: 0;
    transform: translate(-90%, -2%);
    height: 300px;
    z-index: 12;
    position: absolute;
    padding: 1rem;
}