/*
Theme Name: Wren and Raven
Author: Media Engine
Author URI: https://mediaengine.com.au
Theme URI: 
Tags: full-site-editing, editor-style, block-styles, block-patterns
Text Domain: wren-and-raven
Requires at least: 6.3
Requires PHP: 7.4
Tested up to: 6.3
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

header {
	position: sticky;
    top: 0;
	z-index: 9999;
}

header .wp-block-site-logo {
	width: clamp(150px, 15vw, 200px);
}

header .wp-block-site-logo a,
header .wp-block-site-logo.is-default-size img {
	width: 100% !important;
	height: auto;
}

header .main-menu-grid {
	grid-template-columns: 1fr max-content 1fr !important;
	align-items: center !important;
	gap: 0 !important;
}

header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
	font-size: clamp(2.2rem, 5vw, 4.8rem) !important;
}

header .main-menu-nav .wp-block-navigation__responsive-container-open {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 576px) {

	header .wc-block-customer-account__account-icon {
		display: none !important;
	}

}

header .wp-block-navigation__responsive-container {
	padding-left: clamp(15px, 5vw, 50px);
	padding-right: clamp(15px, 5vw, 50px);
	justify-content: stretch;
}

header .wp-block-navigation__responsive-close {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

header .wp-block-navigation__responsive-dialog {
	position: inherit !important;
}

header .wp-block-navigation__responsive-container-open svg,
header .wp-block-navigation__responsive-container-close svg {
	width: 30px;
	height: 30px;
}

@media (-moz-touch-enabled: 0), (pointer: fine) {
	header .wp-block-navigation__responsive-container-open svg path {
		transition: .2s;
	}

	header .wp-block-navigation__responsive-container-open:hover svg path:nth-child(odd) {
		translate: 2px 0;
	}

	header .wp-block-navigation__responsive-container-open:hover svg path:nth-child(even) {
		translate: -2px 0;
	}
}

header .wp-block-navigation__responsive-container-close {
	top: 30px;
	right: 30px;
}

.admin-bar header .wp-block-navigation__responsive-container-close {
	top: 62px;
}

@media (max-width: 782px) {

	.admin-bar header .wp-block-navigation__responsive-container-close {
		top: 76px;
	}

}

a {
	text-decoration: none !important;
	transition: .2s;
}

.has-round-corners {
	border-radius: 4px !important;
}

@media (max-width: 780px) {

	.footer-center-mobile {
		text-align: center;
	}

	.footer-center-mobile .wp-block-navigation {
		align-items: center;
	}

	.footer-center-mobile .wp-block-social-links {
		justify-content: center;
	}
}

:where(.wp-site-blocks) > * {
	margin-top: 0 !important;
}


.links-are-tags a {
	display: inline-block;
	padding: 0.2em 1em;
	border-radius: 3px;
	color: var(--wp--preset--color--base);
	background-color: var(--wp--preset--color--primary);
	font-size: 0.8rem;
	font-weight: 600;
}

.links-are-tags a:hover {
	color: var(--wp--preset--color--base);
	background-color: var(--wp--preset--color--contrast);
}

:root :where(.single-product .wp-block-woocommerce-product-price .wc-block-components-product-price) {
	color: var(--wp--preset--color--primary);
}

.wp-block-woocommerce-product-specifications.wp-block-table table tr > * {
	border-left: 0 none;
	border-right: 0 none;
}

.wp-block-wr-product-attributes-list .product-attributes-list {
	width: 100%;
	display: grid;
	grid-template-columns: max-content 1fr;
	row-gap: 0;
	column-gap: 1em;
}

.wp-block-wr-product-attributes-list .product-attributes-list-item {
	display: grid;
	grid-template-columns: subgrid;
	grid-column: 1 / -1;
	row-gap: 0;
	column-gap: 1em;
}

.wp-block-wr-product-attributes-list .product-attributes-list-item {
	padding: 0.5em 0;
	border-top: 1px solid rgba(3, 7, 18, 0.2);
}

.wp-block-wr-product-attributes-list .product-attributes-list-item:first-child {
	border-top: 0 none;
}

.wp-block-wr-product-attributes-list .edge-padding .product-attributes-list-item {
	padding: 0.5em 1em;
}

.product-attributes-list-label {
	font-weight: 600;
}

.single-product .wp-block-woocommerce-add-to-cart-with-options {
	container-type: inline-size;
	container-name: wr-cart-options;
}



.single-product .wp-block-woocommerce-add-to-cart-with-options .wp-block-woocommerce-add-to-cart-with-options-variation-selector {
	display: grid;
	grid-template-columns: 1fr;
	/* justify-content: center; */
	gap: 0;
	background-color: var(--wp--preset--color--custom-menu-overlay);
	border-radius: 4px;
}

.single-product .wp-block-woocommerce-add-to-cart-with-options .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute {
	padding-left: 1.5rem;
    padding-right: 1.5rem;
	border-top: 2px solid var(--wp--preset--color--base);
}

.single-product .wp-block-woocommerce-add-to-cart-with-options .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute:first-child {
	border-top: 0 none;
}

@container wr-cart-options (min-width: 500px) {

	.single-product .wp-block-woocommerce-add-to-cart-with-options .wp-block-woocommerce-add-to-cart-with-options-variation-selector {
		grid-template-columns: max-content;
		grid-auto-flow: column;
	}

	.single-product .wp-block-woocommerce-add-to-cart-with-options .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute {
		border-top: 0 none;
		border-left: 2px solid var(--wp--preset--color--base);
	}

	.single-product .wp-block-woocommerce-add-to-cart-with-options .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute:first-child {
		border-left: 0 none;
	}

}


/*
	Mini Cart
*/
.wc-block-mini-cart__items {
	padding: 0 clamp(15px, 2vw, 40px) clamp(15px, 2vw, 40px);
}

.wc-block-cart-items__row .wc-block-cart-item__image img {
	border-radius: 4px;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.wc-block-cart-item__prices .wc-block-components-product-price {
	color: var(--wp--preset--color--cyan-bluish-gray);
	font-size: .9rem;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap > .wc-block-components-product-name {
	margin: 2px !important;
}

 table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices [data-wp-text="state.afterItemPrice"]::after {
	content: " ea";
}

.wc-block-components-product-metadata {
	font-size: .9rem;
}

 ul.wc-block-components-product-details.wc-block-components-product-details:not([hidden]) {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 0.5em;
}

ul.wc-block-components-product-details.wc-block-components-product-details li {
	display: grid;
	grid-template-columns: subgrid;
	column-gap: 0.5em;
	grid-column: 1 / -1;
}

.wc-block-components-product-details__name {
	font-weight: 600;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	font-weight: 600;
}

h2.wc-block-mini-cart__title {
	margin: clamp(15px, 2vw, 40px) clamp(15px, 2vw, 40px) 0;
}

.wp-block-woocommerce-mini-cart-title-items-counter-block {
	display: none;
}

.wc-block-mini-cart__items .wc-block-cart-item__prices {
	margin-bottom: 5px !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
	justify-content: flex-start;
	align-items: center;
	flex-direction: row;
	gap: 0.5em;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	color: transparent;
	text-decoration: none;
	height: 100%;
	width: 24px;
	position: relative;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link::before {
	content: "";
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transition: .2s;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(171,184,195,1)'%3E%3Cpath d='M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM9 11V17H11V11H9ZM13 11V17H15V11H13ZM9 4V6H15V4H9Z'%3E%3C/path%3E%3C/svg%3E");
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-quantity-selector {
	margin-bottom: 0 !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,1)'%3E%3Cpath d='M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM9 11V17H11V11H9ZM13 11V17H15V11H13ZM9 4V6H15V4H9Z'%3E%3C/path%3E%3C/svg%3E");
}

.wc-block-mini-cart__footer {
	padding: 20px clamp(15px, 2vw, 40px) 25px;
}

:root :where(.wc-block-mini-cart__footer-cart:hover) {
    border-color: #96a4af !important;
}

.woocommerce-cart .wc-block-components-sidebar {
    padding: clamp(15px, 2vw, 40px);
    background-color: white;
    color: var(--wp--preset--color--base);
    border-radius: 5px;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
	padding-top: clamp(15px, 2vw, 40px);
}

.wc-block-cart__main .wc-block-cart-items td,
.wc-block-mini-cart__items table.wc-block-cart-items tbody tr {
	border-top: 1px solid color-mix(in srgb,currentColor 30%,transparent);
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	line-height: 1.4;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
	padding-left: 0 !important;
}

table.wc-block-cart-items .wc-block-cart-items__header th {
	font-weight: 700;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
	height: 50px;
	box-shadow: none;
	color: var(--wp--preset--color--base);
}

.wc-block-components-button {
	box-shadow: none;
	color: var(--wp--preset--color--base);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-weight: 700;
}

.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title {
	font-weight: 700;
}

.wc-block-components-express-payment-continue-rule {
    font-size: 16px;
    margin: 40px 0;
    color: var(--wp--preset--color--cyan-bluish-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.wc-block-components-form .wc-block-components-checkout-step {
	margin-bottom: 40px;
}

.wp-block-woocommerce-checkout-order-summary-block,
.has-dark-controls .wp-block-woocommerce-checkout-order-summary-block {
	background-color: white;
	color: var(--wp--preset--color--base);
}

.has-dark-controls .wc-block-components-totals-wrapper {
	border-color: color-mix(in srgb,currentColor 15%,transparent);
}

.wc-block-components-order-summary,
.wc-block-components-sidebar .slot-wrapper .wc-block-components-panel, 
.wc-block-components-sidebar .wc-block-components-panel, 
.wc-block-components-sidebar .wc-block-components-totals-coupon, 
.wc-block-components-sidebar .wc-block-components-totals-item {
	padding: 0 clamp(15px, 2vw, 40px);
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
	margin: 8px clamp(15px, 2vw, 40px);
	font-family: 'Playfair Display';
}


.wc-block-components-checkout-order-summary__content > .wc-block-components-totals-wrapper:last-child {
	background-color: color-mix(in srgb,currentColor 5%,transparent);
}

.has-dark-controls .wc-block-components-totals-coupon__form .wc-block-components-text-input input[type=text] {
	background-color: #fff;
    border-color: hsla(0, 0%, 7%, .8);
    color: #2b2d2f;
}

.has-dark-controls .wc-block-components-totals-coupon__form .wc-block-components-text-input label {
	color: inherit;
}

.wc-block-components-order-summary-item__image img {
	border-radius: 4px;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item:nth-child(n+2) {
	margin-top: 13px;
    padding-top: 25px;
	border-top: 1px solid color-mix(in srgb,currentColor 15%,transparent);
}

.img-full-width img {
	width: 100%;
	min-width: 100%;
	height: auto;
}

.img-max-height-100 img {
	max-height: 100px;
}

.img-max-height-200 img {
	max-height: 200px;
}

.img-max-height-300 img {
	max-height: 300px;
}

.img-max-height-400 img {
	max-height: 400px;
}

.img-max-height-500 img {
	max-height: 500px;
}

.img-max-height-600 img {
	max-height: 600px;
}

.img-max-height-700 img {
	max-height: 700px;
}

.img-max-height-800 img {
	max-height: 800px;
}

.img-max-height-900 img {
	max-height: 900px;
}

.img-max-height-1000 img {
	max-height: 1000px;
}

.img-max-height-1100 img {
	max-height: 1100px;
}

.img-max-height-1200 img {
	max-height: 1200px;
}

.wc-block-order-confirmation-summary {
	box-sizing: border-box;
}

.wc-block-order-confirmation-summary ul {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 0.5em;
	row-gap: 0;
}

.wc-block-order-confirmation-summary ul > li {
	display: grid;
	grid-template-columns: subgrid;
	column-gap: 0.5em;
	row-gap: 0;
	width: 100%;
	grid-column: 1 / -1;
	padding: 0.5em 1em;
}

.wc-block-order-confirmation-summary ul > li:nth-child(n+1) {
	border-top: 1px solid hsla(0,0%,7%,.11);
}

.wc-block-order-confirmation-totals-wrapper > .wp-block-heading {
	margin-top: 0 !important;
}

.wc-block-order-confirmation-totals table thead tr > * {
	padding-top: 0;
}

.wc-block-order-confirmation-totals table tbody tr > *,
.wc-block-order-confirmation-totals table tfoot tr > * {
	border-top: 1px solid color-mix(in srgb, white 30%,transparent);
}

.wc-block-order-confirmation-totals table tbody tr:first-child > * {
	border-top: 2px solid var(--wp--preset--color--primary);
}

.wc-block-order-confirmation-totals table th:first-child,
.wc-block-order-confirmation-totals table td:first-child {
	padding-left: 0;
}

.wc-block-order-confirmation-totals table th:last-child,
.wc-block-order-confirmation-totals table td:last-child {
	padding-right: 0;
}

.home .wc-block-product-template__responsive.columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(max(150px, calc(33.33333% - 1em)), 1fr));
}

.home .wc-block-product-template__responsive.columns-3 {
	grid-gap: 1.5em;
}

.global-map {
	background-size: auto 33vw !important;
	background-repeat: no-repeat;
	background-position: left center;
}

@media (min-width: 860px) {

	.global-map {
		background-size: auto 300px !important;
		background-position: left center;
	}

}

@media (min-width: 1540px) {

	.global-map {
		background-size: contain !important;
		background-position: center;
	}

}

.split-gold-bg::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 50%;
	width: 100%;
	height: 50%;
	background: var(--wp--preset--color--primary);
	z-index: -1;
}

.home-testimonials .cb-carousel-block {
	--wp--custom--carousel-block--pagination-bullet-color: white;
	--wp--custom--carousel-block--pagination-bullet-opacity: 1;
	--wp--custom--carousel-block--pagination-bullet-active-color: var(--wp--preset--color--primary);
	--wp--custom--carousel-block--pagination-bullet-active-opacity: 1;
	--wp--custom--carousel-block--pagination-bullet-inactive-color: white;
	--wp--custom--carousel-block--pagination-bullet-inactive-opacity: 1;
	--wp--custom--carousel-block--pagination-bullet-size: 6px;
}

.home-testimonials .cb-carousel-block .swiper-pagination-bullet-active {
	--wp--custom--carousel-block--pagination-bullet-size: 10px;
}

.home-testimonials .wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal {
	padding-left: 60px;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
}

@media (min-width: 720px) {
	.home-testimonials .cb-carousel-block {
		max-width: 85%;
	}
}

@media (min-width: 960px) {
	.home-testimonials .cb-carousel-block {
		max-width: 65%;
	}
}

@media (min-width: 1130px) {
	.home-testimonials .cb-carousel-block {
		max-width: 45%;
	}
}