.entry-title {
    color: var(--grayscale-900);
    font-size: var(--fs-title) !important;
    margin-bottom: 0;
    text-align: center !important;
}

.cart-container {
    border: none !important;

    thead {
        .product-remove {
            width: 40px;
        }

        .product-thumbnail {
            width: 100px;
        }

        tr {
            th {
                color: var(--grayscale-900);
                font-weight: var(--fw-bold);
                font-size: var(--fs-text);
            }
        }
    }

    tbody {
        .product-remove {
            a.remove {
                color: var(--ocre-600) !important;
                transition: all 0.3s ease;

                &:hover {
                    color: var(--grayscale-50) !important;
                    background-color: var(--ocre-600);
                }
            }

        }

        .product-thumbnail {
            a {
                img {
                    width: 100px;
                    height: auto;
                }
            }
        }

        .product-quantity {
            .cart-quantity-controls {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                background-color: var(--ocre-600);
                border-radius: var(--radius-md);
                padding: 0.25rem 0.5rem;
                width: fit-content;

                button {
                    background: none;
                    border: none;
                    cursor: pointer;
                    padding: 0.25rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.3s ease;

                    img {
                        width: 16px;
                        height: 16px;
                    }

                    &:hover {
                        opacity: 0.8;
                    }
                }

                .cart-qty {
                    color: var(--grayscale-50);
                    font-weight: var(--fw-bold);
                    min-width: 24px;
                    text-align: center;
                }

                .ajax-loader {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    min-width: 20px;
                    min-height: 20px;

                    .spinner {
                        animation: spin 1s linear infinite;
                    }

                    svg path {
                        fill: var(--grayscale-50);
                    }
                }
            }
        }
    }
}

/* Animation du spinner */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ------------ Panier vide ---------------- */

.return-to-shop {
    text-align: center;
}

/* ------------ Related Products -------------- */
.cross-sells {
    h2 {
        color: var(--grayscale-900);
        font-size: var(--fs-title);
        margin-bottom: var(--spacing-md);
    }

    .products {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
        flex-direction: row;
        gap: var(--spacing-xl);
        margin: 0 !important;

        &::before,
        &::after {
            display: none !important;
        }

        .product {
            background-color: var(--grayscale-50);
            margin: 0 !important;
            padding: var(--spacing-xs) !important;
            width: 100% !important;

            .product-card {
                .product-card-image {
                    img {
                        min-height: 200px;
                        max-height: 250px;
                        aspect-ratio: 2 / 1;
                        object-fit: cover;
                    }
                }

                .product-card-content {
                    padding: var(--spacing-md);
                    display: flex;
                    flex-direction: column;
                    gap: var(--spacing-md);
                    color: var(--grayscale-900);

                    .product-card-footer {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        .product-card-price-wrapper {
                            .product-card-price {
                                font-weight: var(--fw-bold);
                                font-size: var(--fs-button);
                            }

                            .product-card-weight {
                                font-size: var(--fs-subtext);
                                color: var();
                            }
                        }

                        .product-card-button {
                            padding: var(--spacing-sm) var(--spacing-md);
                            background-color: var(--ocre-600);
                            border-radius: var(--radius-full);
                            transition: 0.3s all ease;

                            img {
                                transition: transform 0.3s ease;
                                margin: 0 !important;
                            }

                            &:hover {
                                background-color: var(--ocre-900);

                                img {
                                    transform: translateX(2px);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}



/* ------------ Total Cart ----------------*/
.cart_totals {
    h2 {
        color: var(--grayscale-900);
        font-size: var(--fs-title);
        margin-bottom: var(--spacing-md);
    }

    .shop_table.shop_table_responsive {
        border: none;
    }
}