/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

a:focus, button:focus, input:focus {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}


header .elementor-icon:hover {
    border: 1px solid #FFF !important
}
header .sub-menu.elementor-nav-menu--dropdown.sm-nowrap {
    background: url('https://amicia.moin-ws.cloud/weinhaus-graf/wp-content/uploads/2025/03/bg-menu.webp');
	padding: 33px 20px;
}
#breadcrumbs {
color: #c8693a;
}

/*Product Tabs*/
.tabs-product .e-n-tabs-heading {
border-bottom: 1px solid #e6e6e6;
        padding: 0 0 14px;
}
.tabs-product .e-n-tabs-heading .e-n-tab-title[aria-selected="true"]:after,
.tabs-product .e-n-tabs-heading .e-n-tab-title[aria-selected="true"]:before {
    opacity: 1 !important;
    transform: scaleX(1) !important;
    transition: .3s cubic-bezier(.22,.75,.39,.92) !important;
}
.tabs-product .e-n-tabs-heading .e-n-tab-title:before {
    margin-right: 8px;
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 11px;
    height: 1px;
    margin-top: 0;
    transform-origin: right;
    transform: scaleX(0);
    opacity: 0;
    background-color: currentColor;
}
.tabs-product .e-n-tabs-heading .e-n-tab-title:after {
    margin-left: 8px;
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 11px;
    height: 1px;
    margin-top: 0;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    background-color: currentColor;
}
.tabs-product .e-n-tabs-heading .e-n-tab-title:hover:after,
.tabs-product .e-n-tabs-heading .e-n-tab-title:hover:before {
    opacity: 1 !important;
    transform: scaleX(1) !important;
    transition: .3s cubic-bezier(.22,.75,.39,.92) !important;
}


/*Shop Page*/
.category-shop .img-geral {
    position: relative;
    cursor: pointer;
    height: 500px
}
.category-shop .img-geral .attachment-full.size-full {
    height: 500px !important;
    object-fit: cover;
}
.category-shop .img-geral:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250,249,244,0);
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.category-shop .product.type-product:hover .img-geral:after {
    background: rgba(250,249,244,0.7);
}
.category-shop .img-geral .attachment-full.size-full {
    height: 500px !important;
}	
.category-shop .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    background-color: #2B282400;
    font-family: "Roboto", Sans-serif;
    font-size: 30px;
    font-weight: 500;
    fill: #2B2824;
    color: #2B2824;
    transition-duration: 0.3s;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 0px 0px 0px 0px;
    padding: 15px 15px 15px 15px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 40px));
    z-index: 100;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.category-shop li:hover .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    background-color: transparent;
    color: #161616;
    border-color: 161616;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: .3s
}
.category-shop li:hover .button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover {
    background-color: #C8693A;
    color: #FFF;
    border-color:#C8693A;
}
.category-shop .woocommerce-result-count {
    font-size: 14px;
    color: #817c7b;
    font-family: Spectral, serif;
    line-height: 25px;
    font-weight: 400;
    color: #817c7b;
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.category-shop .woocommerce-ordering select.orderby {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: none;
    padding: 8px 40px 8px 12px;
    font-family: 'Spectral', serif;
    font-size: 16px;
    color: #817c7b;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}
.category-shop .woocommerce-ordering select.orderby:focus {
    outline: none;
    box-shadow: none;
    border-color: #ccc;
}


/**/
.principal-product,
.principal-product .elementor-widget-image {
    position: relative;
}
.principal-product .elementor-widget-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(250,249,244,0);
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.principal-product:hover .elementor-widget-image::after {
    background: rgba(250,249,244,0.7);
}
.principal-product .elementor-widget-wc-add-to-cart a:nth-of-type(1){
    display: none
}
.principal-product .elementor-widget.elementor-widget-wc-add-to-cart {
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #2B2824;
    padding: 15px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 40px));
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.principal-product:hover .elementor-widget.elementor-widget-wc-add-to-cart{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}
.principal-product:hover .elementor-widget.elementor-widget-wc-add-to-cart .elementor-button:hover {
fill: #FFF !important; 
color: #FFF !important;
}
.no-borda .shop_table.shop_table_responsive {
    border: none !important
}

textarea:focus,
input:focus,
select:focus,
a:focus,
.new-empty-car .woocommerce-message:focus {
    box-shadow: 0 0 0 0;
    border: 0 none;
    outline: 0;
} 
.coupon-checkout .elementor-jet-checkout-coupon-form .woocommerce-info:before {
    display: none
}
.coupon-checkout .woocommerce-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px 30px;
    margin-bottom: 30px;
    border: 1px solid #e6e6e6;
}

.new-empty-car div.woocommerce-message::before {
    display: none
}

.new-empty-car .woocommerce-message {
    background: none !important;
    border: 1px solid #e6e6e6;
    padding: 20px 30px !important;
    margin-bottom: 30px !important;
    justify-content: center;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    font-family: Spectral, serif;
    font-size: 17px;
    line-height: 25px;
    font-weight: 400;
    color: #817c7b;
    
}
.new-empty-car .restore-item {
font-family: Spectral, serif;
    font-size: 17px;
    line-height: 25px;
    font-weight: 400;
    color: #2b2824;
}
.new-empty-car .restore-item:hover{
    color: #c8693a
}


.elementor-menu-cart__footer-buttons {
    position: relative 
}
.elementor-menu-cart__footer-buttons:before {
    content: 'Hinweis: Mindestbestellmenge von 6 Flaschen';
    font-size: 12px
}


/* Ocultar o texto original e adicionar o novo via CSS */
button#place_order[name="woocommerce_checkout_place_order"] {
    font-size: 0 !important;
    min-width: 300px !important;
    padding: 27px 137px !important;
    position: relative !important;
    margin-top: 30px
}
button#place_order[name="woocommerce_checkout_place_order"]:before {
    content: "Jetzt wird kostenpflichtig bestellt" !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    white-space: nowrap !important;
}
@media (max-width: 768px) {
    button#place_order[name="woocommerce_checkout_place_order"] {
        min-width: 100% !important;
    }   
    button#place_order[name="woocommerce_checkout_place_order"]:before {
        font-size: 13px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
}
@media (max-width: 480px) {
    button#place_order[name="woocommerce_checkout_place_order"]:before {
        font-size: 12px !important;
    }
}

.order-actions--heading,
.woocommerce-button.button.view.order-actions-button {
    display: none
}