/* Custom Cart List Styles */
.custom-cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 16px;
}

.custom-cart-empty p {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
}

.custom-cart-list {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

/* Card do produto */
.custom-cart-item {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.custom-cart-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Botão remover */
.custom-cart-item .remove-item {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #dc3545;
    color: #dc3545;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
    transition: all 0.3s ease;
}

.custom-cart-item .remove-item:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

.custom-cart-item .remove-item:active {
    transform: scale(0.95);
}

/* Imagem do produto */
.custom-cart-item .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.custom-cart-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Detalhes do produto */
.custom-cart-item .product-details {
    padding: 16px 52px 16px 16px;
}

.custom-cart-item .product-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0 0 8px 0;
    word-break: break-word;
}

/* Variações */
.product-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.variation-item {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}

.variation-item strong {
    color: #1a1a1a;
}

/* Desktop */
@media (min-width: 769px) {
    .custom-cart-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .custom-cart-item .product-image {
        height: 240px;
    }
    
    .custom-cart-item .product-details {
        padding: 20px 56px 20px 20px;
    }
    
    .custom-cart-item .product-name {
        font-size: 17px;
    }
}

/* Loading state */
.custom-cart-item.removing {
    opacity: 0.5;
    pointer-events: none;
    transform: scale(0.95);
}
