.carrinho-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.titulo-carrinho {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    padding: 15px 20px;
    border-radius: 10px;
}

.cart-item img {
    width: 100px;
    border-radius: 10px;
}

.cart-item-info {
    flex: 1;
    padding-left: 20px;
}

.cart-item-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #222 !important;
}

.cart-item-price {
    margin-top: 5px;
    font-size: 18px;
    color: #444;
}

.remove-btn {
    background: #d33;
    color: white;
    padding: 10px 15px;
    margin-left: 10px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
}

.remove-btn:hover {
    background: #b00;
}

.cart-summary {
    background: #ececec;
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    color: #222 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-btn {
    background: #5b6f55;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 18px;
    transition: 0.2s;
}

.checkout-btn:hover {
    background: #4a5c46;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart h2 {
    color: #666;
    margin: 20px 0 10px;
}

.empty-cart p {
    color: #999;
    margin-bottom: 30px;
}

.btn-voltar {
    display: inline-block;
    background: #5b6f55;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-voltar:hover {
    background: #4a5c46;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    margin-left: 15px;
}

.qty-btn {
    background: #5b6f55;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.qty-btn:hover {
    background: #4a5c46;
}

.qty-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.cart-item-subtotal {
    font-size: 18px;
    font-weight: 600;
    color: #5b6f55;
    min-width: 100px;
    text-align: right;
    margin-left: 15px;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d33;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: none;
}

.add-to-cart-btn {
    background: #5b6f55;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    margin-top: 10px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.add-to-cart-btn:hover {
    background: #4a5c46;
}

.add-to-cart-btn.added-feedback {
    background: #28a745;
}

.add-to-cart-btn.limit-feedback {
    background: #ffc107;
    color: #333;
}

.notification {
    position: fixed;
    top: 100px;
    right: -300px;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 10000;
    min-width: 250px;
}

.notification.show {
    right: 20px;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #d33;
}

@media (max-width: 992px) {
    .carrinho-container {
        padding: 15px;
        margin: 30px auto;
    }

    .titulo-carrinho {
        font-size: 28px;
    }

    .cart-item {
        padding: 12px 15px;
    }

    .cart-item img {
        width: 80px;
    }

    .cart-item-info {
        padding-left: 15px;
    }

    .cart-item-title {
        font-size: 18px;
    }

    .cart-item-price {
        font-size: 16px;
    }

    .cart-item-quantity {
        margin-left: 10px;
    }

    .cart-item-subtotal {
        font-size: 16px;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .carrinho-container {
        padding: 10px;
        margin: 20px auto;
    }

    .titulo-carrinho {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cart-items-list {
        gap: 15px;
        margin-bottom: 30px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
    }

    .cart-item img {
        width: 100%;
        max-width: 200px;
        align-self: center;
    }

    .cart-item-info {
        padding-left: 0;
        width: 100%;
    }

    .cart-item-title {
        font-size: 18px;
    }

    .cart-item-price {
        font-size: 16px;
    }

    .cart-item-quantity {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .cart-item-subtotal {
        margin-left: 0;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    .remove-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .cart-summary {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        font-size: 18px;
    }

    .checkout-btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .notification {
        right: -100%;
        left: 10px;
        right: 10px;
        min-width: auto;
    }

    .notification.show {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .titulo-carrinho {
        font-size: 20px;
    }

    .cart-item-title {
        font-size: 16px;
    }

    .cart-item-price {
        font-size: 14px;
    }

    .cart-item-subtotal {
        font-size: 16px;
    }

    .cart-summary {
        font-size: 16px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
    }

    .qty-value {
        font-size: 14px;
    }
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart h2 {
    color: #666;
    margin: 20px 0 10px;
}

.empty-cart p {
    color: #999;
    margin-bottom: 30px;
}

.btn-voltar {
    display: inline-block;
    background: #2c5f2d;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-voltar:hover {
    background: #1e4620;
    transform: translateY(-2px);
}

.notification {
    position: fixed;
    top: 100px;
    right: -300px;
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 10000;
    min-width: 250px;
}

.notification.show {
    right: 20px;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: none;
}

.add-to-cart-btn {
    background: #2c5f2d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.add-to-cart-btn:hover {
    background: #1e4620;
    transform: translateY(-2px);
}

.add-to-cart-btn.added-feedback {
    background: #28a745;
}

.add-to-cart-btn.limit-feedback {
    background: #ffc107;
    color: #333;
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .cart-item-img {
        width: 80px;
        height: 80px;
    }

    .cart-item-quantity {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .cart-item-subtotal {
        grid-column: 1 / -1;
        text-align: center;
    }

    .remove-btn {
        grid-column: 1 / -1;
        width: 100%;
        height: 45px;
    }

    .cart-summary {
        text-align: center;
    }

    .checkout-btn {
        width: 100%;
    }
}