/*
 Theme Name:   Sakae
 Theme URI:    https://sakae.es
 Description:  Custom WordPress theme for Inma Luque from Sakae
 Author:       Nils Henrik
 Template:     generatepress
 Version:      0.1
*/

body {
    --gp-slideout-width:100vw;
}

/* Set the main content area to a minimum of 64vh */

#main {
	min-height: 64vh;
}

/* Site Wrapper to set overall site max width */

.site-wrapper {
	width: 100%;
	max-width: 1920px;
}

/* Navigation adjustments */

.main-navigation ul ul {
	box-shadow: none;
	border-radius: 4px;
}

.main-navigation .main-nav ul ul li a {
	border-radius: 4px;
}

/* HELPER CLASSES */

.d-none {
	display: none;
}

/* Standard Shadow(s) */

.shadow-standard {
	box-shadow: 0px 5px 16px -5px rgba(33, 33, 33, 0.2);
	transition: all .2s ease-in;
}

.shadow-standard:hover {
	box-shadow: 0px 8px 32px 0px rgba(33, 33, 33, 0.1);
}

/* Max Width(s) */

.max-width-1024 {
	max-width: 1024px;
}

.max-width-768 {
	max-width: 768px;
}

.max-width-640 {
	max-width: 640px;
}

.max-width-480 {
	max-width: 480px;
}

/* Margin Auto */

.margin-auto {
	margin-left: auto;
	margin-right: auto;
}

.mb-0 {
	margin-bottom: 0;
}

.ml-0 {
	margin-left: 0;
}

.list-style-none {
	list-style: none;
}

/* Position Properties */

.relative {
	position: relative;
}

.absolute {
	position:absolute;
	top: 0px;
	left: 0px;
}

.sticky {
	position: sticky;
	top: 24px;
}

/* Image Aspect Ratios */

.aspect-1-1 img {
    aspect-ratio: 1/1;
	object-fit: cover;
}

.aspect-3-2 img {
    aspect-ratio: 3/2;
	object-fit: cover;
}

.aspect-2-3 img {
    aspect-ratio: 2/3;
	object-fit: cover;
}

.aspect-4-3 img {
    aspect-ratio: 4/3;
	object-fit: cover;
}

.aspect-3-4 img {
    aspect-ratio: 3/4;
	object-fit: cover;
}

.aspect-16-9 img {
    aspect-ratio: 16/9;
	object-fit: cover;
}

.stretch-link{
	position: relative;
}

.stretch-link a::after{
	content: '';
	position: absolute;
	inset: 0;
}

.stretch-link a:is(:focus-visible)::after{
	outline: 2px solid;
}

.stretch-link a:is(:hover, :focus){
	outline: none;
}

/* Back to top button */

.generate-back-to-top {
	border-radius: 50%;
}

/* Other utilities */

.has-underline {
	text-decoration: underline;
}

:has(>.circle) {
	text-wrap: unset;
}

.circle {
	position: relative;
	display: inline-block;
	isolation: isolate;
}

.circle::before {
	content: "";
	position: absolute;
	width: calc(100% + 5px);
	height: calc(100% + 5px);
	inset: -5px;
	background-image: url(assets/glyphs/circle.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	z-index: -1;
}

.underline {
    position: relative;
    isolation:isolate
}

.underline::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 7px;
    left: 0;
    z-index: -1;
    background-image:url(assets/glyphs/underline.svg)
}

.product-tips {
	margin-top: 3rem;
	display: inline-block;
	background-color: #E9E6ED;
	padding: 1.5rem;
	border-radius: 4px;
}

/* Specific adjustments */

@media (max-width: 768px) {
	.site-description {
		display: none;
	}
}

ul.therapy-loop > li:first-child {
	grid-column: 1/-1;
}

.gb-text-20d3db86,
.gb-text-52d95cd5 {
	color: var(--base-3) !important;
}
/* Specific adjustments for Contact Form 7 */

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    box-sizing: border-box;
}

/* Specific adjustments for WooCommerce */

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	margin-bottom: 0 !important;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button,
.wp-block-button__link,
.woocommerce div.product form.cart .button,
.woocommerce ul.products li.product .button,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-Button {
	border-radius: 4px !important;
}
