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

body {
    font-family: Arial, sans-serif;
    background: #031514;
    color: white;
}


/* HEADER */

.navbar {
    height: 70px;

    display: flex;
    align-items: center;

    padding: 0 6%;

    background: #031010;

    border-bottom: 1px solid #12433f;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #00e6d0;
}

.logo small {
    display: block;

    font-size: 8px;

    letter-spacing: 3px;

    margin-top: 3px;
}

.navbar nav {
    display: flex;

    gap: 30px;

    margin-left: 90px;
}

.navbar nav a {
    color: white;

    text-decoration: none;

    font-size: 14px;
}

.navbar nav a:hover {
    color: #00e6d0;
}

.nav-right {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 22px;
}

.search {
    width: 270px;

    height: 38px;

    border: 1px solid #17645d;

    border-radius: 25px;

    display: flex;

    align-items: center;

    padding: 0 15px;
}

.search input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: white;
}

.search input::placeholder {
    color: #777;
}

.search i,
.cart-icon,
.user-icon {
    color: #00e6d0;
}

.cart-icon,
.user-icon {
    font-size: 21px;

    text-decoration: none;
}


/* HEADER */

.cart-header {
    text-align: center;

    padding: 55px 20px 35px;
}

.cart-header > p:first-child {
    color: #00e6d0;

    font-size: 11px;

    letter-spacing: 4px;

    margin-bottom: 12px;
}

.cart-header h1 {
    font-size: 40px;
}

.cart-header h1 span {
    color: #00e6d0;
}

.cart-header .sub {
    color: #999;

    font-size: 13px;

    margin-top: 10px;
}


/* CART SECTION */

.cart-section {
    width: 88%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.7fr 0.8fr;

    gap: 30px;

    padding-bottom: 60px;
}


/* CART ITEM */

.cart-items {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.cart-item {
    min-height: 150px;

    background: #061e1c;

    border: 1px solid #12615a;

    border-radius: 10px;

    padding: 15px;

    display: flex;

    align-items: center;

    gap: 20px;
}

.cart-item:hover {
    border-color: #00e6d0;
}


/* IMAGE */

.item-image {
    width: 130px;

    height: 120px;

    background: #031514;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.item-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 8px;
}


/* DETAILS */

.item-details {
    flex: 1;
}

.item-details h2 {
    font-size: 18px;

    margin-bottom: 8px;
}

.item-details p {
    color: #999;

    font-size: 12px;

    line-height: 1.5;

    margin-bottom: 10px;
}

.item-details strong {
    color: #00e6d0;

    font-size: 19px;
}


/* QUANTITY */

.quantity {
    display: flex;

    align-items: center;

    border: 1px solid #12615a;

    border-radius: 6px;

    overflow: hidden;
}

.quantity button {
    width: 32px;

    height: 32px;

    border: none;

    background: #031514;

    color: white;

    font-size: 18px;

    cursor: pointer;
}

.quantity button:hover {
    background: #00e6d0;

    color: #031514;
}

.quantity span {
    width: 35px;

    text-align: center;

    font-size: 14px;
}


/* REMOVE */

.remove {
    background: transparent;

    border: none;

    color: #888;

    font-size: 16px;

    cursor: pointer;
}

.remove:hover {
    color: #00e6d0;
}


/* SUMMARY */

.summary {
    height: fit-content;

    background: #061e1c;

    border: 1px solid #12615a;

    border-radius: 10px;

    padding: 25px;
}

.summary h2 {
    font-size: 22px;

    margin-bottom: 25px;
}

.summary-row {
    display: flex;

    justify-content: space-between;

    margin-bottom: 15px;

    color: #aaa;

    font-size: 14px;
}

.summary-row strong {
    color: white;
}

.summary-row .free {
    color: #00e6d0;
}

.line {
    height: 1px;

    background: #12615a;

    margin: 20px 0;
}

.total {
    display: flex;

    justify-content: space-between;

    font-size: 18px;

    margin-bottom: 25px;
}

.total strong {
    color: #00e6d0;

    font-size: 22px;
}


/* CHECKOUT */

.checkout {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    height: 48px;

    background: #00e6d0;

    color: #031514;

    border-radius: 25px;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;
}

.checkout:hover {
    background: #20ffe8;
}


/* CONTINUE */

.continue {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 18px;

    color: #00e6d0;

    text-decoration: none;

    font-size: 13px;
}


/* EMPTY CART */

.empty-cart {
    text-align: center;

    padding: 70px 20px;

    background: #061e1c;

    border: 1px solid #12615a;

    border-radius: 10px;
}

.empty-cart i {
    font-size: 45px;

    color: #00e6d0;

    margin-bottom: 20px;
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    color: #999;

    margin-bottom: 20px;
}

.empty-cart a {
    display: inline-block;

    padding: 11px 25px;

    border: 2px solid #00e6d0;

    border-radius: 25px;

    color: white;

    text-decoration: none;
}


/* FOOTER */

footer {
    min-height: 100px;

    padding: 25px 7%;

    background: #02100f;

    border-top: 1px solid #12433f;

    display: flex;

    align-items: center;
}

.footer-logo {
    font-size: 24px;

    font-weight: bold;
}

.footer-logo span {
    color: #00e6d0;
}

.footer-logo small {
    display: block;

    font-size: 8px;

    letter-spacing: 3px;

    margin-top: 5px;
}

.social {
    margin-left: auto;

    display: flex;

    gap: 20px;
}

.social i {
    font-size: 18px;
}

.footer-right {
    margin-left: 40px;

    padding-left: 30px;

    border-left: 1px solid #12615a;

    color: #bbb;

    font-size: 12px;
}

.copyright {
    padding: 12px 7%;

    background: #010908;

    color: #999;

    font-size: 12px;

    display: flex;

    justify-content: space-between;
}


/* MOBILE */

@media (max-width: 900px) {

    .navbar nav,
    .search {
        display: none;
    }

    .cart-section {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .cart-item {
        flex-wrap: wrap;
    }

    .item-details {
        width: calc(100% - 150px);
    }

    .quantity {
        margin-left: 150px;
    }

    footer,
    .copyright {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }

    .social {
        margin-left: 0;
    }

    .footer-right {
        margin-left: 0;

        padding-left: 0;

        border-left: none;
    }

}