body {
    background-color: #4C2323;
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    font-family: 'Georgia', serif;
}

.flex {
    display: flex;
    justify-content: space-between;
}

a{text-decoration: none;
color: #E29C51;
}

#toten {
    width: 14%;
    height: 100%;
    margin-top: 30px;
    margin-right: 2px;
    font-size: 1.7vw;
    border: solid 3px #E29C51;
    border-radius: 55px;
}

#img5{ margin-left: 3.4%;}

#aa{display: flex; justify-content: center; margin-top: 10px; height: 80%;}


#header {
    width: 90%;
    margin-left: 5%;
    height: 50px;
}

#img1 {
    width: 200px;
    height: 200px;
    position: relative;
    bottom: 80.9%;
}

#linha1 {
    width: 100%;
    height: 5px;
    margin-top: 51.8px;
    background-color: #E29C51;
}

#fundoo {
    background-image: url(image\ 8.png);
    width: 100%;
    height: 800px;
    background-color: black;
    padding-top: 60px;
    border: 5px solid #E29C51 ;
    border-top: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: hsl(42, 35%, 85%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-card {
    width: 100%;
    max-width: 900px;
    background-color: hsl(28, 20%, 12%);
    border: 1px solid hsl(42, 25%, 35%);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.cart-header {
    background-color: #E29C51 ;
    padding: 30px;
    text-align: center;
}

.cart-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: hsl(28, 15%, 8%);
    margin: 0;
}

.cart-content {
    padding: 30px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid hsl(42, 25%, 35%);
}

.table-header div {
    font-size: 1.2rem;
    font-weight: 600;
    color: #E29C51;
}

.col-quantity,
.col-total {
    text-align: center;
    min-width: 120px;
}

.col-actions {
    min-width: 60px;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    background-color: hsl(28, 25%, 18%);
    border: 1px solid hsl(42, 25%, 35%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.item-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(42, 35%, 85%);
    margin-bottom: 5px;
}

.item-info p {
    font-size: 0.9rem;
    color: hsl(42, 20%, 65%);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid hsl(42, 25%, 35%);
    background-color: hsl(28, 25%, 18%);
    color: hsl(42, 35%, 85%);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: #E29C51 ;
    color: hsl(28, 15%, 8%);
}

.quantity-input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: 1px solid hsl(42, 25%, 35%);
    background-color: hsl(28, 25%, 18%);
    color: hsl(42, 35%, 85%);
    border-radius: 4px;
    font-size: 0.9rem;
}

.quantity-input:focus {
    outline: none;
    border-color: #E29C51;
}

.item-total {
    text-align: center;
    min-width: 120px;
}

.item-total span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #E29C51;
}

.remove-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #dc2626;
    background-color: transparent;
    color: #dc2626;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background-color: #dc2626;
    color: white;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid hsl(42, 25%, 35%);
}

.conclude-btn {
    background-color: #E29C51;
    color: hsl(28, 15%, 8%);
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.conclude-btn:hover {
    background-color: hsl(42, 55%, 50%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.total-display {
    background-color: #E29C51;
    color: hsl(28, 15%, 8%);
    padding: 15px 25px;
    border-radius: 8px;
}

.total-display span {
    font-size: 1.3rem;
    font-weight: bold;
}

/* Responsividade */
@media (max-width: 768px) {
    .cart-card {
        margin: 10px;
    }
    
    .cart-header h1 {
        font-size: 2rem;
    }
    
    .cart-content {
        padding: 20px;
    }
    
    .table-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .cart-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .conclude-btn,
    .total-display {
        width: 100%;
        text-align: center;
    }
}

#aa{display: flex; justify-content: center; height: 80%; margin-top: 10px; }


.a1, .a2, .a3, .a4{background-color: white; transition: 0.3s;}
.a11, .a22, .a33, .a44{color: #603E2A; transition: 0.3s;}

.a1:hover{
    background-color: #603E2A;
}
.a1:hover .a11{
    color: white;
}

.a2:hover{
    background-color: #603E2A;
}
.a2:hover .a22{
    color: white;
}

.a3:hover{
    background-color: #603E2A;
}
.a3:hover .a33{
    color: white;
}

.a4:hover{
    background-color: #603E2A;
}
.a4:hover .a44{
    color: white;
}