/* ================================================================
MIRACLE LIQUORS — WEBSHOP LAYOUT & PRODUCTGRID
Bestand: custom-webshop.css
================================================================ */

/* ================================================================
1) LAYOUT — Shopstructuur met filters + grid
================================================================ */

.ml-shop-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

.ml-shop-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.ml-shop-content {
    flex: 1 1 auto;
}

@media (max-width: 960px) {
    .ml-shop-layout {
        flex-direction: column;
    }

    .ml-shop-sidebar {
        width: 100%;
    }
}

/* ================================================================
2) FILTERS — WOOF Plugin Styling
================================================================ */
.woof_sid_auto_shortcode .woof_container {
    border-radius: 6px;
    background: #f8f8f6;
    padding: 16px;
    width: 100% !important;
}

.woof_container_inner h4 {
    font-family: "Fauna One", serif;
    font-weight: 600;
    color: #2c3f38;
    margin-bottom: 14px;
    font-size: 1rem;
}

.ml-shop-filter label,
.woof_container_inner label {
    font-family: "Fauna One", serif;
    color: #375248;
    display: block;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.woof_list_checkbox li div {
    margin-top: 0;
}

.icheckbox_square-aero,
.iradio_square-aero {
    width: 15px;
    height: 15px;
    background: url("/wp-content/plugins/woocommerce-products-filter/js/icheck/skins/square/aero.png") no-repeat rgba(55, 82, 72, 0.06);
    cursor: pointer;
}

/* WOOF Submit button */
.woof_submit_search_form {
    background-color: #2c3f38;
    color: #ffc857 !important;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 14px;
    transition: background-color .3s ease;
}

.woof_submit_search_form_container {
    overflow: hidden;
    clear: both;
    margin: 9px 0 15px 0;
    display: block;
    justify-content: space-between;
}

.woof_submit_search_form_container:empty {
    display: none
}

.woof_submit_search_form:hover {
    background-color: #ffff00;
}

/* ================================================================
3) PRODUCTGRID — algemene structuur
================================================================ */
.ml-product-grid ul.products {
    gap: 24px;
    display: flex;
    flex-wrap: wrap;
}

/* Productkaart */
.ml-product-grid ul.products li.product {
    background: #e7ecea;
    border-radius: 8px;
    padding: 0 0 16px;

    transition: transform .15s ease, box-shadow .15s ease;
}

.ml-product-grid ul.products li.product:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
}

/* Productafbeelding */
.ml-product-grid ul.products li.product img {
    width: 100%;
    height: auto;
    border-radius: 7px;
    display: block;

    box-shadow: 0px 7px 18px -6px #375248;
    margin-bottom: 12px !important;
}

/* Grid lay-out verbeteren */
.woocommerce ul.products {
    display: block;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

/* Titel */
.ml-product-grid ul.products li.product h2.woocommerce-loop-product__title {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(0.95rem, 0.65rem + .5vw, 1.1rem);
    font-weight: 600;
    line-height: 1.3;
    color: #2c3f38;
    margin: 0 0 8px;

    text-align: center;

    padding: 6px 8px;
}

/* Prijs — verbergen op Webshop */
.ml-product-grid--webshop ul.products li.product .price {
    display: none;
}

/* ================================================================
4) CTA 'Meer info' onder productkaart
================================================================ */
.ml-card-cta-wrap {
    margin-top: 0;
}

.ml-card-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0.75rem 1.25rem;
    margin: 0 10%;
    border-radius: 999px;
    background-color: transparent;
    color: #375248;
    border: 1px solid #375248;
    font-family: "Fauna One", serif;
    font-size: .85rem;
    font-style: none;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, transform .06s ease;
    margin-top: 1rem;
}

.ml-card-cta:hover {
    background-color: #375248;
    color: #ffc857;
    transform: translateY(-1px);
}









/* ================================================================
6) ARCHIVE HEADER (optioneel)
================================================================ */
.mlp-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}





.mlp-archive__title {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    color: #375248;
    font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
    border-bottom: 3px solid #ffc857;
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.mlp-archive__intro {
    font-family: "Fauna One", serif;
    color: #253932;
    margin-bottom: 18px;
}


/* ================================================================
5) ZOEKVELD (boven filters)
================================================================ */
.woocommerce-product-search {
    display: flex;

    gap: 10px;
    margin-bottom: 24px;
    max-width: 600px;
}

.woocommerce-product-search .search-field {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: "Fauna One", serif;
    background: #f8f5f0;
    color: #375248;
}

.woocommerce-product-search button {
    background: #375248;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .3s ease;
}

.woocommerce-product-search button:hover {
    background: #2e3e35;
}

@media (max-width: 768px) {
    .woocommerce-product-search {
        flex-direction: column;
    }

    .woocommerce-product-search button {
        width: 100%;
    }
}