/*
Theme Name:   Rollipop
Theme URI:    https://www.hagent.ch/
Description:  Child Theme fo Twenty Twenty One for Rollipop
Author:       Sandro Hagen
Author URI:   https://www.hagent.ch
Template:     twentytwentyone
Version:      1.0.0
Text Domain:  twentytwentyonechild
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* hide plus-minus buttons in menu (overwrite elementor Behavior) */
button.sub-menu-toggle {
	display:none;
}


/* overwrite yiith product options styles */

h3.wapo-addon-title {
    margin-bottom: 10px;
}

.yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-checkbox .yith-wapo-option label {
    margin-left: 0;
}

.wapo-addon-description {
    margin-bottom: 10px;
}



/* protection utilities add on */
#yith-wapo-option-1-0 .checkbox-button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* roller shoes add on */
#yith-wapo-addon-2 {
    margin-bottom: .5rem;
}

/* overwrite total price table */
#wapo-total-price-table {
    margin-bottom: .5rem;
}
#wapo-total-price-table table,
#wapo-total-price-table table th,
#wapo-total-price-table table td {
    margin:0;
    padding:0;
    border: 0;
}



/* overwrite table variations styles */

a.reset_variations {
    display: none !important;
}

table.variations td,
table.variations th  {
    border:none;
    padding: 0;
}

table.variations label {
    font-family: "Barlow", sans-serif;
    font-size: var( --e-global-typography-1f0d1b6-font-size );
}

table.variations th.label {
    width: 50%;
    text-align: left;
}

table.variations #pa_level {
    width: 100%;
    margin-right: 0;
}

.single_variation_wrap .woocommerce-variation-price {
    margin: 0;
}

/* overwrite single add to cart button */
button.single_add_to_cart_button {
    width: 100%;
}

/* stock display */
.elementor-add-to-cart .woocommerce-variation-availability {
    display:none;
}

.elementor-add-to-cart .stock {
    border-radius: 5px;
    padding: .5rem 1rem;
    margin: 0 0 .5rem 0;
    text-align: center;
}

.elementor-add-to-cart .in-stock {
    color: #57722D;
    border: 1px solid #ADCE71;
    background-color: #E7EFD8;
}
.elementor-add-to-cart .out-of-stock {
    color: #AA1010;
    border: 1px solid #AA1010;
    background-color: #F3E1E1;
}


/* give margins to headlines in accordeon */
.elementor-accordion h2,
.elementor-accordion h3,
.elementor-accordion h4,
.elementor-accordion h5,
.elementor-accordion h6 {
    margin: 1rem 0;
}

/* give padding to total order sum label */
#wapo-total-price-table table tr.wapo-total-order th {
    padding-right: .5rem;
}

/* woocommerce message buttons */

.woocommerce-notices-wrapper .button,
.woocommerce-notices-wrapper .button:link,
.woocommerce-notices-wrapper .button:visited {
    padding: .5rem 1rem;
    border: 2px solid black;
    color: white;
    background-color: black;
    text-decoration: none !important;
}
.woocommerce-notices-wrapper .button:hover,
.woocommerce-notices-wrapper .button:active {
    background-color: white;
    color: black;
    text-decoration: none !important;
}

/* change mini cart width */
.elementor-menu-cart__wrapper .elementor-menu-cart__main {
    width: 600px;
}

/*
.woocommerce table.shop_table td.product-name {
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}
.woocommerce table.shop_table td.product-name dl.variations * {
    font-weight: 400;

}

.woocommerce-checkout-review-order-table dl.variation dd,
.woocommerce-checkout-review-order-table dl.variation dt {

}
*/

.yith-wapo-container {
	margin-bottom: 20px;
}

/* try to overwrite fucking image height inline style of eleemntor */
.elementor-widget-image img {
	height: auto !important;
}
