
a {
    color: #8093A7;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration:none
}

.breadcrumbs {
    width: 80%;
    max-width: 800px;
    margin: 2em auto;
    display: grid;
    grid: 1fr / repeat(4, 1fr);
    gap: 1%;
}

.pointer {
    height: 80px;
    position: relative;
    background: #F3F5FA;
    display: flex;
    gap: 8px;
    padding-left: 10px;
    justify-content: center;
    align-items: center;
}

.pointer:before {
    content: "";
    position: absolute;
    left: 0px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 30px solid white;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
}

#first:before {
    border-left: none;
}

#first {
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
}

.pointer:after {
    content: "";
    position: absolute;
    right: -29px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 30px solid #F3F5FA;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    z-index: 1
}

#last:after {
    border-left: none;
}

#last {
    border-bottom-right-radius: 16px;
    border-top-right-radius: 16px;
}

.currentbreadcrumb, .pointer:hover {
    background: #F9C4D2;
    color: #fff;
}

.currentbreadcrumb:after, .pointer:hover:after  {
    border-left: 30px solid #F9C4D2;
}

.cart {
    background-color: #f2f4f6;
    height: 859px;
}

.cart-container {
    width: 100%;
    max-width: 1144px;
    border-radius: 5px;
    margin: 0 auto;
    padding: 40px 0;

}

h1 {
    font-size: 48px;
    font-weight: 300;
    color: #24282a;
    margin-bottom: 64px;
}

.cart-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-background {
    width: 281px;
    height: 165px;
    background-color: #FFE9E9;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 150px;
    left: -54px;
    position: relative;

}

.item-image {
    width: 104px;
    height: 134px;
    margin: 17px 89px;
}

.item-details {
    flex-grow: 1;
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    color: #24282a;
    margin-bottom: 5px;
}

.item-description {
    font-size: 16px;
    color: #a7b0b4;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #24282a;
    margin-right: 177px;
    margin-left: 60px;
}


.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffcccc;
    border-radius: 5px;
    width: 170px;
    height: 57px;
}

.quantity-selector-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    color: black;
    border-radius: 0px 5px 5px 0px;
    border: 2px solid #F9C4D2;
    background-color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.button-right {
    border-radius: 0px 5px 5px 0px;
}

.button-left {
    border-radius: 5px 0px 0px 5px;
}

.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 57px;
    background-color: #F9C4D2;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.fa-x {
    margin-bottom: 150px;
    margin-top: 23px;
    margin-right: 23px;
    font-size: 9px;
}

/* Media Queries TABLET */

@media screen and (max-width: 768px) {
    body, main, header, footer {
        max-width: 768px;
    }

    h1 {
        margin-left: 250px;
    }
    .breadcrumbs {
        display: none;
    }

    .cart {
        height: 1100px;
    }

    .cart-container {
        max-width: 768px;
        padding-top: 50px;
        padding-bottom: 109px;
        height: 1025px;
        
    }

    h2 {
        padding-top: 35px;
        margin-left: 90px;
        font-size: 24px;
    }
    
    .cart-item {
        flex-direction: column;
        height: 400px;
        margin: 0 auto;
        width: 500px;

    }

    
    .cart-item-image {
        width: 104px;
        height: 134px;
        margin: 17px 89px;
    }
    
    .cart-item-background {
        width: 281px;
        margin: 10px 0;
        left: 0;
        box-shadow:  0 4px 4px 0 rgba(0, 0, 0, 0.25);
    
    }
    
    .cart-item-box {
        background-color: #ffe9e9;
        width: 281px;
        left: 100px;
    }
    
    .cart-item-details {
        justify-content: center;
        align-items: center;
        margin: 0;
    
    }
    
    .cart-item-details-left {
        width: 160px;
    }
    
    .cart-item-name {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
        color: #24282a;
    }
    
    .cart-item-description {
        font-size: 16px;
        color: #a7b0b4;
    }
    
    .item-price {
        margin: 31px 0 auto;
        padding-bottom: 20px;
    }

    .cart-item-details-right {
        text-align: end;
    }

    .item-description {
        padding-bottom: 10px;
    }

    
}

/* media queries MOBIL */

@media screen and (max-width: 360px) {
    body, main, header, footer {
        max-width: 360px;
    } 

    .cart-item {
        width: 360px;
    }

    h1 {
        font-size: 30px;
        margin-left: 100px;
    }

    .button.button--payment {
        margin-left: 125px;
    }
}