/* Fix: Ensure quote-related WooCommerce info notices display as block, not flex */
.woocommerce-info.quote-cart-empty-notice,
#woo-quote-cart-wrapper .woocommerce-info,
#woo-quote-checkout-wrapper .woocommerce-info {
    display: block !important;
    align-items: initial !important;
}
/**
 * Quote Mini Cart Styles
 * Styles for quote items displayed in the WooCommerce mini cart
 */

/* Quote mini cart container */
.woocommerce-mini-cart-quote {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Quote mini cart header */
.quote-mini-cart-header h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quote mini cart list styling */
.quote-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quote-mini-cart-item {
    display: flex;
    align-items: flex-start;
    margin: 0 0 15px 0;
    padding: 0;
    position: relative;
    min-height: 50px;
}

/* Product thumbnail in quote mini cart */
.quote-mini-cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Quote item details */
.quote-mini-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.quote-item-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #333;
    text-decoration: none;
    display: block;
}

.quote-item-name:hover {
    color: #0073aa;
    text-decoration: underline;
}

/* Variation display */
.quote-mini-cart-item .variation {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
    margin: 0;
}

.quote-mini-cart-item .variation .woocommerce-attribute-label {
    font-weight: 600;
}

/* Quantity display */
.quote-mini-cart-item .quantity {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.quote-mini-cart-item .quote-label {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 0.3px;
}

/* Remove button for quote items */
.remove-quote-item-mini {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.remove-quote-item-mini:hover {
    opacity: 1;
    background: #c0392b;
    color: white;
    text-decoration: none;
}

/* Quote mini cart footer */
.quote-mini-cart-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.quote-mini-cart-buttons {
    text-align: center;
}

.quote-mini-cart-buttons .button {
    width: 100%;
    font-size: 12px;
    padding: 8px 15px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.quote-mini-cart-buttons .button:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quote-mini-cart-item img {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    
    .quote-item-name {
        font-size: 12px;
    }
    
    .quote-mini-cart-item .quantity {
        font-size: 11px;
    }
}

/* Integration with existing mini cart styles */
.widget_shopping_cart_content .woocommerce-mini-cart-quote {
    /* Blend well with the existing mini cart layout */
    background: inherit;
}

/* Hide when no quote items */
.woocommerce-mini-cart-quote[style*="display: none"] {
    display: none !important;
}

/* Loading state for remove actions */
.quote-mini-cart-item.removing {
    opacity: 0.5;
    pointer-events: none;
}

.quote-mini-cart-item.removing .remove-quote-item-mini {
    background: #95a5a6;
    cursor: not-allowed;
}
