/*
 Theme Name: Chucks Child
 Template: chucks
*/

/* ========================================
   BASIS RESET
======================================== */
body {
    margin: 0;
    padding: 0;
}

/* ========================================
   LOGO FIX
======================================== */
#Top_bar .logo img,
#Top_bar .logo img.logo-main,
#Top_bar .logo img.logo-sticky {
    max-height: 50px;
    height: auto;
}

/* ========================================
   SEARCH BAR
======================================== */
#Top_bar .search_wrapper input[type="search"] {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 14px;
}

#Top_bar .search_wrapper input[type="search"]:focus {
    border-color: #000;
    outline: none;
}

/* ========================================
   INPUTS
======================================== */
input, textarea, select {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 10px;
}

input:focus, textarea:focus, select:focus {
    background: #f5f5f5;
    border-color: #007cba;
    outline: none;
}

/* ========================================
   PRODUCT CARDS
======================================== */
.woocommerce ul.products li.product {
    border: 1px solid #eee;
    padding: 10px;
    transition: 0.2s;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ========================================
   MOBILE GRID
======================================== */
@media (max-width: 768px){

    .woocommerce ul.products li.product {
        width: 48%;
        float: left;
        margin: 1%;
        box-sizing: border-box;
    }

    .woocommerce ul.products li.product:nth-child(2n+1) {
        clear: both;
    }

    .woocommerce ul.products li.product img {
        width: 100%;
        height: auto;
    }

}

/* ========================================
   BUTTONS
======================================== */
.size-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
}

.size-btn:hover,
.size-btn.active {
    background: #000;
    color: #fff;
}

/* ========================================
   VERBERG ONNODIGE ELEMENTEN
======================================== */
.product-category,
ul.products li.product-category,
.widget_layered_nav,
.woocommerce-ordering + form {
    display: none;
}

/* ========================================
   WORKSHOP CONTENT
======================================== */
.workshop-beschrijving {
    max-width: 600px;
    line-height: 1.6;
}

/* ========================================
   WOOCOMMERCE FIXES
======================================== */
.mwb-booking-cost-wrapper,
.woocommerce-tabs .additional_information_tab {
    display: none;
}
/* =========================
   FORCE OVERRIDE FIX
========================= */

/* LOGO */
#Top_bar .logo img,
#Top_bar .logo img.logo-main,
#Top_bar .logo img.logo-sticky {
    max-height: 50px !important;
    height: auto !important;
}

/* PRODUCT GRID MOBILE */
@media (max-width: 768px){

    .woocommerce ul.products li.product {
        width: 48% !important;
        max-width: 48% !important;
        float: left !important;
        margin: 1% !important;
        clear: none !important;
    }

    .woocommerce ul.products li.product:nth-child(2n+1){
        clear: both !important;
    }

}
/* =========================
   SELECT FIX (zichtbaar maken)
========================= */

.woocommerce select,
.woocommerce select:focus,
.woocommerce select:active {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

/* dropdown opties */
.woocommerce select option {
    background: #ffffff !important;
    color: #000000 !important;
}

/* highlight zichtbaar maken */
.woocommerce select option:checked {
    background: #007cba !important;
    color: #ffffff !important;
}