:root {
	--shw-forest: #102b1f;
	--shw-forest-deep: #071a12;
	--shw-moss: #335b3d;
	--shw-gold: #d8a73c;
	--shw-gold-soft: #f1d894;
	--shw-cream: #f7f3e8;
	--shw-ink: #17231c;
}

body.shw-shop-ui-open {
	overflow: hidden;
}

.shw-shop-overlay {
	position: fixed;
	inset: 0;
	z-index: 999990;
	background: rgba(2, 14, 9, .68);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .28s ease, visibility .28s ease;
}

.shw-shop-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.shw-shop-close {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: #fff;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.shw-shop-close:hover,
.shw-shop-close:focus-visible {
	background: var(--shw-gold);
	border-color: var(--shw-gold);
	transform: rotate(5deg);
	outline: none;
}

.shw-shop-close span::before,
.shw-shop-close span::after {
	content: '';
	position: absolute;
	left: 12px;
	top: 20px;
	width: 17px;
	height: 2px;
	background: currentColor;
}

.shw-shop-close span::before { transform: rotate(45deg); }
.shw-shop-close span::after { transform: rotate(-45deg); }

.shw-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	width: min(460px, 100vw);
	height: 100dvh;
	background: var(--shw-cream);
	box-shadow: -24px 0 70px rgba(0,0,0,.28);
	transform: translateX(105%);
	visibility: hidden;
	transition: transform .34s cubic-bezier(.22,.7,.25,1), visibility .34s ease;
}

.shw-cart-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
}

.shw-cart-drawer__header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 132px;
	padding: 24px 26px;
	color: #fff;
	background:
		radial-gradient(circle at 10% 0%, rgba(216,167,60,.19), transparent 38%),
		linear-gradient(135deg, var(--shw-forest), var(--shw-forest-deep));
	border-bottom: 3px solid var(--shw-gold);
}

.shw-cart-drawer__brand {
	display: grid;
	place-items: center;
	flex: 0 0 66px;
	width: 66px;
	height: 66px;
	padding: 8px;
	border: 1px solid rgba(241,216,148,.35);
	border-radius: 50%;
	background: rgba(255,255,255,.96);
}

.shw-cart-drawer__brand img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.shw-cart-drawer__heading {
	min-width: 0;
	margin-right: auto;
}

.shw-cart-drawer__heading p,
.shw-cart-drawer__heading h2 {
	margin: 0;
}

.shw-cart-drawer__heading p {
	margin-bottom: 4px;
	color: var(--shw-gold-soft);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.shw-cart-drawer__heading h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 27px;
	font-weight: 500;
	line-height: 1.15;
}

.shw-cart-drawer__count {
	display: inline-grid;
	place-items: center;
	min-width: 27px;
	height: 27px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--shw-gold);
	color: var(--shw-forest-deep);
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 800;
}

.shw-cart-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 28px;
	background:
		linear-gradient(rgba(247,243,232,.97), rgba(247,243,232,.97)),
		repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(51,91,61,.06) 12px, rgba(51,91,61,.06) 13px);
}

.shw-cart-drawer__contents .woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
}

.shw-cart-drawer__contents .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 16px;
	min-height: 98px;
	margin: 0;
	padding: 0 32px 20px 0;
	border-bottom: 1px solid rgba(23,35,28,.14);
}

.shw-cart-drawer__contents .woocommerce-mini-cart-item + .woocommerce-mini-cart-item {
	margin-top: 20px;
}

.shw-cart-drawer__contents .woocommerce-mini-cart-item > a:not(.remove) {
	display: contents;
	color: var(--shw-ink);
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.shw-cart-drawer__contents .woocommerce-mini-cart-item img {
	grid-row: 1 / span 2;
	width: 74px;
	height: 74px;
	margin: 0;
	border-radius: 5px;
	object-fit: cover;
	box-shadow: 0 5px 16px rgba(7,26,18,.13);
}

.shw-cart-drawer__contents .woocommerce-mini-cart-item .quantity {
	grid-column: 2;
	color: #57645c;
	font-size: 14px;
}

.shw-cart-drawer__contents .remove_from_cart_button {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px solid rgba(23,35,28,.16);
	border-radius: 50%;
	background: transparent;
	color: #657068 !important;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
}

.shw-cart-drawer__contents .remove_from_cart_button:hover {
	border-color: #9b3d32;
	background: #9b3d32;
	color: #fff !important;
}

.shw-cart-drawer__contents .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin: 28px 0 18px;
	padding: 20px 0 0;
	border-top: 2px solid var(--shw-forest);
	color: var(--shw-ink);
	font-size: 18px;
}

.shw-cart-drawer__contents .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0;
}

.shw-cart-drawer__contents .woocommerce-mini-cart__buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--shw-forest);
	border-radius: 2px;
	background: transparent;
	color: var(--shw-forest);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .05em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.shw-cart-drawer__contents .woocommerce-mini-cart__buttons .checkout {
	background: var(--shw-forest);
	color: #fff;
}

.shw-cart-drawer__contents .woocommerce-mini-cart__buttons .button:hover,
.shw-cart-drawer__contents .woocommerce-mini-cart__buttons .button:focus-visible {
	border-color: var(--shw-gold);
	background: var(--shw-gold);
	color: var(--shw-forest-deep);
	outline: none;
}

.shw-cart-drawer__contents .woocommerce-mini-cart__empty-message {
	position: relative;
	margin: 60px auto 0;
	padding: 82px 24px 26px;
	max-width: 310px;
	border: 1px solid rgba(51,91,61,.2);
	background: rgba(255,255,255,.55);
	color: #536158;
	text-align: center;
}

.shw-cart-drawer__contents .woocommerce-mini-cart__empty-message::before {
	content: '\2767';
	position: absolute;
	top: 22px;
	left: 50%;
	color: var(--shw-gold);
	font-size: 45px;
	transform: translateX(-50%);
}

.shw-cart-drawer__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 58px;
	padding: 13px 24px;
	background: #e9e3d4;
	color: #48574d;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .025em;
	text-align: center;
}

.shw-cart-drawer__leaf {
	color: var(--shw-moss);
	font-size: 22px;
}

.shw-login-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 999999;
	display: grid;
	grid-template-columns: minmax(300px, .86fr) minmax(390px, 1.14fr);
	width: min(920px, calc(100vw - 40px));
	max-height: calc(100dvh - 40px);
	background: var(--shw-cream);
	box-shadow: 0 30px 90px rgba(0,0,0,.38);
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -47%) scale(.97);
	transition: opacity .28s ease, visibility .28s ease, transform .34s cubic-bezier(.22,.7,.25,1);
}

.shw-login-modal.is-open {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.shw-login-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 4;
	border-color: rgba(16,43,31,.18);
	background: rgba(16,43,31,.07);
	color: var(--shw-forest);
}

.shw-login-modal__brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 570px;
	padding: 48px 42px;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(180deg, rgba(6,27,18,.58), rgba(6,27,18,.94)),
		url('https://www.sirhowyhillwoodlands.co.uk/wp-content/uploads/2022/06/IMG_6002-1024x768-1.jpg') center / cover,
		var(--shw-forest);
}

.shw-login-modal__brand::after {
	content: '';
	position: absolute;
	right: -60px;
	bottom: -90px;
	width: 260px;
	height: 260px;
	border: 1px solid rgba(241,216,148,.22);
	border-radius: 50%;
	box-shadow: 0 0 0 25px rgba(241,216,148,.035), 0 0 0 52px rgba(241,216,148,.025);
}

.shw-login-modal__brand > img {
	position: relative;
	z-index: 2;
	width: 150px;
	height: 92px;
	padding: 12px;
	background: rgba(255,255,255,.94);
	object-fit: contain;
}

.shw-login-modal__welcome {
	position: relative;
	z-index: 2;
}

.shw-login-modal__welcome p,
.shw-login-modal__welcome h2,
.shw-login-modal__welcome span {
	margin: 0;
}

.shw-login-modal__welcome p {
	margin-bottom: 10px;
	color: var(--shw-gold-soft);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.shw-login-modal__welcome h2 {
	margin-bottom: 15px;
	color: #fff;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 500;
	line-height: 1.05;
}

.shw-login-modal__welcome span {
	display: block;
	max-width: 300px;
	color: rgba(255,255,255,.78);
	font-size: 14px;
	line-height: 1.65;
}

.shw-login-modal__form {
	padding: 70px 64px 54px;
	color: var(--shw-ink);
	background:
		radial-gradient(circle at 100% 100%, rgba(216,167,60,.09), transparent 35%),
		var(--shw-cream);
}

.shw-login-modal__eyebrow,
.shw-login-modal__form h2,
.shw-login-modal__intro {
	margin-top: 0;
}

.shw-login-modal__eyebrow {
	margin-bottom: 8px;
	color: #8c691d;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.shw-login-modal__form h2 {
	margin-bottom: 10px;
	color: var(--shw-forest);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 31px;
	font-weight: 500;
	line-height: 1.15;
}

.shw-login-modal__intro {
	margin-bottom: 28px;
	color: #647067;
	font-size: 14px;
}

.shw-login-modal__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin: -8px 0 25px;
	padding: 4px;
	border-radius: 4px;
	background: #e5e1d5;
}

.shw-login-modal__tabs button {
	min-height: 42px;
	padding: 8px 10px;
	border: 0;
	border-radius: 2px;
	background: transparent;
	color: #5b675f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .045em;
	cursor: pointer;
}

.shw-login-modal__tabs button[aria-selected='true'] {
	background: #fff;
	color: var(--shw-forest);
	box-shadow: 0 2px 8px rgba(7,26,18,.11);
}

.shw-login-modal__tabs button:focus-visible {
	outline: 2px solid var(--shw-gold);
	outline-offset: 1px;
}

.shw-login-modal .woocommerce-form-login {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.shw-login-modal .cf-turnstile {
	min-height: 65px;
	margin: 2px 0 18px;
}

.shw-login-modal .cf-turnstile iframe {
	max-width: 100%;
}

.shw-login-modal__loading {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 80px;
	color: #647067;
	font-size: 14px;
}

.shw-login-modal__loading span {
	width: 24px;
	height: 24px;
	border: 2px solid rgba(16,43,31,.18);
	border-top-color: var(--shw-gold);
	border-radius: 50%;
	animation: shw-login-spin .75s linear infinite;
}

.shw-login-modal__error {
	padding: 15px;
	border-left: 3px solid #9b3d32;
	background: rgba(155,61,50,.08);
	color: #672d26;
	line-height: 1.55;
}

.shw-login-modal__error a {
	color: var(--shw-forest);
	font-weight: 700;
}

.shw-login-modal .woocommerce-error {
	margin: 0 0 22px;
	padding: 14px 16px 14px 42px;
	border-top: 0;
	border-left: 3px solid #9b3d32;
	background: rgba(155,61,50,.08);
	color: #672d26;
	font-size: 13px;
	line-height: 1.5;
}

@keyframes shw-login-spin {
	to { transform: rotate(360deg); }
}

.shw-login-modal .form-row {
	float: none;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
}

.shw-login-modal label {
	display: block;
	margin-bottom: 7px;
	color: var(--shw-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .045em;
}

.shw-login-modal input[type='text'],
.shw-login-modal input[type='password'],
.shw-login-modal input[type='email'] {
	width: 100%;
	height: 49px;
	padding: 0 15px;
	border: 1px solid #c9c7bb;
	border-radius: 2px;
	background: rgba(255,255,255,.78);
	color: var(--shw-ink);
	box-shadow: none;
}

.shw-login-modal input:focus {
	border-color: var(--shw-gold);
	box-shadow: 0 0 0 3px rgba(216,167,60,.14);
	outline: none;
}

.shw-login-modal .show-password-input {
	top: 50%;
	transform: translateY(-50%);
}

.shw-login-modal .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 2px 0 16px;
	font-weight: 600;
}

.shw-login-modal .woocommerce-form-login__rememberme input {
	accent-color: var(--shw-forest);
}

.shw-login-modal .woocommerce-form-login__submit,
.shw-login-modal .woocommerce-form-register__submit {
	width: 100%;
	min-height: 49px;
	margin: 0 0 16px;
	border: 1px solid var(--shw-forest);
	border-radius: 2px;
	background: var(--shw-forest);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.shw-login-modal .woocommerce-form-login__submit:hover,
.shw-login-modal .woocommerce-form-login__submit:focus-visible,
.shw-login-modal .woocommerce-form-register__submit:hover,
.shw-login-modal .woocommerce-form-register__submit:focus-visible {
	border-color: var(--shw-gold);
	background: var(--shw-gold);
	color: var(--shw-forest-deep);
	outline: none;
}

.shw-login-modal__password-note,
.shw-login-modal .woocommerce-privacy-policy-text {
	color: #647067;
	font-size: 12px;
	line-height: 1.55;
}

.shw-login-modal .woocommerce-privacy-policy-text a {
	color: var(--shw-moss);
	font-weight: 700;
}

.shw-login-modal .woocommerce-LostPassword {
	margin: 0;
	text-align: center;
}

.shw-login-modal .woocommerce-LostPassword a {
	color: var(--shw-moss);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(51,91,61,.3);
	text-underline-offset: 3px;
}

@media (max-width: 760px) {
	.shw-login-modal {
		grid-template-columns: 1fr;
		width: min(520px, calc(100vw - 24px));
		max-height: calc(100dvh - 24px);
	}

	.shw-login-modal__brand {
		min-height: 190px;
		padding: 28px 26px;
	}

	.shw-login-modal__brand > img {
		width: 112px;
		height: 66px;
		padding: 8px;
	}

	.shw-login-modal__welcome h2 {
		margin-bottom: 0;
		font-size: 28px;
	}

	.shw-login-modal__welcome span {
		display: none;
	}

	.shw-login-modal__form {
		padding: 34px 26px 30px;
	}

	.shw-login-modal__form h2 {
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.shw-cart-drawer__header {
		min-height: 112px;
		padding: 18px;
	}

	.shw-cart-drawer__brand {
		flex-basis: 56px;
		width: 56px;
		height: 56px;
	}

	.shw-cart-drawer__body {
		padding: 22px 18px;
	}

	.shw-cart-drawer__contents .woocommerce-mini-cart__buttons {
		grid-template-columns: 1fr;
	}

	.shw-cart-drawer__heading h2 {
		font-size: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shw-shop-overlay,
	.shw-cart-drawer,
	.shw-login-modal,
	.shw-shop-close {
		transition: none !important;
	}
}
