/*
Theme Name:     OllieChild
Theme URI:
Description:    Ollie child theme.
Author:         Me
Author URI:
Template:       ollie
Version:        0.1.0
*/


html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

html:not(.is-loaded) {
	overflow: hidden;
}

html.is-loaded .page-loader {
	display: none;
}

.overflow-hidden {
	overflow: hidden;
}

body {
	--dvh: 100vh;
	--header--height: 0px;
	/* Cookies styles */
	--cc-btn-primary-bg: var(--wp--preset--color--primary);
	--cc-btn-primary-hover-bg: var(--wp--preset--color--main);
	--cc-toggle-bg-on: var(--wp--preset--color--main);
	--cc-text: var(--wp--preset--color--main);
	--cc-btn-primary-text: var(--wp--preset--color--base);
	--cc-btn-primary-text: var(--cc-bg);
	--cc-btn-primary-hover-text: var(--cc-btn-primary-text);
	--cc-btn-secondary-text: var(--cc-text);
	--cc-btn-secondary-hover-text: var(--cc-btn-secondary-text);
	--cc-toggle-bg-on: var(--cc-btn-primary-bg);
	--swiper-navigation-sides-offset: 20px;
	--swiper-navigation-size: 15px;

	overflow-x: hidden;
}

.rounded {
	border-radius: 12px;
}

.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh !important;
	width: 100vw !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 1000002;
}

.lds-dual-ring {
	display: inline-block;
	width: 80px !important;
	height: 80px !important;
}

.lds-dual-ring:after {
	content: " ";
	display: block;
	width: 48px;
	height: 48px;
	margin: 8px;
	border-radius: 50%;
	border: 6px solid var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary) var(--wp--preset--color--primary) var(--wp--preset--color--primary) transparent;
	animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

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

iframe {
	max-width: 100%;
}

.is-whatsap-button {
	position: fixed;
	bottom: var(--wp--preset--spacing--small);
	right: var(--wp--preset--spacing--small);
	z-index: 2;
}

.is-whatsap-button svg {
	height: 1.7em !important;
	width: 1.7em !important;
}

.on-mobile .single-product .is-whatsap-button {
	bottom: calc(var(--wp--preset--spacing--small) + 80px);
}

.woocommerce-checkout .is-whatsap-button,
.woocommerce-cart .is-whatsap-button {
	display: none;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	padding: 10px 14px;
	background-color: var(--wp--preset--color--main);
	border-radius: 50%;
	color: var(--wp--preset--color--base);
}

.swiper .swiper-slide.swiper-slide {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	position: relative;
	transition-property: transform;
}

.swiper .swiper-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: flex;
	transition-property: transform;
	box-sizing: content-box;
	padding-inline-start: unset;
}

.hidden {
	display: none !important;
}

.is-rounded {
	border-radius: 5px;
}

.is-full {
	width: 100% !important;
}

.no-decoration,
button {
	text-decoration: none !important;
}

.wp-site-blocks a {
	text-decoration: none !important;
}

header.site-header.is-scrolled {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	backdrop-filter: blur(5px);
}

header.site-header.is-scrolled .is-sticky .wp-block-navigation__responsive-container.is-menu-open {
	height: var(--dvh);
}

header .wp-block-site-logo {
	z-index: 100001;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-button.cta-button {
	position: fixed;
	width: calc(100% - calc(2 * var(--wp--preset--spacing--small)));
	left: 0;
	bottom: 0;
	margin: var(--wp--preset--spacing--small);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-button.cta-button a {
	width: 100%;
	padding: 15px;
}

.is-menu-open.has-modal-open {
	padding: var(--wp--preset--spacing--small);
}

.wp-block-navigation__responsive-container-close {
	margin-top: var(--wp--preset--spacing--small);
}

.is-menu-open.has-modal-open .wp-block-navigation__container {
	margin-top: var(--header--height, 0) !important;
}

.shadow-1 {
	box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

[style*="min-height:100vh"]:not(.skip-dvh) {
	--height: calc(var(--dvh, 100vh) - var(--header--height, 0px));
	min-height: var(--height, 100vh) !important;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.column-mobile-reverse {
		flex-direction: column-reverse;
	}

	.row-mobile-reverse {
		flex-direction: row-reverse;
	}

	.hide-on-mobile {
		display: none !important;
	}

	.wp-block-cover:not(.has-aspect-ratio) {
		min-height: 130px !important;
	}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	.hide-on-desktop {
		display: none !important;
	}

	.wp-block-cover:not(.has-aspect-ratio) {
		min-height: 230px !important;
	}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}


.is-menu-open.has-modal-open .wp-block-navigation__container>li:first-child>a {
	max-width: 100%;
}

.wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block;
}

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none;
}

@media only screen and (min-width: 855px) {
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none;
	}

	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block;
	}
}

@media only screen and (max-width: 854px) {
	header .row-mobile-reverse {
		flex-direction: row-reverse;
	}

}

.on-desktop .share-button {
	display: none !important;
}