:root {
    font-size: 62.5%;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 1.6rem;
    background-color: #121212;
}
.content_wrapper {
    max-width: 80vw;
    display: flex;
}
a {
    text-decoration: none;
    color: #ffffff;
}
.section {
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    width: 100%;
}
#nav {
    background-color: #1E1E1E;
    color: #ffffff;
    height: 60px;
    align-items: center;
}
#nav_inner {
    width: 100%;
    max-height: 60px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#nav_list {
    display: flex;
    gap: 2rem;
}
#nav_list > li {
    list-style: none;
}
.nav_item {
    color: #ffffff;
    text-decoration: none;
    position: relative;
}
.nav_item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    background: #ffffff;
    transition: transform 0.3s ease;
}
a:hover::after {
    transform: scaleX(100%);
}
#logo {
    max-height: 50px;
    width: auto;
    display: block;
}
img {
    display: block;
}
#hero_img {
    width: 100%;
}
#promotion_inner {
    padding: 5rem;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
#soon_available {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#soon_available > div:first-child {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.soon_available_img {
    width: 50%;
}
#soon_available_inner {
    width: 100%;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
#featured_inner {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}
#featured_inner > p {
    font-size: 2.8rem;
    padding: 0 0 0 0.5rem;
    color: #ffffff;
}
#featured_photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}
#featured_photos img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#products {
    margin-bottom: 20px;
}
#shop {
    min-height: 75vh;
}
#shop_inner {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    width: 100%;
    padding: 3rem 0;
}
#shop_sidebar {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 10px;
    background-color: #252525;
    box-shadow:  0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}
#shop_sidebar h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}
#shop_sidebar label {
    color: #e0e0e0;
    font-size: 1.6rem;
    margin-left: 0.5rem;
}
#shop_sidebar input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}
#shop_sidebar label:hover {
    color: #ffffff;
}
#shop_sidebar > div {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}
#shop_content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.shop_item_img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #f5f5f5;
    border-radius: 10px 10px 0px 0px;
}
.shop_item_info{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 0px 0px 10px 10px;
    background-color: #252525;
    box-shadow:  0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}
#footer {
    background-color: #1E1E1E;
    color: #ffffff;
}
#footer_inner {
    width: 100%;
    justify-content: space-around;
    padding: 2rem;
}
.footer_row {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
}
#product_inner{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
#product_info{
    display: flex;
    gap: 5px;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    background-color: #252525;
    box-shadow:  0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}
#product_item_img{
    max-width: 60rem;
    height: 60rem;
    border-radius: 10px;
}
#product_item_title{
    font-size: 2.5rem;
}
#product_item_price{
    font-weight: 600;
}
#product_item_form{
    display: flex;
    gap: 1rem;
    flex-direction: column;
}
#cart_inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}
#cart_section {
    padding: 3rem 0;
    min-height: 75vh;
}
#empty_cart {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
}
#empty_cart > a {
    width: 15rem;
}
#cart_summary {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    border-radius: 10px;
    background-color: #252525;
    box-shadow:  0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}
.cart_properties {
    width: 60vw;
}
.cart_item {
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    background-color: #252525;
    border-radius: 10px;
    box-shadow:  0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}
.cart_item > img {
    width: 17rem;
    height: 17rem;
    display: block;
}
.cart_item_info {
    width: 150px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}
#checkout {
    min-height: 75vh;
    padding: 5rem 2rem;
    background: #121212;
    color: #fff;
}
#checkout_inner {
    max-width: 1200px;
    margin: 0 auto;
}
#checkout_form {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}
.checkout_row{
    flex: 1;
}
.checkout_item_container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    gap: 5px;
}
.checkout_item_container label {
    margin-bottom: 5px;
    font-weight: 500;
}
.checkout_item_container input,
.checkout_item_container select {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid #2A2A2A;
    background: #1E1E1E;
    color: #fff;
    font-size: 1.6rem;
}
.checkbox_container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row;
}
.button {
    padding: 0.8rem 2rem;
    background: #0A84FF;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}
.button:hover {
    background: #0066cc;
}

@media (max-width: 768px) {
    .content_wrapper {
        max-width: 90vw;
    }

    #nav_list {
        gap: 1rem;
        font-size: 1.4rem;
    }

    #featured_photos {
        grid-template-columns: 1fr;
    }

    #featured_photos img {
        height: 300px;
    }

    #shop_inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #shop_sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 1rem;
        gap: 1rem;
    }

    #shop_sidebar > div {
        margin-bottom: 0;
    }

    #shop_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    #product_inner {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    #product_item_img {
        max-width: 100%;
        height: auto;
    }

    #product_info {
        width: 100%;
    }

    #cart_inner {
        flex-direction: column;
        gap: 2rem;
    }

    .cart_properties {
        width: 100%;
    }

    .cart_item {
        flex-direction: column;
        gap: 1rem;
    }

    .cart_item > img {
        width: 100%;
        height: auto;
    }

    #cart_summary {
        width: 100%;
    }

    #checkout_form {
        flex-direction: column;
    }

    .checkout_row {
        width: 100%;
    }

    #product_inner {
        display: flex;
        gap: 20px;
        justify-content: center;
        padding-top: 30px;
        padding-bottom: 30px;
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    :root {
        font-size: 56.25%;
    }

    .content_wrapper {
        max-width: 95vw;
    }

    #nav_inner {
        flex-wrap: wrap;
    }

    #nav_list {
        width: 100%;
        gap: 0.5rem;
        justify-content: center;
        order: 3;
    }

    #logo {
        max-height: 40px;
    }

    #promotion_inner {
        padding: 2rem 1rem;
    }

    #soon_available > div:first-child {
        flex-direction: column;
    }

    .soon_available_img {
        width: 100%;
    }

    #soon_available_inner {
        padding: 2rem 1rem;
    }

    #featured_inner > p {
        padding: 0;
    }

    #shop_sidebar {
        grid-template-columns: 1fr;
    }

    #shop_content {
        grid-template-columns: 1fr;
    }

    .shop_item_img {
        height: 250px;
    }

    #product_item_img {
        height: auto;
        max-width: 100%;
    }

    #cart_item {
        padding: 1rem;
    }

    .cart_item > img {
        width: 100px;
        height: 100px;
    }

    #checkout {
        padding: 2rem 1rem;
    }

    #checkout_inner {
        padding: 0;
    }

    .checkout_item_container input,
    .checkout_item_container select {
        padding: 0.6rem 0.8rem;
        font-size: 1.4rem;
    }

    .button {
        padding: 0.7rem 1.5rem;
        font-size: 1.4rem;
        width: 100%;
    }

    #footer_inner {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}
