.cwpf-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.cwpf-sidebar {
    width: 20%;
}

.cwpf-sidebar-desktop {
    list-style-type: none !important;
    padding: 0;
}

.cwpf-sidebar-desktop li a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.cwpf-sidebar-desktop li a:hover {
    background: #e6f1ec;
    color: #008c45;
}

.cwpf-products {
    width: 80%;
}

.cwpf-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/*.cwpf-product {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}*/
.cwpf-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

.cwpf-product {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s;
}

.cwpf-product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cwpf-product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.cwpf-product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0 8px;
	color: #000;
}

.cwpf-product-price {
    font-size: 20px;
    font-weight: bold;
}

.cwpf-product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cwpf-cart-button {
    background: #008c45;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}
.cwpf-favorite-button:hover {
    background: #eee;
}

.cwpf-cart-button {
    background: #008c45;
    color: white;
}

.cwpf-cart-button:hover {
    background: #006c34;
}

.cwpf-compare-link {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    margin-top: 4px;
    display: block;
}

.cwpf-icon-cart::before {
    content: "🛒";
}

.cwpf-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.cwpf-button {
    background-color: #008c45;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: background 0.3s;
}

.cwpf-button:hover {
    background-color: #006d36;
}
.cwpf-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 14px;

    position: fixed; /* Fixed positie voor scrollen */
    bottom: 20px;
    left: 50%;
	width: 50%;
    transform: translateX(-50%); /* Centreer de melding horizontaal */
    z-index: 9999; /* Zorg ervoor dat het boven andere elementen komt */
    
    opacity: 0;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, height 0.5s ease;
}

/* Wanneer zichtbaar */
#cwpf-message.show {
    opacity: 1;
    height: auto;
	width: 50%;
    visibility: visible;
}

/* Loader */
.cwpf-loader {
    text-align: center;
    font-weight: bold;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cwpf-container {
        flex-direction: column;
    }

    .cwpf-sidebar-desktop {
        display: none;
    }

    .cwpf-sidebar-mobile {
        display: block;
        margin-bottom: 20px;
    }

    .cwpf-products {
        flex: 1 1 100%;
    }
}
@media (min-width: 768px){
	.cwpf-sidebar-mobile {
		display:none;
	}
}

@media (max-width: 768px) {
    .cwpf-product {
        padding: 12px;
    }

    .cwpf-product-title {
        font-size: 14px;
    }

    .cwpf-product-price {
        font-size: 18px;
    }

    .cwpf-product-actions {
        flex-direction: row;
        gap: 6px;
    }

    .cwpf-favorite-button, .cwpf-cart-button {
        font-size: 20px;
        padding: 6px;
    }

    .cwpf-compare-link {
        font-size: 12px;
    }
	
	.cwpf-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 14px;

    position: fixed; /* Fixed positie voor scrollen */
    bottom: 20px;
    left: 50%;
	width: 80%;
    transform: translateX(-50%);
    z-index: 9999; /* Zorg ervoor dat het boven andere elementen komt */
    
    opacity: 0;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, height 0.5s ease;
}
}

@media (max-width: 480px) {
    .cwpf-product {
        padding: 10px;
    }

    .cwpf-product-title {
        font-size: 13px;
    }

    .cwpf-product-price {
        font-size: 16px;
    }

    .cwpf-favorite-button, .cwpf-cart-button {
        font-size: 18px;
    }

    .cwpf-compare-link {
        font-size: 11px;
    }
}
