/*
Theme Name: Variations Child
Author: Raul Sammelselg
Template: variations
Author URI: https://raulsam.ee
Description: Variations is a block theme and hopefully the last theme you will even have to install.  It comes with many different templates and block patterns to make creating a website easy.  
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 4.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: variations-child
*/


/* Import parent theme styles */
@import url("../variations/style.css");

:root {
    --th-color-1: #DDFCAD;
    --th-color-2: #C8E087;
    --th-color-3: #95A472;
    --th-color-4: #82846D;
    --th-color-5: #646165;
}

body .mx_clean_header_background {
    background: #ffffffcc !important; /* Replace with your desired background */
}

.remove-header-padding {
    margin: -1.6rem 0 !important;
}

.wp-block-site-title a {
    text-decoration: none !important;
    word-break: keep-all;
    white-space: nowrap;
}

body .wp-block-navigation__responsive-container-content ul li {
    text-align: center;
    width: 100%;
}

body .wp-block-navigation__responsive-container-content ul li a {
    white-space: nowrap;
}

/* SHOP */

html .mini-cart-contents-is-style-greeni-style .wp-block-woocommerce-mini-cart-checkout-button-block, html .mini-cart-contents-is-style-greeni-style .wp-block-woocommerce-mini-cart-shopping-button-block, html .mini-cart-contents-is-style-greeni-style .wp-block-woocommerce-mini-cart-cart-button-block {
    border-radius: 0;
}

html .mini-cart-contents-is-style-greeni-style .wc-block-components-button:not(.is-link).outlined:hover {
    background-color: var(--th-color-3);
}

html .single-product .wc-block-grid__product-price {
    display: flex;
    flex-flow: row;
    column-gap: 0.5rem;
}

html .woocommerce table.variations tr td select {
    height: auto;
}

html .woocommerce div.product form.cart table.variations td {
    display: flex;
    flex-direction: row;
    align-items: center;
}

html div.wc-block-add-to-cart-form.wc-block-add-to-cart-form--stepper form.cart div.wc-block-components-quantity-selector.quantity {
    align-items: center;
}

html .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    height: 100%;
}

html .woocommerce div.product form.cart button.single_add_to_cart_button, html .woocommerce div.product form.cart button[name=add-to-cart] {
    color: #ffffff;
}

/* MINI CART */
html .mini-cart-contents-is-style-greeni-style .wp-block-woocommerce-mini-cart-checkout-button-block, html .mini-cart-contents-is-style-greeni-style .wp-block-woocommerce-mini-cart-shopping-button-block {
    background-color: #000000;
    color: #ffffff;
}

.wc-block-components-quantity-selector {
    align-items: center;
}

.wc-block-product-categories-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding-inline-start: 0;
    gap: 24px;
}