/*!
Theme Name:        Evovio
Theme URI:         https://www.evovio.com/
Author:            VeriWeb
Author URI:        https://www.veriweb.de/
Description:       A theme for Evovio Store and Homepage.
Version:           1.2.12
Template:          gwyneth
Text Domain:       evovio
*/

/* ==========================================================================
   Child Theme Custom Styles
   ========================================================================== */

:root {
    --wp--style--global--content-size: 1200px !important;
    --theme--mod--layout_width_content: 1200px !important;
}

.hidden {
    display: none;
}

@media (min-width: 1025px) {
    .has-overlay-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container>.nav__shop-container.has-child:not(.open-on-click):hover > ul {
        display: grid;
        grid-template-columns: auto auto;
        transform: translateX(-5%) !important;
    }
}

/* ==========================================================================
   WooCommerce Product Cards
   ========================================================================== */

.products .evovio-product-card {
	list-style: none;
}

.evovio-product-card__content {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: var(--evovio-product-card-section-gap, 0.75rem);
}

.products .evovio-product-card .evovio-product-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	padding: 2rem 1.75rem 2.5rem;
	text-align: center;
	gap: 1.25rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	border-radius: 1rem;
}

.evovio-product-card__image-link {
	display: block;
	margin-inline: auto;
}

.evovio-product-card__image-link img {
	display: block;
	margin-inline: auto;
	max-width: min(280px, 100%);
	height: auto;
	object-fit: contain;
}

.evovio-product-card__title {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: clamp(1.1rem, 1vw + 0.9rem, 1.35rem);
	line-height: 1.2;
	margin: 0;
	font-weight: 700;
}

.evovio-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.evovio-product-card__title a:hover,
.evovio-product-card__title a:focus {
	text-decoration: underline;
}


.evovio-product-card__pricing {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 auto;
	text-align: center;
}

.evovio-product-card__pricing .price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
    font-size: calc(var(--wcti--font-size--s) * 1.3)
}

.evovio-price--variable {
    text-align: center;
    border-color: inherit;
    box-sizing: inherit;
}

.evovio-product-card__tax-note {
	display: inline-flex;
	align-items: baseline;
	font-size: 0.95rem;
	font-style: italic;
	color: #4b4b4b;
}

.evovio-product-card__cta {
	margin-top: auto;
	display: flex;
	justify-content: center;
}

.evovio-product-card__unit-pricing {
    font-style: italic;
}

.evovio-product-card__cta .button {
    list-style: none;
    box-sizing: inherit;
    max-width: 100%;
    vertical-align: baseline;
    align-items: center;
    justify-content: center;
    background: transparent;
    display: inline-block;
    font-family: var(--wp--custom--button--font-family);
    font-size: var(--wp--custom--button--font-size);
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    letter-spacing: var(--wp--custom--button--letter-spacing);
    background-color: var(--theme--css--button--color--background);
    border: 2px solid;
    box-shadow: inset 0 calc(-1 * var(--wp--custom--shadow--button--size)) 0 var(--theme--css--button--color--shadow),var(--wp--preset--shadow--s);
    cursor: pointer;
    transition: transform 0.1s linear,background 0.1s linear,color 0.1s linear,border 0.1s linear,box-shadow 0.1s linear,-webkit-transform 0.1s linear,-webkit-box-shadow 0.1s linear;
    padding: 1.25em 1.5em;
    border-color: transparent;
    border-radius: var(--wp--custom--button--border-radius);
    color: var(--theme--css--button--color--text);}

.evovio-product-card__cta .button:hover,
.evovio-product-card__cta .button:focus {
	background-color: #f6b310;
}

.evovio-product-card__cta .button:focus-visible {
	outline: 3px solid #000;
	outline-offset: 2px;
}

@media (max-width: 782px) {
	.products.columns-3 .evovio-product-card {
		margin-bottom: 2rem;
	}

	.products .evovio-product-card .evovio-product-card__inner {
		padding: 1.5rem 1.2rem 2rem;
		gap: 1rem;
	}
}
