/** Full **/
body {
	text-wrap: pretty
}

* {
	box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance
}

.wp-site-blocks,
#smooth-wrapper {
	overflow: hidden;
}

/* Logo */
#wp-logo img {
	max-height: 50px;
	height: auto !important;
	width: auto !important;
	max-width: 100%;
}

/** 
 * Buttons
**/

/*
:is(.page-template-default):not(.scrolled) .wp-site-blocks>header nav:not(.is-responsive) .wp-block-button:not(.is-style-button-text) .wp-block-button__link {
	border-color: var(--wp--preset--color--base-1);
	color: var(--wp--preset--color--base-1)
}

:is(.page-template-default):not(.scrolled) .wp-site-blocks>header nav:not(.is-responsive) .wp-block-button:not(.is-style-button-text) .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--base-1);
	color: var(--wp--preset--color--contrast-1);
	border-color: var(--wp--preset--color--base-1);
}
*/

.wp-block-button:not(.is-style-button-text, .is-style-outline) .wp-block-button__link:not(.has-background):hover {
	background-color: transparent !important;
	border-color: var(--wp--preset--color--base-1);
	color: var(--wp--preset--color--base-1) !important
}

.wp-block-button:not(.is-style-button-text, .is-style-outline) .wp-block-button__link.has-base-1-background-color:hover {
	background-color: transparent !important;
	color: var(--wp--preset--color--base-1) !important
}



/* Outlined */
.wp-block-button.is-style-outline .wp-block-button__link.has-base-1-color:hover {
	background-color: var(--wp--preset--color--base-1) !important;
	border-color: var(--wp--preset--color--base-1);
	color: var(--wp--preset--color--contrast-1) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover {
	background-color: var(--wp--preset--color--base-1) !important;
	border-color: var(--wp--preset--color--contrast-1);
	color: var(--wp--preset--color--contrast-1) !important;
}


.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover::before {
	background-color: var(--wp--preset--color--base-1)
}


/* Menu BTN */
.wp-block-navigation.wp-block-hidden-mobile .wp-block-button__link {
	background-color: var(--wp--preset--color--base-1);
	border-color: var(--wp--preset--color--base-1);
	color: var(--wp--preset--color--contrast-1);
}

.wp-block-navigation.wp-block-hidden-mobile .wp-block-button:not(.is-style-button-text, .is-style-outline) .wp-block-button__link:not(.has-background):hover {
	color: var(--wp--preset--color--base-1) !important;
	border-color: var(--wp--preset--color--base-1);
}

/** Button Text **/
.is-style-button-text .wp-block-button__link,
.single-post .wp-block-post-content a:not(.wp-block-button__link) {
	padding: 0 0 .16em;
	border: 0;
	position: relative;
	background-color: #fff0;
	color: currentColor
}

.is-style-button-text .wp-block-button__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	height: 1px;
	width: 100%;
	background-color: currentColor
}

.is-style-button-text .wp-block-button__link:hover::after {
	width: 0%;
}


/** Spacing **/
.entry-content:not([data-page="checkout"])>:first-child>div:first-of-type,
#smooth-content>.wp-block-group:first-of-type>div:first-of-type {
	padding-top: var(--wp--preset--spacing--menu)
}

/** Images **/
.wp-block-cover .wp-block-cover__image-background {
	height: 110%;
	overflow: visible;
}

.height-100vh {
	height: 100svh;
	min-height: auto !important
}

.height-100vh>.wp-block-cover__inner-container {
	height: 100%;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box
}

.wp-block-image {
	overflow: hidden
}

.wp-block-image:last-child {
	margin-bottom: 0
}

/** Pagination **/
.wp-block-query-pagination {
	gap: var(--wp--preset--spacing--18);
	font-size: var(--wp--preset--font-size--small)
}
.wp-block-query-pagination-numbers .page-numbers.current {
	background-color: #F7F7F7
}

.wp-block-query-pagination-numbers>* {
	width: 40px;
	height: 40px;
	border-radius: 40px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	-ms-border-radius: 40px;
	-o-border-radius: 40px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center
}

/* Splide Pagination */
.splide__pagination li[role="presentation"] {
	flex-grow: 1;
}

.splide__pagination .splide__pagination__page {
	transform: none !important;
	-webkit-transform: none !important;
	-moz-transform: none !important;
	-ms-transform: none !important;
	-o-transform: none !important;
	width: 100%;
	height: 4px;
	border-radius: 0;
	margin: 0;
	display: block;
}

.pagination_underneath .splide__pagination {
	position: static;
	padding: 0;
	margin-top: var(--wp--preset--spacing--72-1);
	gap: 0;
}

.pagination_light .splide__pagination__page {
	background-color: #e6e6e6;
	opacity: 1;
}

.pagination_light .splide__pagination__page:hover {
	background-color: var(--wp--preset--color--contrast-1-hover)
}

.pagination_light .splide__pagination__page.is-active {
	background-color: var(--wp--preset--color--contrast-1);
}

.pagination_dark .splide__pagination__page {
	background-color: var(--wp--preset--color--base-1);
	opacity: .5
}

.pagination_dark .splide__pagination__page.is-active {
	background-color: var(--wp--preset--color--base-1);
	opacity: 1
}

/** Splide Arrows **/
.arrow_dark .splide__arrow {
	background-color: #fff0
}

.arrow_dark .splide__arrow svg {
	color: var(--wp--preset--color--base-1);
	fill: var(--wp--preset--color--base-1)
}

.arrow_light .splide__arrow {
	background-color: #fff0
}

.arrow_light .splide__arrow svg {
	color: var(--wp--preset--color--contrast-1);
	fill: var(--wp--preset--color--contrast-1)
}

/*
.arrow_outside .splide__arrow--prev {
	left: -2em
}

.arrow_outside .splide__arrow--next {
	right: -2em
}
*/

/** Splide Custom **/
.splide[aria-label="Showroom Slider"] .splide__pagination {
	padding-right: var(--wp--preset--spacing--36-1)
}

/* Sizing, border and icon (all positions). Fallbacks match Splide's defaults. */
.splide.has-arrows .splide__arrow {
  width: var(--arrow-btn-size, 2em);
  height: var(--arrow-btn-size, 2em);
  border: var(--arrow-border, 0);
  border-radius: var(--arrow-radius, 50%);
}
.splide.has-arrows .splide__arrow svg {
  width: var(--arrow-size, 1.2em);
  height: var(--arrow-size, 1.2em);
}

/* Custom icons are drawn facing the right way already, so don't mirror prev. */
.splide.has-custom-arrow .splide__arrow--prev svg {
  transform: none;
}

/* Overlay: Splide's default (absolute, vertically centred, inside the track area). */

/* Outside: reserve room at the sides and push the buttons into it. */
.splide.arrow_outside {
  padding-inline: calc(var(--arrow-btn-size, 2em) + 1em);
}
.splide.arrow_outside .splide__arrow--prev { left: 0; }
.splide.arrow_outside .splide__arrow--next { right: 0; }

/* Above / Below: normal-flow row with flex alignment. */
.splide.arrow_above .splide__arrows,
.splide.arrow_below .splide__arrows {
  display: flex;
  justify-content: var(--arrow-align, flex-end);
  gap: 0.5rem;
}
.splide.arrow_above .splide__arrow,
.splide.arrow_below .splide__arrow {
  position: static;
  transform: none;
}
.splide.arrow_above .splide__arrows { margin-bottom: 1rem; }
.splide.arrow_below .splide__arrows { margin-top: 1rem; }

/* Editor: keep the inert preview buttons from stealing clicks. */
.splide.is_admin .splide__arrow { pointer-events: none; }

/** End Splide Slider **/

/** Transitions **/
.wp-site-blocks>header,
a,
button,
.mega-menu,
.wp-block-navigation__submenu-container,
a::after,
.wc-block-customer-account__account-icon, 
.wc-block-mini-cart__quantity-badge,
input,
.current-language-item,
.splide .splide__pagination .splide__pagination__page,
.wp-block-button:not(.is-style-button-text) .wp-block-button__link::before {
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}

/** Menu Animation **/
body:not(.woocommerce-checkout, .block-editor-iframe__body) .wp-site-blocks>header {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 9999
}

/** 
	On Scroll Change BG Colour 
*/
.scrolled .wp-site-blocks>header,
.light .wp-site-blocks > header {
	background-color: var(--wp--preset--color--contrast-1)
}

/* Logo Transition */
.wp-site-blocks>header img {
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}


/* Use this if different size on scroll
.scrolled .wp-site-blocks>header #wp-logo img {
	max-height: 80px !important;
}
*/

/** Mobile **/
@media (max-width:767px) {
	.mobile-hidden {
		display: none !important
	}

	.mb-align-left {
		text-align: left !important
	}

	.mb-align-left .wp-block-buttons.is-content-justification-center {
		justify-content: flex-start
	}

	.mb_order>:first-child {
		order: 1
	}
}

/** Tablet **/
@media (min-width:768px) and (max-width:1023px) {
	.tablet-hidden {
		display: none !important
	}

	.tb-align-left {
		text-align: left !important
	}

	.tb-align-left .wp-block-buttons.is-content-justification-center {
		justify-content: flex-start
	}
}

@media (max-width: 1024px) {
	/*
	.has-text-align-center {
		text-align: left !important;
	}
	.wp-block-buttons.is-content-justification-center {
		justify-content: flex-start;
	}
	*/

	.middle-menu,
	.middle-menu > .wp-block-group {
		min-height: unset !important;
	}
}

/** Desktop **/
@media (min-width:1024px) {
	.desktop-hidden {
		display: none !important
	}

	/* Menu Logo */
	.middle-menu #wp-logo {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	#wp-logo img {
		max-height: 50px;
		height: auto !important;
		width: auto !important;
		max-width: calc( 100vw - ( var(--wp--preset--spacing--72-1) * 2 ) - 168px );
	}
}