*{
    padding: 0;
    margin: 0;
}

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #c2bfa2;
    overflow-x: hidden;
}

header {
    background-color: #2c3e50;
    padding: 10px;
    margin: 0px 5px;
    border-radius: 0px 0px 10px 10px;
    box-shadow: #000000 1px 1px 5px ;
    display: flex;
    justify-content: center;
    align-items: center;
}

header h1 {
    text-align: center;
    color: #ebfbff;
}

header h2{
    margin: 0px 10px;
    color: aquamarine;
}

.mode{
    font-size: 30px;
    position: absolute;
    right: 30px;
}

.lightbtn{
    font-size: 30px;
    position: absolute;
    right: 30px;
}

.theoffers{
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    justify-content: center; 
}

.offers{
    text-align: center;
    margin: 20px;
    padding: 10px;
    color: #ff0000;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.sales {
    background-color: #D9D9D9;
    margin: 20px;
    padding: 20px;
    padding-right: 300px;
    padding-bottom: 400px;
    border: solid rgb(0, 9, 17) 1px;
    border-radius: 20px;
    box-shadow: #000000 2px 2px 0px;
    display: inline-block;
    height: 210px;
    transition: 0.5s;
}

.sales:hover{
    box-shadow: #03191E 8px 8px 0px ;
}

.sales img {
    width: 200px;
    border-radius: 10px;
}

.sales .text {
    text-align: right;
    position: relative;
    left: 270px;
    bottom: 340px;
    color: #333333;
}

.sales .text h2{
    color: rgb(255, 2, 2);
    font-size: 40px;
    font-weight: 600;
    font-size: 25px;
    
}

.sales .text .price h1{
    color: #666666;
    font-size: 35px;
    text-decoration: line-through;
    text-align: left;
    position: relative;
    top: 120px;
    left: 200px;
}

.sales .text .price h3{
    font-size: 35px;
    text-align: left;
    position: relative;
    top: 120px;
    left: 200px;
    color: #C0392B
;
}

#mainofpro{
    text-align: center;
    font-weight: 700;
    margin: 20px;
    padding: 10px;
    color: #006eff;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.mens{
    margin-left: 170px;
}

.product{
    background-color: #D9D9D9;
    margin: 20px;
    padding: 20px;
    padding-bottom: 200px;
    border: solid rgb(0, 9, 17) 1px;
    border-radius: 20px;
    box-shadow: #000000 2px 2px 0px;
    display: inline-block;
    height: 210px;
    transition: 0.5s;
}

.product:hover{
    box-shadow: #03191E 8px 8px 0px ;
}

.proimg {
    height: 300px;
    width: 300px;
    border-radius: 10px;
}

.descrip{
    text-align: right;
}

.yourname{
    text-align: center;
    font-size: 35px;
    color: #006eff;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    margin: 30px;
}

.name{
    background-color: #D9D9D9;
    margin: 20px ;
    padding: 20px;
    padding-bottom: 220px;
    border: solid rgb(0, 9, 17) 1px;
    border-radius: 20px;
    box-shadow: #000000 2px 2px 0px;
    display: inline-block;
    height: 210px;
    transition: 0.5s;
    position: relative;
    left: 35%;
}

.name:hover{
    box-shadow: #03191E 8px 8px 0px ;
}

.contacttext {
    text-align: center;
    font-size: 35px;
    color: #006eff;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    margin: 30px;
}

.contact h2{
    text-align: right;
    margin: 50px;
    color: #fd2525;
    font-size: 30px;
    
}

#whatsbtn{
    font-size: 90px;
    padding: 0px 50px;
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

.newproducts {
    display: inline-flex;
}

.newproducts .proprice{
    font-size: 25.5px;
    
}


/* =============== */
/* 📱 MOBILE VIEW */
/* =============== */

@media (max-width: 768px) {

    /* Header */
    header {
        flex-direction: column;
        text-align: center;
        padding-bottom: 20px;
    }

    .mode, .lightbtn {
        right: 10px;
        top: 10px;
        position: absolute;
    }

    /* Offers Section */
    .sales {
        width: 90%;
        padding: 20px;
        height: auto;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sales img {
        width: 90%;
        height: auto;
    }

    .sales .text {
        position: static;
        text-align: center;
        margin-top: 20px;
    }

    .sales .text .price h1,
    .sales .text .price h3 {
        position: static;
        text-align: center;
        margin-top: 10px;
    }

    /* Products Grid */
    .mens {
        margin-left: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .product {
        width: 90%;
        height: auto;
        padding-bottom: 40px;
        text-align: center;
    }

    .proimg {
        width: 100%;
        height: auto;
    }

    .descrip {
        text-align: center;
        margin: 10px 0;
    }

    .newproducts{
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    /* Your Name Section */
    .name {
        width: 60%;
        left: 0;
        transform: none;
        text-align: center;
        overflow-wrap: break-word;
    }

    .name img{
        width: 100%;
        height: 100%;
    }

    /* Contact Section */
    .contact h2 {
        text-align: center;
        font-size: 25px;
        margin: 20px 0;
    }

    #whatsbtn {
        left: 0;
        bottom: 0;
        font-size: 70px;
        display: flex;
        justify-content: center;
        margin: 20px auto;
    }
}

/* =============== */
/* 📱 SMALL MOBILE */
/* =============== */
@media (max-width: 480px) {
    header h1 {
        font-size: 25px;
    }

    header h2 {
        font-size: 16px;
    }

    .offers, #mainofpro, .yourname, .contacttext {
        font-size: 26px;
    }

    .proimg {
        width: 100%;
    }
}
