.wishlist-create {
    margin-bottom: 1em;
}
.wishlist-add-btn,
.wishlist-remove-btn {
    background: #f1f1f1;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
    margin: 2px;
}
.wishlist-add-btn:hover {
    background: #d1ffd8;
}
.wishlist-remove-btn:hover {
    background: #ffd1d1;
}

/* Add to wishlist button */
.wishlist-add-btn {
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.wishlist-add-btn.added {
    color: green;
}

.wishlist-add-btn.error {
    color: red;
}

/* ============================================================================
   ENQUIRY SYSTEM STYLES
   ============================================================================ */

/* Enquiry quantity input on product pages */
.enquiry-quantity-input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 10px;
}

/* Enquiry quantity selector (product pages) - matches enquiry list exactly, but white */
.enquiry-quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

.enquiry-qty-decrease,
.enquiry-qty-increase {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.enquiry-qty-decrease:hover,
.enquiry-qty-increase:hover {
    opacity: 0.6;
}

.enquiry-qty-display {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

/* Add to enquiry button */
.add-to-enquiry-btn {
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

/* Enquiry quantity controls (on enquiry page) */
.enquiry-decrease-qty,
.enquiry-increase-qty {
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.enquiry-decrease-qty:hover {
    background: #ffd1d1;
    border-color: #ffaaaa;
}

.enquiry-increase-qty:hover {
    background: #d1ffd8;
    border-color: #aaffaa;
}

.enquiry-quantity-display {
    display: inline-block;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    margin: 0 10px;
}

/* Enquiry remove button */
.enquiry-remove-btn {
    padding: 8px 16px;
    background: #ff4444;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease;
}

.enquiry-remove-btn:hover {
    background: #cc0000;
}

/* Enquiry count badge */
.enquiry-count,
.enquiry-count-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Send wishlist to enquiry button */
.send-wishlist-to-enquiry-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.send-wishlist-to-enquiry-btn:hover {
    background: #45a049;
}

/* Clear enquiry button */


/* Enquiry products list layout */
.enquiry-products-list {
    display: flex;
    flex-direction: column;
}


/* Square image on left */
.enquiry-product-image {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 4px;
}

.enquiry-product-image img,
.enquiry-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product info wrapper */
.enquiry-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* Allow text to wrap */
}

/* Product reference (project_ref ACF field) */
.enquiry-product-ref {
    font-family: Gotham, sans-serif;
    font-size: var(--text-xs);
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: clamp(0.075rem, 0.075rem + 0vw, 0.075rem);
}

.enquiry-product-ref a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.enquiry-product-ref a:hover {
    opacity: 0.7;
}

/* Product name */
.enquiry-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.5px;
}

/* Quantity controls on the right */
.enquiry-product-item .enquiry-product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #000;
}

/* Plus and minus buttons - no circle background */
.enquiry-product-item .enquiry-decrease-qty,
.enquiry-product-item .enquiry-increase-qty {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    font-size: 20px;
    cursor: pointer;
    color: #000;
    padding: 0;
    transition: opacity 0.3s ease;
}

.enquiry-product-item .enquiry-decrease-qty:hover,
.enquiry-product-item .enquiry-increase-qty:hover {
    opacity: 0.6;
}

.enquiry-product-item .enquiry-quantity-display {
    color: #000;
}

/* Remove button (X) in top right - hidden by default */
.enquiry-product-item .enquiry-remove-btn {
    flex-shrink: 0;
    background: transparent;
    color: #000;
    border: none;
    width: auto;
    height: auto;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0;
}

.enquiry-product-item:hover .enquiry-remove-btn {
    opacity: 1;
}

.enquiry-product-item .enquiry-remove-btn:hover {
    opacity: 0.6;
}

/* Update product item to use Flexbox for better layout */
.enquiry-product-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border: none;
    border-top: 1px solid #000;
    position: relative;
    transition: all 0.3s ease;
}

/* Note container - positioned between product info and quantity */
.enquiry-note-container {
    flex: 1;
    position: relative;
    min-width: 0;
}

/* Note textarea field */
.enquiry-note-field {
    width: 100%;
    min-height: 40px;
    height: 40px;
    padding: 10px 40px 10px 12px;
    border: none;
    border-radius: 5px;
    background: rgba(18, 40, 76, 0.05); /* #12284C at 5% opacity */
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    resize: none;
    overflow: hidden;
    overflow-y: auto; /* Allow scrolling if collapsed with long text */
    transition: height 0.2s ease;
    box-sizing: border-box;
}

.enquiry-note-field::placeholder {
    color: #999;
}

.enquiry-note-field:focus {
    outline: none;
    background: rgba(18, 40, 76, 0.05);
}

/* Save button (tick icon) */
.enquiry-note-save {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px 8px;
    transition: opacity 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enquiry-note-save img {
    width: 12px;
    height: 9px;
    display: block;
}

.enquiry-note-save:hover {
    opacity: 0.6;
}

/* Empty message */
.enquiry-empty-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Send Wishlist to Enquiry Button */
.send-wishlist-to-enquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #000;
    border-radius: var(--radius-full);
	font-family: Gotham;
    font-size: var(--text-xs);
    font-weight: 700;
	letter-spacing: clamp(0.075rem, 0.075rem + 0vw, 0.075rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.send-wishlist-to-enquiry-btn i {
    font-size: 24px;
    color: #000;
    transition: color 0.3s ease;
}

.send-wishlist-to-enquiry-btn:hover {
    background: var(--primary-10);
}

/* ============================================================================
   WISHLIST HEART ICON STYLING
   ============================================================================ */

/* Heart icon when product is in a wishlist */
.save-product-icon.in-wishlist,
.open-wishlist-popup i.in-wishlist {
    color: var(--secondary) !important;
    fill: var(--secondary) !important; /* For SVG icons */
}

/* Wishlist heart indicators in popup */
.wishlist-heart-indicator {
    display: none !important;
    opacity: 0 !important;
}

.wishlist-heart-indicator.active {
    display: inline-flex !important; /* Better for icons */
    opacity: 1 !important;
    color: var(--secondary) !important;
    visibility: visible !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .enquiry-quantity-display {
        min-width: 0 !important;
    }
    .enquiry-product-image {
        display: none;
    }
    .enquiry-product-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .enquiry-note-container {
        width: 100%;
        flex-basis: 100%;
        order: 10; /* Move notes below everything on mobile */
        margin-top: 10px;
    }
    .enquiry-product-quantity {
        order: 1;
    }
    .enquiry-remove-btn {
        order: 2;
    }
}
