/*
Theme Name: FormAndHour Living
Theme URI: https://formandhour.com/
Description: A bright editorial WooCommerce child theme preserving the Watch Collection commerce stack.
Author: FormAndHour
Version: 1.1.0
Template: watch-collection
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: formandhour-living
*/

:root {
	--fh-ink: #1d1d1a;
	--fh-muted: #68645e;
	--fh-ivory: #fbf7ef;
	--fh-paper: #fffdf8;
	--fh-coral: #df6b4d;
	--fh-yellow: #f2d674;
	--fh-sage: #a9b99c;
	--fh-cobalt: #2758bd;
	--fh-blush: #efc1b0;
	--fh-line: rgba(29, 29, 26, .14);
	--fh-display: Georgia, "Times New Roman", serif;
	--fh-sans: var(--watch-font-body, Arial, sans-serif);
}

body.formandhour-living-theme {
	background: var(--fh-ivory);
	color: var(--fh-ink);
}

.formandhour-living-theme .watch-collection-header.is-overlay:not(.is-scrolled),
.formandhour-living-theme .watch-collection-header.is-scrolled {
	background: rgba(251, 247, 239, .96);
	border-bottom: 1px solid var(--fh-line);
	box-shadow: none;
	color: var(--fh-ink);
	backdrop-filter: blur(16px);
}

.formandhour-living-theme .watch-collection-header.is-overlay:not(.is-scrolled) .watch-collection-cart-count {
	background: var(--fh-coral);
	color: #fff;
}

.fh-editorial-home {
	background: var(--fh-ivory);
	color: var(--fh-ink);
	overflow: clip;
}

.fh-editorial-container {
	margin: 0 auto;
	max-width: 1500px;
	padding-left: clamp(18px, 3.25vw, 52px);
	padding-right: clamp(18px, 3.25vw, 52px);
}

.fh-editorial-kicker {
	color: var(--fh-coral);
	font-family: var(--fh-sans);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .2em;
	line-height: 1.5;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.fh-editorial-hero {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.42fr) minmax(230px, .64fr);
	margin: 0 auto;
	max-width: 1540px;
	min-height: 720px;
	padding: calc(var(--watch-header-height) + 24px) 18px 18px;
}

.fh-editorial-hero-copy {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: clamp(24px, 3.2vw, 52px) clamp(12px, 2.4vw, 38px);
}

.fh-editorial-hero-copy h1,
.fh-editorial-heading h2,
.fh-editorial-story-copy h2 {
	color: var(--fh-ink);
	font-family: var(--fh-display);
	font-weight: 400;
	letter-spacing: -.055em;
	line-height: .92;
	margin: 0;
}

.fh-editorial-hero-copy h1 {
	font-size: clamp(58px, 6.2vw, 98px);
	max-width: 560px;
}

.fh-editorial-hero-copy > p:not(.fh-editorial-kicker) {
	color: #41403b;
	font-size: 15px;
	line-height: 1.62;
	margin: 24px 0 28px;
	max-width: 390px;
}

.fh-editorial-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.fh-editorial-button,
.fh-editorial-product-card .button {
	align-items: center;
	background: var(--fh-coral);
	border: 1px solid var(--fh-coral);
	border-radius: 3px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 750;
	gap: 12px;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.fh-editorial-button:hover,
.fh-editorial-button:focus-visible,
.fh-editorial-product-card .button:hover,
.fh-editorial-product-card .button:focus-visible {
	background: var(--fh-ink);
	border-color: var(--fh-ink);
	color: #fff;
	transform: translateY(-2px);
}

.fh-editorial-button.is-outline {
	background: transparent;
	border-color: var(--fh-ink);
	color: var(--fh-ink);
	margin-top: 26px;
}

.fh-editorial-text-link {
	border-bottom: 1px solid currentColor;
	color: var(--fh-ink);
	font-size: 12px;
	font-weight: 750;
	padding-bottom: 3px;
	text-decoration: none;
}

.fh-editorial-note {
	color: #25241f;
	display: block;
	font-family: "Brush Script MT", "Segoe Script", cursive;
	font-size: clamp(25px, 2.8vw, 38px);
	line-height: 1.05;
	margin-top: clamp(44px, 7vw, 90px);
	max-width: 220px;
	transform: rotate(-4deg);
}

.fh-editorial-hero figure {
	margin: 0;
	overflow: hidden;
	position: relative;
}

.fh-editorial-hero-main {
	background: #ddd5c7;
	min-height: 0;
}

.fh-editorial-hero-main img,
.fh-editorial-detail-card img {
	display: block;
	height: 100%;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.fh-editorial-hero-main img {
	object-position: 67% center;
}

.fh-editorial-hero-main figcaption,
.fh-editorial-detail-card figcaption {
	background: rgba(251, 247, 239, .93);
	bottom: 16px;
	color: var(--fh-ink);
	font-family: var(--fh-sans);
	font-size: 11px;
	font-weight: 700;
	left: 16px;
	letter-spacing: .04em;
	line-height: 1.35;
	max-width: calc(100% - 32px);
	padding: 9px 11px;
	position: absolute;
	z-index: 2;
}

.fh-editorial-hero-details {
	display: grid;
	gap: 10px;
	grid-template-rows: repeat(2, minmax(0, 1fr));
}

.fh-editorial-detail-card {
	background: var(--fh-yellow);
}

.fh-editorial-detail-card.is-cobalt {
	background: var(--fh-cobalt);
}

.fh-editorial-detail-card img {
	object-position: center 36%;
}

.fh-editorial-detail-card.is-cobalt img {
	object-position: center 52%;
}

.fh-editorial-detail-card figcaption {
	font-family: "Brush Script MT", "Segoe Script", cursive;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0;
	max-width: 82%;
}

.fh-editorial-section {
	padding: clamp(80px, 9vw, 136px) 0;
}

.fh-editorial-heading {
	align-items: flex-end;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.fh-editorial-heading > div {
	max-width: 900px;
}

.fh-editorial-heading h2 {
	font-size: clamp(44px, 5.3vw, 76px);
}

.fh-editorial-heading p:not(.fh-editorial-kicker) {
	color: var(--fh-muted);
	font-size: 15px;
	line-height: 1.65;
	margin: 16px 0 0;
	max-width: 650px;
}

.fh-editorial-arrivals {
	background: var(--fh-paper);
	border-top: 1px solid var(--fh-line);
}

.fh-editorial-arrivals-grid {
	display: grid;
	gap: clamp(20px, 2.6vw, 42px);
	grid-template-columns: minmax(330px, .92fr) minmax(0, 1.38fr);
}

.fh-editorial-arrivals-story {
	aspect-ratio: 4 / 5;
	background: var(--fh-yellow);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.fh-editorial-arrivals-story img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.fh-editorial-arrivals-story figcaption,
.fh-editorial-story-image figcaption {
	background: rgba(251, 247, 239, .94);
	bottom: 18px;
	color: var(--fh-ink);
	font-family: var(--fh-display);
	font-size: clamp(22px, 2.4vw, 34px);
	left: 18px;
	line-height: 1.05;
	max-width: calc(100% - 36px);
	padding: 18px 20px;
	position: absolute;
}

.fh-editorial-arrivals-story figcaption span,
.fh-editorial-story-image figcaption span {
	color: var(--fh-coral);
	display: block;
	font-family: var(--fh-sans);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .18em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.fh-editorial-product-grid {
	align-content: start;
	display: grid;
	gap: 30px 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fh-editorial-product-card {
	min-width: 0;
	position: relative;
}

.fh-editorial-product-media {
	aspect-ratio: 1 / 1;
	background: #f2eee7;
	display: block;
	overflow: hidden;
	position: relative;
}

.fh-editorial-product-media img {
	height: 100% !important;
	object-fit: contain;
	padding: 6%;
	transition: transform .35s ease;
	width: 100% !important;
}

.fh-editorial-product-media:hover img,
.fh-editorial-product-media:focus-visible img {
	transform: scale(1.045);
}

.fh-editorial-product-copy {
	padding: 13px 2px 0;
}

.fh-editorial-product-copy h3 {
	font-family: var(--fh-sans);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
	margin: 0 0 6px;
	min-height: 2.7em;
}

.fh-editorial-product-copy h3 a {
	color: var(--fh-ink);
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.fh-editorial-product-price {
	color: var(--fh-muted);
	display: block;
	font-size: 12px;
	margin-bottom: 10px;
}

.fh-editorial-product-card .button {
	background: transparent;
	border-color: rgba(29, 29, 26, .35);
	color: var(--fh-ink);
	font-size: 10px;
	min-height: 36px;
	padding: 7px 12px;
	width: 100%;
}

.fh-editorial-product-card .added_to_cart {
	color: var(--fh-coral);
	display: block;
	font-size: 11px;
	font-weight: 700;
	margin-top: 8px;
}

.fh-editorial-categories {
	background: var(--fh-ivory);
}

.fh-editorial-category-row {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.fh-editorial-category-card {
	color: var(--fh-ink);
	display: block;
	min-width: 0;
	text-decoration: none;
}

.fh-editorial-category-media {
	aspect-ratio: 1 / 1.08;
	display: block;
	overflow: hidden;
}

.fh-editorial-category-card.tone-1 .fh-editorial-category-media { background: #f1d47b; }
.fh-editorial-category-card.tone-2 .fh-editorial-category-media { background: #aec2a3; }
.fh-editorial-category-card.tone-3 .fh-editorial-category-media { background: #efb7a6; }
.fh-editorial-category-card.tone-4 .fh-editorial-category-media { background: #315fc0; }
.fh-editorial-category-card.tone-5 .fh-editorial-category-media { background: #e8e0d2; }
.fh-editorial-category-card.tone-6 .fh-editorial-category-media { background: #9eb68c; }

.fh-editorial-category-media img {
	height: 100%;
	object-fit: contain;
	padding: 9%;
	transition: transform .35s ease;
	width: 100%;
}

.fh-editorial-category-card:hover img,
.fh-editorial-category-card:focus-visible img {
	transform: scale(1.06) rotate(-1deg);
}

.fh-editorial-category-card strong {
	align-items: center;
	display: flex;
	font-size: 12px;
	font-weight: 650;
	justify-content: space-between;
	padding: 12px 2px 0;
}

.fh-editorial-stories {
	background: #f3eee5;
	padding-bottom: 0;
}

.fh-editorial-story-layout {
	display: grid;
	grid-template-columns: 1.05fr .9fr 1fr;
	padding-left: 0;
	padding-right: 0;
	max-width: 1540px;
}

.fh-editorial-story-image {
	aspect-ratio: 4 / 5;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.fh-editorial-story-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.fh-editorial-story-image:first-child img {
	object-position: 44% center;
}

.fh-editorial-story-copy {
	align-items: flex-start;
	background: var(--fh-paper);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(36px, 5vw, 76px);
}

.fh-editorial-story-copy h2 {
	font-size: clamp(40px, 4.3vw, 66px);
}

.fh-editorial-story-copy > p:not(.fh-editorial-kicker) {
	color: var(--fh-muted);
	font-size: 14px;
	line-height: 1.7;
	margin: 22px 0 0;
}

.fh-editorial-story-image.is-departure img {
	object-position: 63% center;
}

.fh-editorial-story-image figcaption {
	font-size: clamp(20px, 2vw, 30px);
}

.fh-editorial-trust {
	background: var(--fh-paper);
	border-bottom: 1px solid var(--fh-line);
	border-top: 1px solid var(--fh-line);
	padding: 30px 0;
}

.fh-editorial-trust-grid {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fh-editorial-trust-grid > div {
	align-items: center;
	border-right: 1px solid var(--fh-line);
	display: flex;
	gap: 13px;
	min-width: 0;
	padding: 0 24px;
}

.fh-editorial-trust-grid > div:last-child {
	border-right: 0;
}

.fh-editorial-trust i {
	font-size: 20px;
	min-width: 24px;
}

.fh-editorial-trust span,
.fh-editorial-trust strong {
	display: block;
}

.fh-editorial-trust span {
	color: var(--fh-muted);
	font-size: 10px;
	line-height: 1.45;
}

.fh-editorial-trust strong {
	color: var(--fh-ink);
	font-size: 12px;
	margin-bottom: 2px;
}

.formandhour-living-theme .watch-collection-footer {
	background: var(--fh-ivory);
	color: #2f2924;
}

.formandhour-living-theme .watch-collection-footer h2,
.formandhour-living-theme .watch-collection-footer a,
.formandhour-living-theme .watch-collection-newsletter input,
.formandhour-living-theme .watch-collection-newsletter button {
	color: #2f2924;
}

.formandhour-living-theme .watch-collection-footer-signup > p {
	color: #746a61;
}

.formandhour-living-theme .watch-collection-newsletter {
	border-bottom-color: #a99b8c;
}

.formandhour-living-theme .watch-collection-newsletter:focus-within {
	border-bottom-color: #2f2924;
}

.formandhour-living-theme .watch-collection-newsletter input::placeholder {
	color: #746a61;
	opacity: 1;
}

.formandhour-living-theme .watch-collection-footer-bottom {
	border-top-color: #d8ccbe;
}

@media (min-width: 1101px) {
	.watch-collection-footer-grid {
		gap: clamp(28px, 3vw, 54px);
		grid-template-columns: 1.35fr .7fr .75fr .8fr 1fr;
	}
}

@media (max-width: 1180px) {
	.fh-editorial-hero {
		grid-template-columns: minmax(250px, .8fr) minmax(390px, 1.35fr) minmax(200px, .62fr);
		min-height: 650px;
	}

	.fh-editorial-hero-copy h1 {
		font-size: clamp(52px, 6vw, 74px);
	}

	.fh-editorial-arrivals-grid {
		grid-template-columns: minmax(300px, .8fr) minmax(0, 1.3fr);
	}

	.fh-editorial-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
	}

	.fh-editorial-trust-grid > div:nth-child(2) {
		border-right: 0;
	}
}

@media (max-width: 900px) {
	.fh-editorial-hero {
		grid-template-columns: 1fr 1fr;
		padding-top: calc(var(--watch-header-height) + 18px);
	}

	.fh-editorial-hero-copy,
	.fh-editorial-hero-main {
		grid-column: 1 / -1;
	}

	.fh-editorial-hero-copy {
		padding-bottom: 22px;
		padding-top: 40px;
	}

	.fh-editorial-hero-copy h1 {
		font-size: clamp(58px, 10vw, 84px);
		max-width: 720px;
	}

	.fh-editorial-note {
		margin-top: 36px;
	}

	.fh-editorial-hero-main {
		aspect-ratio: 3 / 2;
	}

	.fh-editorial-hero-details {
		display: contents;
	}

	.fh-editorial-detail-card {
		aspect-ratio: 4 / 5;
	}

	.fh-editorial-arrivals-grid {
		grid-template-columns: 1fr;
	}

	.fh-editorial-arrivals-story {
		aspect-ratio: 5 / 4;
	}

	.fh-editorial-arrivals-story img {
		object-position: center 38%;
	}

	.fh-editorial-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.fh-editorial-category-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 30px;
	}

	.fh-editorial-story-layout {
		grid-template-columns: 1fr 1fr;
	}

	.fh-editorial-story-copy {
		grid-column: 1 / -1;
		grid-row: 1;
		min-height: 450px;
	}

	.fh-editorial-story-image {
		aspect-ratio: 4 / 5;
	}
}

@media (max-width: 620px) {
	.fh-editorial-hero {
		gap: 6px;
		padding-left: 8px;
		padding-right: 8px;
	}

	.fh-editorial-hero-copy {
		padding: 32px 12px 24px;
	}

	.fh-editorial-hero-copy h1 {
		font-size: clamp(49px, 15vw, 64px);
		line-height: .94;
	}

	.fh-editorial-hero-copy > p:not(.fh-editorial-kicker) {
		font-size: 14px;
		margin: 18px 0 22px;
	}

	.fh-editorial-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.fh-editorial-note {
		font-size: 28px;
		margin-top: 30px;
	}

	.fh-editorial-hero-main {
		aspect-ratio: 4 / 3;
	}

	.fh-editorial-hero-main img {
		object-position: 68% center;
	}

	.fh-editorial-hero-main figcaption {
		font-size: 9px;
	}

	.fh-editorial-detail-card figcaption {
		bottom: 8px;
		font-size: 14px;
		left: 8px;
		max-width: calc(100% - 16px);
		padding: 7px 8px;
	}

	.fh-editorial-section {
		padding: 76px 0;
	}

	.fh-editorial-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.fh-editorial-heading h2,
	.fh-editorial-story-copy h2 {
		font-size: 43px;
	}

	.fh-editorial-arrivals-story {
		aspect-ratio: 4 / 5;
	}

	.fh-editorial-product-grid {
		gap: 28px 10px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fh-editorial-product-copy h3 {
		font-size: 11px;
	}

	.fh-editorial-category-row {
		gap: 26px 8px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fh-editorial-category-card strong {
		font-size: 11px;
	}

	.fh-editorial-story-layout {
		display: flex;
		flex-direction: column;
	}

	.fh-editorial-story-copy {
		min-height: 0;
		order: -1;
		padding: 70px 20px;
	}

	.fh-editorial-story-image {
		aspect-ratio: 4 / 5;
	}

	.fh-editorial-trust-grid {
		grid-template-columns: 1fr;
		row-gap: 0;
	}

	.fh-editorial-trust-grid > div,
	.fh-editorial-trust-grid > div:nth-child(2) {
		border-bottom: 1px solid var(--fh-line);
		border-right: 0;
		padding: 18px 4px;
	}

	.fh-editorial-trust-grid > div:last-child {
		border-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fh-editorial-button,
	.fh-editorial-product-card .button,
	.fh-editorial-product-media img,
	.fh-editorial-category-media img {
		transition: none;
	}
}

/* Collected Moments QA fixes */
.fh-editorial-hero-copy h1 {
	font-size: clamp(52px, 5vw, 76px);
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

.fh-editorial-heading h2,
.fh-editorial-story-copy h2 {
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

@media (max-width: 900px) {
	.fh-editorial-hero-copy h1 {
		font-size: clamp(52px, 9vw, 76px);
	}
}

@media (max-width: 620px) {
	.fh-editorial-hero-copy h1 {
		font-size: clamp(46px, 14vw, 60px);
	}
}
