
/* ERRORMODZ - CART ONLY */

.em-cart {
    width: min(1250px, calc(100% - 40px));
    margin: 0 auto;
    padding: 75px 0 100px;
    color: #fff;
}

.em-cart-heading {
    margin-bottom: 40px;
}

.em-cart-heading > span {
    color: #e32636;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.em-cart-heading h1 {
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 55px);
    font-weight: 900;
}

.em-cart-heading h1 strong {
    color: #e32636;
}

.em-cart-heading p {
    color: #999;
}

.em-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 25px;
    align-items: start;
}

.em-cart-products,
.em-cart-summary {
    background: #101010;
    border: 1px solid #292929;
    border-radius: 10px;
}

.em-cart-products {
    padding: 28px;
}

.em-cart-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid #292929;
}

.em-cart-section-heading h2,
.em-cart-summary h2 {
    margin: 0;
    font-size: 18px;
}

.em-cart-section-heading span {
    color: #777;
    font-size: 10px;
    letter-spacing: 2px;
}

.em-cart-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid #292929;
}

.em-cart .em-product-image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #191919;
    border: 1px solid #303030;
    border-radius: 8px;
}

.em-cart .em-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.em-cart .em-product-info {
    min-width: 0;
}

.em-cart .em-product-info small {
    display: block;
    margin-bottom: 8px;
    color: #e32636;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.em-cart .em-product-info h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 17px;
}

.em-cart .em-product-info p {
    margin: 0;
    color: #999;
    font-size: 12px;
}

/* MOOIE QUANTITY KNOPPEN */

.em-cart .em-quantity {
    display: inline-flex;
    align-items: center;
    height: 42px;
    margin-top: 16px;
    padding: 4px;
    background: #191919;
    border: 1px solid #333;
    border-radius: 7px;
}

.em-cart .em-quantity button {
    width: 34px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease;
}

.em-cart .em-quantity button:hover {
    color: #fff;
    background: #e32636;
}

.em-cart .em-quantity span {
    width: 38px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.em-cart .em-product-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    white-space: nowrap;
}

.em-cart .em-product-total strong {
    color: #fff;
    font-size: 17px;
}

.em-cart .em-remove {
    padding: 4px 0;
    color: #777;
    background: none;
    border: 0;
    font-size: 11px;
    cursor: pointer;
}

.em-cart .em-remove:hover {
    color: #e32636;
}

.em-cart-summary {
    position: sticky;
    top: 25px;
    padding: 27px;
}

.em-cart-summary h2 {
    margin-bottom: 24px;
}

.em-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    color: #999;
    border-bottom: 1px solid #292929;
    font-size: 13px;
}

.em-summary-line strong {
    color: #fff;
}

.em-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-weight: 800;
}

.em-summary-total strong {
    color: #e32636;
    font-size: 23px;
}

.em-checkout-button {
    width: 100%;
    min-height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    background: #e32636;
    border: 1px solid #e32636;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s;
}

.em-checkout-button:hover {
    color: #fff;
    background: #bd1d2c;
}

.em-checkout-button span {
    font-size: 20px;
}

.em-continue {
    display: block;
    margin-top: 19px;
    color: #888;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
}

.em-continue:hover {
    color: #fff;
}

.em-secure {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    color: #777;
    border-top: 1px solid #292929;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.em-secure span {
    width: 7px;
    height: 7px;
    background: #35bd75;
    border-radius: 50%;
}

.em-cart .empty-state {
    padding: 40px 10px;
    color: #888;
    text-align: center;
}

@media (max-width: 900px) {
    .em-cart-layout {
        grid-template-columns: 1fr;
    }

    .em-cart-summary {
        position: static;
    }
}

@media (max-width: 550px) {
    .em-cart {
        padding: 45px 0 70px;
    }

    .em-cart-products {
        padding: 18px;
    }

    .em-cart-item {
        grid-template-columns: 65px minmax(0, 1fr);
        gap: 13px;
    }

    .em-cart .em-product-image {
        width: 65px;
        height: 65px;
    }

    .em-cart .em-product-total {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
    }

    .em-cart-section-heading span {
        display: none;
    }
}
