/*
Theme Name: Harewood
Description: Lightweight custom theme for Harewood (harewood.studio). No page builder. Rebuilt from the Squarespace design.
Author: Harewood
Version: 0.1.0
Requires PHP: 8.0
Text Domain: harewood
*/

/* ---------- Tokens ---------- */
:root {
	--cream: #efe5d5;
	--pink: #f3a5c7;
	--blue: #a4bdc1;
	--blue-soft: #b1bec4;
	--ink: #141415;
	--white: #fff;
	--olive: #2a3419;
	--page-bg: var(--cream);
	--gutter: clamp(16px, 2vw, 32px);
	--font-head: "Averia Serif Libre", Georgia, serif;
	--font-body: "Bitter", Georgia, serif;
	--h1: clamp(2.5rem, 4.82vw, 5rem);
	--h2: clamp(2rem, 3.38vw, 3.5rem);
	--h3: clamp(1.5rem, 2.66vw, 2.75rem);
	--h4: clamp(1.25rem, 1.94vw, 2rem);
	--nav: clamp(1.125rem, 1.7vw, 1.75rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--page-bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--pink);
	margin: 0;
}
h1 { font-size: var(--h1); line-height: 1.056; }
h2 { font-size: var(--h2); line-height: 1.114; }
h3 { font-size: var(--h3); line-height: 1.15; }
h4 { font-size: var(--h4); line-height: 1.17; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Buttons ---------- */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 65px;
	padding: 0 2em;
	background: var(--blue);
	color: var(--white);
	border: 0;
	border-radius: 10px;
	font-family: var(--font-head);
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { opacity: 0.8; }
.btn--wide { width: 254px; max-width: 100%; }
.btn--mid { width: 201px; max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 18px var(--gutter);
	position: relative;
	z-index: 20;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.8vw, 44px); }
.site-nav a, .site-cart {
	font-family: var(--font-head);
	font-style: italic;
	font-size: var(--nav);
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--white);
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_parent > a, .site-cart:hover { border-bottom-color: currentColor; }
.site-logo { justify-self: center; display: block; }
.site-logo img { width: clamp(72px, 8.9vw, 128px); height: auto; }
.site-cart { justify-self: end; }
.nav-toggle { display: none; }

@media (max-width: 767px) {
	.site-header { padding-top: 14px; padding-bottom: 14px; }
	.nav-toggle {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
		width: 44px; height: 44px; padding: 8px; margin-left: -8px;
		background: none; border: 0; cursor: pointer; justify-self: start;
	}
	.nav-toggle span { display: block; height: 1.5px; width: 28px; background: var(--ink); transition: transform 0.25s ease; }
	.nav-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
	.nav-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
	.site-cart { color: var(--ink); font-size: 1.25rem; }
	.site-nav {
		position: fixed; inset: 0; z-index: -1;
		background: var(--cream);
		display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.site-nav ul { flex-direction: column; align-items: center; gap: 28px; }
	.site-nav a { font-size: 2.25rem; color: var(--ink); }
}

/* ---------- Wave dividers ---------- */
.wave { display: block; width: 100%; height: clamp(40px, 6.5vw, 96px); position: absolute; left: 0; }
.wave path { fill: var(--page-bg); }
.site-footer .wave--bottom path { fill: var(--cream); }
body.bg-white { --page-bg: #fff; }
.bg-white .site-nav a, .bg-white .site-cart { color: var(--ink); }
.site-footer__base { background: var(--cream); }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; }

/* ---------- Home: hero ---------- */
.hero {
	display: grid;
	grid-template-columns: repeat(24, 1fr);
	padding-top: clamp(24px, 8.6vw, 130px);
	padding-bottom: clamp(48px, 5.8vw, 90px);
}
.hero__img { grid-column: 1 / 16; grid-row: 1; }
.hero__img img { width: 100%; aspect-ratio: 811 / 931; object-fit: cover; }
.hero__text {
	grid-column: 14 / 23; grid-row: 1;
	position: relative; z-index: 1;
	padding-top: 8.75vw;
	padding-left: 0.4vw;
}
.hero__text h1 { color: var(--blue); margin-bottom: clamp(28px, 4.2vw, 64px); }
.hero__text p { font-weight: 700; font-style: italic; margin-bottom: 1.5em; }
.hero__text .btn { margin-top: clamp(12px, 2vw, 28px); }
@media (min-width: 768px) { .hero__text p { padding-left: 0; max-width: 467px; } }

@media (max-width: 767px) {
	.hero { display: block; padding-top: 8px; }
	.hero__img img { aspect-ratio: 1 / 1; }
	.hero__text { padding: 28px var(--gutter) 0; }
	.hero__text .btn { width: 100%; }
}

/* ---------- Home: New In ---------- */
.new-in { text-align: center; padding-top: clamp(40px, 3.4vw, 56px); padding-bottom: clamp(64px, 9.1vw, 140px); }
.new-in > p { margin: clamp(16px, 2vw, 28px) 0 clamp(28px, 4vw, 56px); }
.new-in__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.new-in__item img { width: 100%; aspect-ratio: 413 / 409; object-fit: cover; }
.new-in__item h4 { color: var(--blue-soft); margin: 11px 0 16px; }
.new-in__item h4 span { display: block; color: var(--pink); }
@media (max-width: 767px) {
	.new-in__grid { grid-template-columns: 1fr; gap: 44px; }
	.new-in__item .btn { width: 100%; }
}

/* ---------- Home: reviews ---------- */
.reviews {
	position: relative;
	background: var(--pink) center / cover no-repeat;
	padding: clamp(48px, 4.5vw, 64px) clamp(64px, 9vw, 130px) clamp(110px, 11.6vw, 165px);
	text-align: center;
}
.reviews__track { max-width: 631px; margin: 0 auto; display: grid; }
.review { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; align-self: center; }
.review.is-active { opacity: 1; visibility: visible; }
.review blockquote { margin: 0; }
.review blockquote p {
	font-family: var(--font-head); font-style: italic; font-size: var(--h4);
	line-height: 1.17; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0;
}
.review cite { display: block; font-style: normal; margin-top: clamp(32px, 4.8vw, 64px); }
.reviews__arrow {
	position: absolute; top: 41%; transform: translateY(-50%);
	width: clamp(44px, 4.5vw, 60px); height: clamp(44px, 4.5vw, 60px); border-radius: 50%;
	border: 0; background: rgba(243, 165, 199, 0.75); color: var(--white); cursor: pointer;
	display: grid; place-items: center;
}
.reviews__arrow svg { width: 55%; height: auto; }
.reviews__arrow--prev { left: clamp(12px, 3vw, 40px); }
.reviews__arrow--next { right: clamp(12px, 3vw, 40px); }
@media (max-width: 767px) {
	.reviews { padding: 56px var(--gutter) 170px; }
	.reviews__arrow { top: auto; bottom: 84px; transform: none; }
	.reviews__arrow--prev { left: calc(50% - 52px); }
	.reviews__arrow--next { right: calc(50% - 52px); }
}

/* ---------- Home: Criss-Cross ---------- */
.feature { position: relative; height: 92vw; }
.feature > * { position: absolute; }
.feature__img1 { left: 14.14%; top: 6.24vw; width: 27.22%; }
.feature__img1 img { width: 100%; aspect-ratio: 358 / 448; object-fit: cover; }
.feature__img2 { left: 62.5%; top: 4.87vw; width: 37.5%; }
.feature__img2 img { width: 100%; aspect-ratio: 493 / 739; object-fit: cover; }
.feature__img3 { left: 34.3%; top: 51.18vw; width: 31.4%; z-index: 1; }
.feature__img3 img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.feature__text { left: var(--gutter); top: 35.2vw; width: 23.35%; z-index: 2; }
.feature__text h1 { white-space: nowrap; margin-bottom: clamp(24px, 3.7vw, 56px); }
.feature__text .btn { margin-top: clamp(24px, 3.7vw, 56px); }
@media (max-width: 767px) {
	.feature { height: auto; padding: 56px var(--gutter) 72px; display: flex; flex-direction: column; gap: 20px; }
	.feature > * { position: static; width: auto; left: auto; top: auto; }
	.feature__img1 { order: 1; width: 62%; }
	.feature__text { order: 2; margin-top: -52px; position: relative; left: auto; top: auto; }
	.feature__img2 { order: 3; width: 82%; align-self: flex-end; margin-right: calc(var(--gutter) * -1); margin-top: 20px; }
	.feature__img3 { order: 4; width: 62%; margin-top: -60px; }
	.feature__text .btn { width: 100%; }
}

/* ---------- Home: Instagram ---------- */
.follow { text-align: center; padding: clamp(40px, 3.3vw, 56px) var(--gutter) clamp(56px, 6vw, 90px); }
.follow h1 { font-size: clamp(2.75rem, 7.33vw, 7.5rem); line-height: 1; white-space: nowrap; }
.follow__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.14vw, 16px);
	width: min(100%, 55.4vw); margin: clamp(10px, 1.4vw, 22px) auto 0;
}
.follow__grid a { display: block; }
.follow__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.follow__icon {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--ink); color: var(--white); margin-top: clamp(32px, 4vw, 56px);
}
.follow__icon svg { width: 24px; height: 24px; }
.follow__link { display: block; margin-top: 18px; font-size: var(--nav); color: var(--pink); text-decoration: none; }
.follow__link:hover { text-decoration: underline; }
@media (max-width: 767px) { .follow__grid { grid-template-columns: repeat(2, 1fr); width: 100%; } }

/* ---------- Footer ---------- */
.site-footer__signup {
	position: relative;
	background: #cf8fb1 center / cover no-repeat;
	color: var(--white);
	text-align: center;
	padding: clamp(64px, 7.8vw, 104px) var(--gutter) clamp(130px, 17vw, 240px);
}
.site-footer__signup.has-wave-top { padding-top: clamp(110px, 14vw, 190px); }
.site-footer__signup::before { content: ""; position: absolute; inset: 0; background: rgba(120, 40, 80, 0.2); }
.site-footer__signup > * { position: relative; }
.site-footer__signup > .wave { position: absolute; }
.site-footer__signup h2 { color: var(--white); font-size: clamp(1.75rem, 2.75vw, 2.75rem); }
.site-footer__signup h2 + p { margin: 20px 0 32px; }
.signup-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1020px; margin: 0 auto; }
.signup-form input {
	flex: 1 1 200px; min-height: 64px; padding: 0 2em;
	border: 0; border-radius: 0; background: rgba(255, 255, 255, 0.6);
	font: inherit; color: var(--ink);
}
.signup-form input::placeholder { color: rgba(20, 20, 21, 0.55); }
.signup-form .btn { background: var(--white); color: var(--pink); min-height: 64px; }
.signup-form__note { flex-basis: 100%; margin: 8px 0 0; }
.site-footer__info { margin-top: clamp(90px, 13vw, 180px); }
.site-footer__info strong { letter-spacing: 0; }
.site-footer__info p { margin-bottom: 10px; }
.site-footer__info a { text-underline-offset: 3px; }
.site-footer__insta { display: inline-block; margin-top: 30px; color: var(--white); }
.site-footer__insta svg { width: 32px; height: 32px; }
.site-footer__base { text-align: center; padding: clamp(8px, 1.2vw, 20px) var(--gutter) clamp(48px, 5vw, 72px); }
.site-footer__base img { width: clamp(160px, 15.2vw, 220px); margin: 0 auto clamp(28px, 3.4vw, 48px); }
@media (max-width: 767px) {
	.signup-form { flex-direction: column; }
	.signup-form input { flex: 0 0 auto; }
}

/* ---------- Generic pages ---------- */
.page-content { max-width: 820px; margin: 0 auto; padding: clamp(24px, 3vw, 48px) var(--gutter) clamp(64px, 8vw, 120px); }
.page-content--wide { max-width: 1200px; }
.page-content > h1 { margin-bottom: 0.6em; text-align: center; }

/* ---------- Text pages (Shipping, T&Cs) ---------- */
.prose { max-width: calc(890px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(32px, 6.8vw, 96px) var(--gutter) clamp(72px, 12vw, 180px); font-size: 0.9rem; }
.prose > h1 { font-size: var(--h2); margin-bottom: clamp(40px, 5vw, 68px); }
.prose h2, .prose h3 { font-size: var(--h3); margin-bottom: clamp(20px, 2.4vw, 33px); }
.prose p { margin-bottom: 1.15em; }
.prose a { color: var(--olive); text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--ink); margin: clamp(72px, 14vw, 220px) 0 clamp(40px, 4.8vw, 66px); }

/* ---------- About ---------- */
.about { padding: clamp(24px, 3.4vw, 48px) 6% clamp(72px, 12vw, 170px); }
.about__top { display: grid; grid-template-columns: minmax(0, 720fr) minmax(0, 383fr); gap: clamp(28px, 4.8vw, 67px); align-items: start; max-width: 1170px; font-size: 0.9rem; }
.about__top h3 { margin-bottom: clamp(24px, 2.3vw, 32px); }
.about__top p { margin-bottom: 1.15em; }
.about__img img { width: 100%; aspect-ratio: 383 / 466; object-fit: cover; }
.about__quote { color: var(--blue-soft); margin: clamp(8px, 1.2vw, 16px) 0 clamp(24px, 2.4vw, 33px); }
.about__end { font-size: 0.9rem; }
.about__end .btn { margin-top: clamp(24px, 2.3vw, 32px); min-height: 69px; }
@media (max-width: 767px) {
	.about { padding-left: var(--gutter); padding-right: var(--gutter); }
	.about__top { grid-template-columns: 1fr; }
	.about__img { max-width: 420px; margin-bottom: 12px; }
	.about__end .btn { width: 100%; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 551fr) minmax(0, 607fr); gap: clamp(32px, 8.9vw, 124px); align-items: start; padding: 16px var(--gutter) clamp(72px, 10.3vw, 144px); color: var(--olive); max-width: 1340px; }
.contact h2 { color: var(--olive); }
.contact__intro { font-size: clamp(1.125rem, 1.63vw, 1.5rem); margin: clamp(20px, 2.1vw, 29px) 0 clamp(48px, 6.5vw, 91px); }
.contact__img img { width: 100%; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 9px; }
.contact-form legend { padding: 0; margin-bottom: 2px; }
.contact-form label { display: block; margin-bottom: 20px; }
.contact-form fieldset label { font-size: 12px; }
.contact-form label span { opacity: 0.75; margin-left: 4px; font-size: 12px; }
.contact-form input, .contact-form textarea {
	display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
	border: 1px solid #000; border-radius: 0; background: #fafafa; font: inherit; font-size: 16px; color: #000;
}
.contact-form input { height: 46px; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form .btn { background: var(--pink); min-height: 52px; padding: 0 1.3em; }
.contact-form__hp { position: absolute; left: -5000px; }
.form-note { padding: 14px 18px; margin: 0 0 24px; border-left: 4px solid var(--blue); background: #f6f4ef; }
.form-note--error { border-left-color: #c0392b; }
@media (max-width: 767px) {
	.contact { grid-template-columns: 1fr; }
	.contact__img { max-width: 360px; margin: 0 auto; }
	.contact-form .btn { width: 100%; }
}

/* ---------- Shop ---------- */
.shop-head { text-align: center; padding: clamp(12px, 2.9vw, 40px) var(--gutter) clamp(32px, 3.7vw, 52px); }
.shop-head h1 { color: var(--blue); text-transform: uppercase; }
.shop-head h3 { color: var(--ink); margin-top: 9px; }
.woocommerce ul.products {
	list-style: none; margin: 0; padding: 0 var(--gutter);
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: clamp(36px, 3vw, 44px) 13px;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product a.product-card { display: block; text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(0, 0, 0, 0.04); }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.product-card__media img + img { opacity: 0; }
.product-card:hover .product-card__media img + img { opacity: 1; }
.product-card__title {
	font-family: var(--font-head); font-style: italic; font-size: var(--h4); letter-spacing: -0.02em;
	line-height: 1.22; color: #000; margin: 40px 0 7px;
}
.product-card__price { color: var(--blue); }
.shop-main { padding-bottom: clamp(64px, 8vw, 120px); }
@media (max-width: 899px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } .product-card__title { margin-top: 20px; } }
@media (max-width: 520px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* ---------- Single product ---------- */
.product-page { padding: clamp(8px, 1.8vw, 28px) var(--gutter) 0; }
.crumbs { font-size: 16px; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.943fr); gap: clamp(24px, 2.7vw, 40px); align-items: start; }

.gallery { display: grid; grid-template-columns: clamp(40px, 3.9vw, 56px) minmax(0, 1fr); gap: 9px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; list-style: none; max-height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { display: block; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; width: 100%; }
.gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; }
.gallery__stage img.is-active { opacity: 1; }
.gallery__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 64px; height: 80px; border: 0; background: none; cursor: pointer; color: var(--ink);
	display: grid; place-items: center;
}
.gallery__arrow svg { width: 30px; height: 58px; }
.gallery__arrow--prev { left: 6px; }
.gallery__arrow--next { right: 6px; }

.summary h1 { font-size: var(--h2); margin: 6px 0 clamp(16px, 2.2vw, 30px); }
.summary .price {
	font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: var(--h4);
	letter-spacing: -0.02em; color: var(--ink); margin: 0 0 clamp(20px, 2.6vw, 36px);
}
.summary .price del { opacity: 0.5; font-weight: 400; }
.summary .price ins { text-decoration: none; }
.summary__excerpt { font-size: 16px; }
.summary__excerpt p { margin-bottom: 1.5em; }
.summary form.cart { margin-top: 20px; }
.summary table.variations { border: 0; border-collapse: collapse; width: 100%; max-width: 356px; margin: 0; }
.summary table.variations tr { display: block; margin-bottom: 14px; }
.summary table.variations th, .summary table.variations td { display: block; padding: 0; text-align: left; font-weight: 400; }
.summary table.variations label { display: block; font-size: 14px; margin-bottom: 8px; }
.summary table.variations label::after { content: ":"; }
.summary select {
	width: 100%; height: 55px; padding: 0 44px 0 16px;
	border: 1px solid var(--ink); border-radius: 0; background-color: transparent;
	font: inherit; font-size: 14px; color: var(--ink);
	appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M1 1l8 8 8-8' fill='none' stroke='%23141415' stroke-width='1.2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.summary .reset_variations { display: inline-block; font-size: 13px; margin-top: 6px; }
.summary .single_variation { margin: 0; }
.summary .woocommerce-variation-price { margin: 4px 0 14px; }
.summary .woocommerce-variation-price .price { font-size: 1.125rem; margin: 0; }
.summary .woocommerce-variation-availability, .summary .stock { display: none; }
.summary .woocommerce-variation-add-to-cart, .summary form.cart:not(.variations_form) { display: flex; gap: 11px; align-items: stretch; margin-top: 6px; }
.summary .quantity { display: flex; align-items: center; width: 80px; height: 54px; border: 1px solid var(--ink); }
.summary .quantity button { flex: 0 0 26px; height: 100%; border: 0; background: none; font-size: 20px; font-weight: 300; cursor: pointer; color: var(--ink); padding: 0; }
.summary .quantity input {
	width: 100%; min-width: 0; height: 100%; border: 0; background: none; text-align: center;
	font: inherit; font-size: 14px; color: var(--ink); -moz-appearance: textfield; padding: 0;
}
.summary .quantity input::-webkit-outer-spin-button, .summary .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.summary .single_add_to_cart_button { min-height: 54px; width: 207px; letter-spacing: 0.1em; }
.summary .single_add_to_cart_button.disabled { opacity: 1; cursor: pointer; }

.product-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 2.6vw, 36px); margin-top: clamp(48px, 7.5vw, 104px); align-items: start; }
.accordion { margin-top: clamp(0px, 5vw, 68px); border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--ink); }
.accordion summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
	padding: 14px 0; font-family: var(--font-head); font-style: italic; font-size: var(--h4);
	letter-spacing: -0.02em; color: var(--pink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
	content: ""; flex: 0 0 14px; height: 14px;
	background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
	transition: transform 0.25s ease;
}
.accordion details[open] summary::before { background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
.accordion__body { padding: 4px 0 22px 28px; }
.product-video video { width: 100%; background: #000; }

.also-like { padding: clamp(64px, 11vw, 150px) 0 clamp(48px, 6vw, 80px); }
.also-like > h2 { margin-bottom: clamp(20px, 2.6vw, 36px); }
.also-like ul.products { padding: 0 !important; }

@media (max-width: 767px) {
	.product-top, .product-more { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr; }
	.gallery__thumbs { flex-direction: row; order: 2; max-height: none; min-height: 0; overflow-x: auto; }
	.gallery__thumbs li { flex: 0 0 56px; }
	.summary table.variations { max-width: none; }
	.summary .single_add_to_cart_button { flex: 1; width: auto; }
	.accordion { margin-top: 0; }
}

/* ---------- WooCommerce bits ---------- */
.woocommerce-notices-wrapper { padding: 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; background: rgba(255, 255, 255, 0.55);
	border-left: 4px solid var(--blue); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.woocommerce-error { border-left-color: #c0392b; }
.woocommerce-message a.button, .woocommerce-info a.button { min-height: 44px; order: 2; }
.woocommerce-result-count, .woocommerce-ordering { display: none; }

/* ---------- Fade in on scroll ---------- */
.js .fade { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fade { opacity: 1; transform: none; transition: none; } }

/* ---------- Cart and checkout (WooCommerce's standard cart/checkout, dressed in the Harewood style) ---------- */
.page-content--wide { font-size: 16px; }
.page-content--wide > h1 { margin-bottom: clamp(28px, 4vw, 56px); }
.page-content--wide .wc-block-components-product-name {
	font-family: var(--font-head); font-style: italic; font-size: 1.375rem; letter-spacing: -0.02em;
	color: var(--ink); text-decoration: none;
}
.page-content--wide a.wc-block-components-product-name:hover { text-decoration: underline; }
.page-content--wide .wc-block-components-product-metadata { font-size: 0.875rem; opacity: 0.85; }
.page-content--wide .wc-block-cart-items .wc-block-cart-items__header { font-size: 0.8125rem; letter-spacing: 0.08em; }
.page-content--wide .wc-block-cart-items,
.page-content--wide .wc-block-cart-items td,
.page-content--wide .wc-block-cart-items th,
.page-content--wide .wc-block-components-totals-wrapper,
.page-content--wide .wc-block-components-totals-footer-item { border-color: rgba(20, 20, 21, 0.3) !important; }
.page-content--wide .wc-block-cart-item__image img { width: 110px; max-width: none; aspect-ratio: 1 / 1; object-fit: cover; }
.page-content--wide table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { width: 126px; }
.page-content--wide .wc-block-cart-item__total { font-size: 1rem; }
.page-content--wide .wc-block-components-quantity-selector { border: 1px solid var(--ink); border-radius: 0; }
.page-content--wide .wc-block-components-quantity-selector::after { border: 0; }
.page-content--wide .wc-block-cart__totals-title,
.page-content--wide .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--font-head); font-style: italic; font-size: 1.5rem; letter-spacing: -0.02em;
	text-transform: none; color: var(--pink); font-weight: 400;
}
.page-content--wide .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.page-content--wide .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em;
}
.page-content--wide .wc-block-components-button:not(.is-link) { width: 100%; min-height: 65px; }
.page-content--wide .wc-block-components-button:not(.is-link):hover { opacity: 0.8; }
.page-content--wide .wc-block-components-button:not(.is-link) .wc-block-components-button__text { letter-spacing: 0.1em; }

/* Checkout form */
.page-content--wide .wc-block-components-checkout-step__title,
.page-content--wide .wc-block-components-title.wc-block-components-title {
	font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.625rem;
	letter-spacing: -0.02em; color: var(--pink);
}
.page-content--wide .wc-block-components-checkout-step { margin-bottom: 36px; }
.page-content--wide .wc-block-components-text-input input,
.page-content--wide .wc-block-components-textarea,
.page-content--wide .wc-blocks-components-select .wc-blocks-components-select__container,
.page-content--wide .wc-blocks-components-select .wc-blocks-components-select__select,
.page-content--wide .wc-block-components-form .wc-block-components-text-input input {
	border: 1px solid var(--ink); border-radius: 0; background: rgba(255, 255, 255, 0.55); color: var(--ink);
	font-family: var(--font-body);
}
.page-content--wide .wc-blocks-components-select .wc-blocks-components-select__container { border: 0; }
.page-content--wide .wc-block-components-text-input input:focus,
.page-content--wide .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	box-shadow: 0 0 0 1px var(--ink); outline: none; background: #fff;
}
.page-content--wide .wc-block-components-text-input label,
.page-content--wide .wc-blocks-components-select__label { color: rgba(20, 20, 21, 0.7); }
.page-content--wide .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border: 1px solid var(--ink); border-radius: 0; background: rgba(255, 255, 255, 0.55); }
.page-content--wide .wc-block-components-radio-control__option,
.page-content--wide .wc-block-components-radio-control-accordion-option { border-radius: 0; }
.page-content--wide .wc-block-checkout__sidebar .wc-block-components-sidebar,
.page-content--wide .wp-block-woocommerce-checkout-order-summary-block {
	border: 1px solid rgba(20, 20, 21, 0.3); border-radius: 0; background: rgba(255, 255, 255, 0.35);
}
.page-content--wide .wc-block-components-order-summary-item__quantity { background: var(--pink); color: var(--white); border: 0; box-shadow: none; }
.page-content--wide .wc-block-components-order-summary-item__image img { aspect-ratio: 1 / 1; object-fit: cover; }
.page-content--wide .wc-block-checkout__terms { font-size: 0.875rem; }
.page-content--wide .wc-block-checkout__terms a, .page-content--wide .wc-block-components-checkout-return-to-cart-button { color: var(--ink); }
.page-content--wide .wc-block-components-notice-banner { border-radius: 0; }

/* Empty cart */
.page-content--wide .wp-block-woocommerce-empty-cart-block { text-align: center; padding-bottom: 24px; }
.page-content--wide .wc-block-cart__empty-cart__title {
	font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: var(--h3); letter-spacing: -0.02em; color: var(--ink);
}
.page-content--wide .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { background-color: var(--pink); }
.page-content--wide .wp-block-woocommerce-empty-cart-block .wp-block-separator { border: 0; border-top: 1px solid rgba(20, 20, 21, 0.3); margin: 40px auto; max-width: 200px; }
.page-content--wide .wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) { font-size: var(--h3); margin-bottom: 28px; }
.page-content--wide .wc-block-grid__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 13px; margin: 0; padding: 0; list-style: none; text-align: left; }
.page-content--wide .wc-block-grid__product { width: auto !important; max-width: none !important; flex: none !important; margin: 0; padding: 0; border: 0; }
.page-content--wide .wc-block-grid__product-link { text-decoration: none; }
.page-content--wide .wc-block-grid__product-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.page-content--wide .wc-block-grid__product-title { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; letter-spacing: -0.02em; color: #000; margin: 16px 0 4px; font-weight: 400; }
.page-content--wide .wc-block-grid__product-price { color: var(--blue); margin: 0 0 12px; display: block; }
.page-content--wide .wc-block-grid__product-add-to-cart { margin: 0; }
.page-content--wide .wc-block-grid__product-add-to-cart .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4em;
	background: var(--blue); color: var(--white); border-radius: 10px; text-decoration: none;
	font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.1em;
}
@media (max-width: 767px) {
	.page-content--wide .wc-block-grid__products { grid-template-columns: repeat(2, 1fr); }
	.page-content--wide .wc-block-cart-item__image img { width: 80px; }
	.page-content--wide table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { width: auto; }
}

/* Order confirmation */
.woocommerce-order { font-size: 16px; }
.woocommerce-order h2 { font-size: var(--h3); margin: 40px 0 16px; }
.woocommerce-order ul.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 24px 0; }
.woocommerce-order ul.woocommerce-order-overview li { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.woocommerce-order ul.woocommerce-order-overview strong { display: block; font-size: 1rem; text-transform: none; letter-spacing: 0; margin-top: 4px; }
.woocommerce-order table { width: 100%; border-collapse: collapse; }
.woocommerce-order table th, .woocommerce-order table td { text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(20, 20, 21, 0.3); }
.woocommerce-order table td:last-child, .woocommerce-order table th:last-child { text-align: right; }
.woocommerce-order address { font-style: normal; }
.page-content--wide table.wc-block-cart-items .wc-block-components-product-name { font-size: 1.375rem; line-height: 1.2; margin-bottom: 4px; display: inline-block; }
.page-content--wide .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.6em;
	background: var(--blue); color: var(--white); border-radius: 10px; text-decoration: none;
	font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.1em;
}
.page-content--wide .wp-block-button__link:hover { opacity: 0.8; }
.page-content--wide .wp-block-woocommerce-empty-cart-block .wp-block-buttons,
.page-content--wide .wp-block-woocommerce-empty-cart-block .wp-block-button { margin-top: 20px; }
.page-content--wide .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { margin-top: 56px; }
.page-content--wide .wc-block-grid__product { text-align: center; }
