* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

.search_icon {
    cursor: pointer;
}

.btn-login {
    background: #6155F5;
    padding: 1.6rem 4rem;
    border-radius: 0.8rem;
    font-size: 1.8rem;
    color: #FAFCFF;
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    text-decoration: none !important;
}

.header__logo {
    color: #000;
font-family: Montserrat;
font-size: 34px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.btn-login:hover {
    background: #ffffff;
    color: #6155F5;
}


.header {
    padding: 2rem 0 1rem 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.icon-list {
    width: 100%;
}

.icon-list img {
    width: 100%;
}

.header__nav-text {
    font-family: 'Times New Roman', serif;
    font-size: 1.6rem;
    color: #000000;
    cursor: pointer;
    transition: color 0.3s ease;
}

.header__nav-text:hover {
    color: #6155f5;
}

.header__user {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}


/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100.8rem;
    overflow: hidden;
}

.hero-banner__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-banner__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner__overlay {
    position: absolute;
    top: 25%;
    right: 5%;
    width: 50%;
    background: #96BFFF;
    display: flex;
    align-items: center;
    padding: 4rem;
    border-radius: 1rem;
}

.hero-banner__content {
    max-width: 64.3rem;
    color: #ffffff;
}

.hero-banner__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 5.2rem;
    /* 52px */
    line-height: 6.5rem;
    margin-bottom: 2.4rem;
    color: #ffffff;
}

.hero-banner__subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.4rem;
    margin-bottom: 3.2rem;
    color: #333333;
    max-width: 50rem;
}

.hero-banner__brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #333333;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    margin-bottom: 3.2rem;
}

.btn-cta {
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    padding: 1.6rem 4rem;
}

.btn-cta:hover {
    border: #08F 0.1rem solid;
    color: #08F;
    background-color: white;
}


/* Categories Section */
.categories {
    padding: 8rem 0;
    background: #ffffff;
}

.categories__header {
    text-align: center;
    margin-bottom: 6rem;
}

.categories__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.2rem;
    /* 32px */
    color: #333333;
    margin-bottom: 2rem;
}

.categories__subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    /* 20px */
    color: #666666;
    max-width: 55.9rem;
    margin: 0 auto;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8rem;
    max-width: 120rem;
    margin: 0 auto;
}

.category-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-1rem);
}

.category-card__image {
    width: 100%;
    height: 48.8rem;
    /* 488px */
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.category-card__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    /* 24px */
    color: #333333;
}

/* Products Section */

.products {
    position: relative;
}

.products__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    /* 40px */
    color: #3a3a3a;
    text-align: center;
    margin-bottom: 6rem;
}


.product-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-0.8rem);
}

.product-card__image {
    position: relative;
    height: 30.1rem;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.product-card__badge {
    position: absolute;
    top: 2.4rem;
    right: 2.4rem;
    width: 14%;
    padding: 0.8rem 0.4rem;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: #ffffff;
}

.product-card__badge--discount {
    background: #6155f5;
}

.product-card__badge--new {
    background: #2EC1AC;
}

.product-card__content {
    padding: 2rem;
    background: #F4F5F7;
}

.product-card__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.4rem;
    /* 24px */
    color: #3a3a3a;
    margin-bottom: 1rem;
}

.product-card__description {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    /* 16px */
    color: #898989;
    margin-bottom: 1.6rem;
}

.product-card__price {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.product-card__price-current {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    /* 20px */
    color: #3a3a3a;
}

.product-card__price-old {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    /* 16px */
    color: #b0b0b0;
    text-decoration: line-through;
}

.products__show-more {
    position: relative;
}

.products__show-more-btn {
    color: #6155f5;
    border: 0.1rem solid #6155f5;
    padding: 1.2rem 8rem !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    background-color: #ffffff;
}

.icon-homebtn {
    position: absolute;
    right: 0;
    cursor: pointer;
}

.products__show-more-btn:hover {
    background: #6155f5;
    color: #ffff;
}

/* Share Section */
.share {
    padding: 8rem 0;
    background: #ffffff;
}

.share__header {
    text-align: center;
    margin-bottom: 6rem;
}

.share__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    /* 20px */
    color: #616161;
    margin-bottom: 1.6rem;
}

.share__brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    /* 40px */
    color: #3a3a3a;
}

.share__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 120rem;
    margin: 0 auto;
}

.share__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.17);
    padding: 4.8rem 0;
}


.footer__logo h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    /* 24px */
    color: #000000;
    margin-bottom: 2rem;
}

.footer__description p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    /* 16px */
    color: #9f9f9f;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 76.8rem) {
    
    .product-card__badge {
        width: 20%;
        padding: 0.8rem 0.2rem;
    }

    .hero-banner__title {
        font-size: 4rem;
        line-height: 5rem;
    }

    .header__user-name {
        font-size: 2.4rem;
    }
}


@media (max-width: 76.8rem) {

    .product-card__badge {
        width: 13%;
        padding: 0.8rem 0.3rem;
    }


    .hero-banner__title {
        font-size: 3.2rem;
        line-height: 4rem;
    }

    .header__nav {
        display: none;
    }

}

@media (max-width: 48rem) {

    .product-card__badge {
        width: 16%;
        padding: 0.8rem 0rem;
    }


    .hero-banner__title {
        font-size: 3.2rem;
        line-height: 4rem;
    }

    .header__nav {
        display: none;
    }

}