/* Hoor Style Toolkit — storefront design system.
   Mobile first. Colour tokens are injected inline by the plugin. */

/* ---------------------------------------------------------- base & a11y */

.hoor-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	padding: 12px 20px;
	background: var(--hoor-primary);
	color: #fff;
	font-weight: 600;
	border-radius: 0 0 6px 0;
}
.hoor-skip:focus {
	left: 0;
}

.hoor-ds a:focus-visible,
.hoor-ds button:focus-visible,
.hoor-ds input:focus-visible,
.hoor-ds select:focus-visible,
.hoor-ds textarea:focus-visible,
.hoor-ds summary:focus-visible,
.hoor-ds [tabindex]:focus-visible {
	outline: 3px solid var(--hoor-primary);
	outline-offset: 2px;
	border-radius: 3px;
}

.hoor-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.hoor-ico {
	flex: 0 0 auto;
	fill: currentColor;
}

/* ------------------------------------------------- announcement bar */

.hoor-announce {
	background: var(--hoor-primary-dark);
	color: #fff;
	overflow: hidden;
	font-size: 12.5px;
	line-height: 1.4;
	padding: 9px 0;
}
.hoor-announce__track {
	display: flex;
	align-items: center;
	gap: 14px;
	width: max-content;
	animation: hoor-marquee 42s linear infinite;
}
.hoor-announce__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.hoor-announce__sep {
	color: var(--hoor-accent);
	font-style: normal;
	opacity: .85;
}
.hoor-announce .hoor-ico {
	width: 16px;
	height: 16px;
	opacity: .9;
}
.hoor-announce:hover .hoor-announce__track,
.hoor-announce:focus-within .hoor-announce__track {
	animation-play-state: paused;
}

@keyframes hoor-marquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.hoor-announce__track {
		animation: none;
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
		padding: 0 14px;
	}
}

/* --------------------------------------------------------- hero slider */

.hoor-hero {
	position: relative;
	background: var(--hoor-primary-soft);
	overflow: hidden;
}
.hoor-hero__track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.hoor-hero__track::-webkit-scrollbar {
	display: none;
}
.hoor-hero__slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: center;
	display: flex;
	flex-direction: column;
}
.hoor-hero__media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: #e7e1f2;
	overflow: hidden;
}
.hoor-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 8%;
	display: block;
}
.hoor-hero__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--hoor-sale);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 6px 13px;
	border-radius: 100px;
}
.hoor-hero__body {
	padding: 26px 22px 28px;
	text-align: center;
}
.hoor-hero__eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--hoor-accent-dark);
}
.hoor-hero__title {
	margin: 0 0 12px;
	font-size: clamp(22px, 6.2vw, 38px);
	line-height: 1.2;
	font-weight: 600;
	color: var(--hoor-ink);
}
.hoor-hero__price {
	margin: 0 0 20px;
	font-size: 17px;
	font-weight: 600;
	color: var(--hoor-ink);
}
.hoor-hero__price del {
	color: var(--hoor-body);
	font-weight: 400;
	opacity: .75;
	margin-right: 8px;
}
.hoor-hero__price ins {
	text-decoration: none;
	color: var(--hoor-ink);
}
.hoor-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 34px;
	background: var(--hoor-primary);
	color: #fff !important;
	border-radius: var(--hoor-radius, 6px);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hoor-hero__cta:hover,
.hoor-hero__cta:focus-visible {
	background: var(--hoor-primary-dark);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(31, 27, 46, .22);
}
.hoor-hero__note {
	margin: 14px 0 0;
	font-size: 12.5px;
	color: var(--hoor-body);
}
.hoor-hero__nav {
	position: absolute;
	top: 32%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .93);
	color: var(--hoor-ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(31, 27, 46, .12);
	display: grid;
	place-items: center;
	z-index: 2;
	transition: background .2s ease;
}
.hoor-hero__nav--prev { left: 12px; }
.hoor-hero__nav--next { right: 12px; }
.hoor-hero__nav:hover { background: #fff; }

.hoor-hero__dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	padding: 0 0 22px;
}
.hoor-hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cfc6e2;
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
}
.hoor-hero__dot[aria-current="true"] {
	width: 26px;
	border-radius: 100px;
	background: var(--hoor-primary);
}

@media (min-width: 1025px) {
	.hoor-hero__slide {
		flex-direction: row;
		align-items: stretch;
		min-height: 580px;
	}
	.hoor-hero__media {
		flex: 0 0 52%;
		aspect-ratio: auto;
		order: 2;
	}
	.hoor-hero__body {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		text-align: left;
		padding: 60px 5vw;
		order: 1;
	}
	.hoor-hero__nav { top: 50%; }
	.hoor-hero__nav--prev { left: 24px; }
	.hoor-hero__nav--next { right: 24px; }
	.hoor-hero__dots {
		position: absolute;
		bottom: 32px;
		left: 5vw;
		padding: 0;
	}
}

/* -------------------------------------------------------- trust badges */

.hoor-trust {
	list-style: none;
	margin: 22px 0 0;
	padding: 18px;
	display: grid;
	gap: 14px;
	background: var(--hoor-primary-soft);
	border-radius: 8px;
}
.hoor-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--hoor-ink);
	margin: 0;
}
.hoor-trust__ico {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: var(--hoor-primary);
}

@media (min-width: 1025px) {
	.hoor-trust {
		grid-template-columns: 1fr 1fr;
		gap: 16px 22px;
	}
}

/* ---------------------------------------------------- review jump link */

.hoor-reviewlink {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0 0 14px;
	padding: 10px 14px;
	background: var(--hoor-primary-soft);
	border-left: 3px solid var(--hoor-accent);
	border-radius: 0 6px 6px 0;
	font-size: 14px;
	color: var(--hoor-body);
}
.hoor-reviewlink__stars {
	letter-spacing: 1px;
	color: #d8d2e6;
	font-size: 15px;
}
.hoor-star.is-on {
	color: var(--hoor-accent-dark);
}
.hoor-reviewlink__a {
	color: var(--hoor-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hoor-reviewlink__a:hover {
	color: var(--hoor-primary-dark);
}
.hoor-reviewlink__social {
	color: var(--hoor-trust);
	font-weight: 600;
}

/* --------------------------------------------- product grid tidy-up */

.hoor-ds .product-grid-item .product-image-link img,
.hoor-ds ul.products li.product .product-image-link img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
	width: 100%;
	height: auto;
}

.hoor-ds .product-grid-item .wd-entities-title {
	min-height: 2.6em;
}

/* ------------------------------------------------------------- motion */

.hoor-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
	will-change: opacity, transform;
}
.hoor-reveal.is-in {
	opacity: 1;
	transform: none;
	will-change: auto;
}

@media (hover: hover) and (min-width: 1025px) {
	.hoor-motion .product-grid-item {
		transition: transform .35s cubic-bezier(.2, .7, .3, 1);
	}
	.hoor-motion .product-grid-item:hover {
		transform: translateY(-6px);
	}
	.hoor-motion .hoor-tilt {
		transform-style: preserve-3d;
		transition: transform .25s ease;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.hoor-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------- wider site container */

@media (min-width: 1400px) {
	.hoor-ds .container,
	.hoor-ds .wd-content-layout.container,
	.hoor-ds .elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 1560px;
	}
}

/* ------------------------------------------------- single product page */

/* The theme ships green buy buttons; bring them back to the brand. */
.hoor-ds .single_add_to_cart_button,
.hoor-ds .wd-buy-now-btn {
	min-height: 52px;
	border-radius: 6px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hoor-ds .wd-buy-now-btn {
	background-color: var(--hoor-primary) !important;
	border-color: var(--hoor-primary) !important;
	color: #fff !important;
}
.hoor-ds .wd-buy-now-btn:hover {
	background-color: var(--hoor-primary-dark) !important;
	border-color: var(--hoor-primary-dark) !important;
}
.hoor-ds .single_add_to_cart_button {
	background-color: #fff !important;
	border: 1.5px solid var(--hoor-primary) !important;
	color: var(--hoor-primary) !important;
}
.hoor-ds .single_add_to_cart_button:hover {
	background-color: var(--hoor-primary) !important;
	color: #fff !important;
}

/* Size swatches read as buttons, with a clear selected state. */
.hoor-ds .wd-swatch {
	min-height: 44px;
	min-width: 56px;
	border-radius: 6px;
}
.hoor-ds .wd-swatch.wd-active,
.hoor-ds .wd-swatch[aria-checked="true"] {
	border-color: var(--hoor-primary);
	box-shadow: inset 0 0 0 1px var(--hoor-primary);
}

/* Product title and price hierarchy. */
.hoor-ds .single-product .product_title {
	font-size: clamp(22px, 3.4vw, 30px);
	line-height: 1.22;
	margin-bottom: 10px;
}
.hoor-ds .single-product .summary .price,
.hoor-ds .single-product .elementor-widget-wd_single_product_price .price {
	font-size: clamp(22px, 3.2vw, 28px);
	font-weight: 700;
	color: var(--hoor-ink);
}
.hoor-ds .single-product .price del {
	font-size: .66em;
	font-weight: 400;
	color: var(--hoor-body);
}

/* The gallery follows the buyer down the long right-hand column. */
@media (min-width: 1025px) {
	.hoor-ds .single-product .elementor-widget-wd_single_product_gallery {
		position: sticky;
		top: 100px;
	}
}

/* The short description is pasted marketing copy; give it room to breathe. */
.hoor-ds .single-product .woocommerce-product-details__short-description {
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--hoor-body);
}
.hoor-ds .single-product .woocommerce-product-details__short-description p {
	margin: 0 0 10px;
}
