/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */


/* Wrapper */
.checkout-all-products {
    margin: 24px 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

/* Title */
.checkout-all-products h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

/* List */
.checkout-product-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Row */
.checkout-product-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-product-row:last-child {
    border-bottom: none;
}

/* Product name */
.checkout-product-row .product-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

/* Price */
.checkout-product-row .product-price {
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
    white-space: nowrap;
}

/* Add to cart button */
.checkout-product-row .button {
    background: #000;
    color: #fff;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.checkout-product-row .button:hover {
    background: #111;
}

/* Woo Blocks compatibility */
.wc-block-checkout__form .checkout-all-products {
    max-width: 100%;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .checkout-product-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .checkout-product-row .product-price {
        text-align: left;
    }

    .checkout-product-row .button {
        width: 100%;
    }
}

.custom-remove-item-btn:hover {
    background-color: #ff0000 !important;
    color: #ffffff !important;
    transition: 0.2s;
}

.wc-block-components-order-summary-item {
    align-items: center !important; /* Centers the X with the text and image */
}