/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

.inner_product {
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* or center for vertical centering */
}

.inner_product img {
    height: 500px !important;
    width: auto !important;
    object-fit: contain !important;
    display: inline-block;
    margin: 0 auto;
    max-width: 100% !important;
}

.woocommerce-cart .product-thumbnail img,
.woocommerce-mini-cart .product-thumbnail img {
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

/* Limit image height in WooCommerce mini-cart dropdown widget */
.woocommerce-mini-cart .woocommerce-mini-cart-item img,
.widget_shopping_cart_content .woocommerce-mini-cart-item img {
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

/* Limit image height in WooCommerce Cart Block */
.wc-block-cart-item__image img {
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

/* Weinshop Submenu Wrapper - Minimal styling to let Enfold handle the rest */
.weinshop-submenu-wrapper {
    width: 100%;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    clear: both;
    text-align: center;
}

/* Ensure the menu displays properly on product pages */
.single-product .weinshop-submenu-wrapper {
    clear: both;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* Let Enfold's existing styles handle the menu appearance */
/* The menu will use the same styles as the homepage menu */

/* Remove top padding from product page template */
.single-product .template-shop {
    padding-top: 0px !important;
}

/* Add padding-top to product */
.product {
    padding-top: 100px !important;
}

/* Responsive adjustments for Weinshop submenu */
@media (max-width: 768px) {
    .weinshop-submenu-wrapper {
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .weinshop-submenu-wrapper .av-subnav-menu {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .weinshop-submenu-wrapper .av-subnav-menu li {
        width: 100%;
    }
    
    .weinshop-submenu-wrapper .av-subnav-menu li a {
        width: 100%;
        padding: 12px 15px;
    }
}