/**
 * Public styles for JG Wishlist
 */

.jgw-wishlist-buttons {
    margin: 20px 0;
}

.jgw-add-to-wishlist,
.jgw-view-wishlist {
    margin-right: 10px;
}

.jgw-back-in-stock {
    margin-top: 10px;
    display: block;
}

.jgw-wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.jgw-wishlist-items {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.jgw-wishlist-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
}

.jgw-item-image img {
    width: 100%;
    height: auto;
}

.jgw-item-details h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.jgw-item-actions {
    margin-top: 15px;
}

.jgw-item-actions .button {
    margin-right: 10px;
}

.jgw-quote-form-container {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

.jgw-quote-form p {
    margin-bottom: 15px;
}

.jgw-quote-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.jgw-quote-form input[type="text"],
.jgw-quote-form input[type="email"],
.jgw-quote-form input[type="tel"] {
    width: 100%;
    max-width: 400px;
    padding: 8px;
}

/* Modal */
.jgw-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.jgw-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.jgw-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.jgw-modal-close:hover {
    color: #000;
}

.jgw-posts-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.jgw-post-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
}

.jgw-post-image img {
    width: 100%;
    height: auto;
}


