
/* Author Worlds — Harper Shop
   Scoped aggressively so the plugin cannot restyle the site header/navigation/footer.
*/

.aw-harper-shop-page .entry-content,
.aw-harper-shop-page .wp-block-post-content {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.awhs,
.awhs * {
	box-sizing: border-box;
}

.awhs {
	--awhs-black: #0d0a0b;
	--awhs-wine: #73192d;
	--awhs-wine-dark: #3a111c;
	--awhs-plum: #221116;
	--awhs-blush: #dfa297;
	--awhs-paper: #f4ece5;
	--awhs-ivory: #fff9f3;
	--awhs-ink: #352126;
	--awhs-gold: #d8a540;
	--awhs-border: rgba(184, 121, 117, .32);

	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	margin-left: -50vw;
	overflow: hidden;
	background: var(--awhs-paper);
	color: var(--awhs-ink);
	font-family: "Lora", Georgia, serif;
}

.awhs a {
	text-decoration: none;
}

.awhs-shell {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.awhs-kicker,
.awhs-filter-label,
.awhs-card-kicker,
.awhs-number {
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 1.4;
}

.awhs-gold {
	color: var(--awhs-gold);
}

.awhs h1,
.awhs h2,
.awhs h3 {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 400;
	margin: 0;
}

.awhs em,
.awhs-script {
	font-family: "Playfair Display", Georgia, serif;
	font-style: italic;
	font-weight: 400;
}

.awhs-hero {
	position: relative;
	background:
		linear-gradient(115deg, var(--awhs-black) 0%, #140c0f 42%, #5e1527 100%);
	color: var(--awhs-ivory);
	padding: 88px 0 82px;
}

.awhs-hero-grid {
	position: absolute;
	inset: 0 auto 0 0;
	width: 46%;
	opacity: .11;
	background-image:
		linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(to right, black, transparent);
}

.awhs-hero-inner {
	position: relative;
	z-index: 1;
}

.awhs-hero h1 {
	font-size: clamp(64px, 8vw, 126px);
	line-height: .89;
	letter-spacing: -.045em;
	max-width: 900px;
	margin: 24px 0 30px;
}

.awhs-hero h1 em {
	color: var(--awhs-blush);
}

.awhs-hero-copy {
	max-width: 720px;
	font-size: clamp(19px, 2.2vw, 27px);
	line-height: 1.55;
	margin: 0 0 46px;
	color: rgba(255,249,243,.95);
}

.awhs-filter-label {
	margin-bottom: 16px;
}

.awhs-filters,
.awhs-coming-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.awhs-filter,
.awhs-coming-categories span {
	border: 1px solid rgba(255,255,255,.36);
	border-radius: 999px;
	background: transparent;
	color: var(--awhs-ivory);
	padding: 13px 21px;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	transition: .2s ease;
}

.awhs-filter {
	cursor: pointer;
}

.awhs-filter:hover,
.awhs-filter:focus-visible,
.awhs-filter.is-active {
	background: var(--awhs-wine);
	border-color: var(--awhs-blush);
	outline: none;
}

.awhs-empty-section {
	padding: 74px 0 82px;
	background:
		radial-gradient(circle at 84% 8%, rgba(222,158,149,.16), transparent 30%),
		var(--awhs-paper);
}

.awhs-empty-card {
	position: relative;
	border: 1px solid var(--awhs-border);
	padding: clamp(44px, 7vw, 84px);
	background: rgba(255,249,243,.58);
	box-shadow: 18px 20px 0 rgba(115,25,45,.05);
	overflow: hidden;
}

.awhs-empty-card h2 {
	font-size: clamp(48px, 7vw, 92px);
	line-height: .98;
	letter-spacing: -.035em;
	max-width: 900px;
	margin: 22px 0 26px;
}

.awhs-empty-card h2 em {
	color: var(--awhs-wine);
}

.awhs-empty-card p {
	max-width: 760px;
	font-size: 20px;
	line-height: 1.65;
	margin: 0 0 34px;
}

.awhs-empty-rings {
	position: absolute;
	width: 360px;
	height: 360px;
	right: -90px;
	top: -130px;
	border: 1px solid rgba(115,25,45,.08);
	border-radius: 50%;
	box-shadow:
		0 0 0 56px rgba(115,25,45,.025),
		0 0 0 112px rgba(115,25,45,.018);
}

.awhs-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.awhs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 25px;
	border-radius: 999px;
	background: var(--awhs-wine);
	border: 1px solid var(--awhs-wine);
	color: white !important;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	box-shadow: 0 14px 28px rgba(115,25,45,.16);
	transition: transform .2s ease, background .2s ease;
}

.awhs-button:hover {
	transform: translateY(-2px);
	background: #8a2338;
}

.awhs-button-outline {
	background: transparent;
	color: var(--awhs-wine) !important;
	box-shadow: none;
}

.awhs-button-outline:hover {
	background: rgba(115,25,45,.06);
}

.awhs-button-light {
	background: var(--awhs-ivory);
	color: var(--awhs-wine) !important;
	border-color: var(--awhs-ivory);
}

.awhs-featured {
	background: linear-gradient(110deg, #0d0a0b 0%, #2c1017 55%, #591326 100%);
	color: var(--awhs-ivory);
	padding: 86px 0;
}

.awhs-featured-inner {
	display: grid;
	grid-template-columns: minmax(260px, 420px) 1fr;
	gap: clamp(42px, 7vw, 100px);
	align-items: center;
}

.awhs-featured-image {
	padding: 12px;
	border: 1px solid rgba(223,162,151,.45);
}

.awhs-featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

.awhs-featured-copy h2 {
	font-size: clamp(54px, 7vw, 100px);
	line-height: .95;
	margin: 18px 0 12px;
}

.awhs-script {
	color: var(--awhs-blush);
	font-size: clamp(28px, 3.6vw, 50px);
	margin-bottom: 28px;
}

.awhs-featured-excerpt {
	font-size: 20px;
	line-height: 1.6;
	max-width: 650px;
}

.awhs-featured-price {
	font-size: 24px;
	margin: 22px 0;
}

.awhs-shop-grid-section {
	padding: 92px 0 110px;
	background:
		radial-gradient(circle at 50% 35%, rgba(223,162,151,.10), transparent 38%),
		var(--awhs-paper);
}

.awhs-shop-heading {
	display: grid;
	grid-template-columns: 1.05fr .75fr;
	gap: 60px;
	align-items: end;
	margin-bottom: 64px;
}

.awhs-shop-heading h2 {
	font-size: clamp(55px, 7vw, 96px);
	line-height: .94;
	letter-spacing: -.035em;
	margin-top: 14px;
}

.awhs-shop-heading > p {
	font-size: 21px;
	line-height: 1.55;
	max-width: 420px;
	margin: 0 0 8px auto;
}

.awhs-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px;
	align-items: start;
}

.awhs-product-card {
	background: rgba(255,255,255,.7);
	border: 1px solid rgba(111,63,69,.12);
	border-radius: 0 0 22px 22px;
	box-shadow: 0 28px 40px rgba(70,39,44,.09);
	overflow: visible;
	transition: transform .22s ease;
}

.awhs-product-card:hover {
	transform: translateY(-6px);
}

.awhs-card-image-wrap {
	display: block;
	margin: 0 20px;
	transform: translateY(-14px);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 18px 28px rgba(42,17,23,.13);
}

.awhs-card-image-wrap img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.awhs-product-placeholder {
	aspect-ratio: 2 / 3;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--awhs-black), var(--awhs-wine-dark));
	color: var(--awhs-blush);
	font-family: "Playfair Display", Georgia, serif;
	font-size: 64px;
}

.awhs-card-body {
	padding: 20px 30px 34px;
}

.awhs-card-kicker {
	color: var(--awhs-wine);
	margin-bottom: 14px;
}

.awhs-card-title {
	font-size: 37px;
	line-height: 1.04;
	margin: 0 0 12px;
}

.awhs-card-title a {
	color: var(--awhs-ink);
}

.awhs-card-excerpt {
	font-size: 17px;
	line-height: 1.55;
	margin: 18px 0;
}

.awhs-card-price {
	color: var(--awhs-wine);
	font-size: 20px;
	font-weight: 700;
	margin: 18px 0 22px;
}

.awhs-text-link {
	display: inline-flex;
	gap: 10px;
	color: var(--awhs-wine) !important;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.awhs-product-card.is-filtered-out {
	display: none;
}

.awhs-no-filter-results {
	padding: 34px;
	border: 1px dashed rgba(53,33,38,.35);
	font-size: 18px;
	text-align: center;
}

.awhs-more {
	position: relative;
	background: var(--awhs-black);
	color: var(--awhs-ivory);
	padding: 95px 0 105px;
	overflow: hidden;
}

.awhs-more::after {
	content: "";
	position: absolute;
	width: 460px;
	height: 460px;
	right: -170px;
	top: -250px;
	border: 1px solid rgba(223,162,151,.10);
	border-radius: 50%;
	box-shadow:
		0 0 0 60px rgba(223,162,151,.025),
		0 0 0 120px rgba(223,162,151,.018);
}

.awhs-more h2 {
	font-size: clamp(58px, 7vw, 96px);
	line-height: .95;
	margin: 14px 0 54px;
	max-width: 900px;
}

.awhs-more h2 em {
	color: var(--awhs-blush);
}

.awhs-more-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 24px;
}

.awhs-more-card {
	border: 1px solid rgba(223,162,151,.25);
	padding: 38px;
	min-height: 265px;
	background: linear-gradient(150deg, rgba(115,25,45,.23), rgba(255,255,255,.01));
}

.awhs-number {
	color: var(--awhs-blush);
	margin-bottom: 26px;
}

.awhs-more-card h3 {
	font-size: 31px;
	margin-bottom: 18px;
}

.awhs-more-card p {
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255,249,243,.86);
}

.awhs-newsletter {
	padding: 90px 0;
	background:
		radial-gradient(circle at 50% 50%, rgba(223,162,151,.12), transparent 40%),
		var(--awhs-paper);
}

.awhs-newsletter-card {
	position: relative;
	text-align: center;
	padding: 70px 40px 72px;
	border: 1px solid var(--awhs-border);
	background: rgba(255,249,243,.68);
	box-shadow: 0 24px 40px rgba(70,39,44,.08);
}

.awhs-heart {
	position: absolute;
	left: 50%;
	top: -20px;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--awhs-border);
	border-radius: 50%;
	background: var(--awhs-paper);
	color: var(--awhs-wine);
	font-size: 21px;
}

.awhs-newsletter-card h2 {
	font-size: clamp(54px, 6.8vw, 88px);
	line-height: .92;
	margin: 24px 0 22px;
}

.awhs-newsletter-card h2 em {
	color: var(--awhs-wine);
}

.awhs-newsletter-card p {
	font-size: 19px;
	line-height: 1.55;
	max-width: 760px;
	margin: 0 auto 32px;
}

@media (max-width: 900px) {
	.awhs-shell {
		width: min(100% - 34px, 720px);
	}

	.awhs-hero {
		padding: 66px 0 62px;
	}

	.awhs-featured-inner,
	.awhs-shop-heading {
		grid-template-columns: 1fr;
	}

	.awhs-featured-image {
		max-width: 430px;
		margin: 0 auto;
	}

	.awhs-shop-heading > p {
		margin-left: 0;
	}

	.awhs-product-grid,
	.awhs-more-grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
	}
}

@media (max-width: 620px) {
	.awhs-shell {
		width: calc(100% - 28px);
	}

	.awhs-hero h1 {
		font-size: clamp(54px, 17vw, 78px);
	}

	.awhs-empty-card {
		padding: 42px 26px 46px;
	}

	.awhs-button-row,
	.awhs-filters,
	.awhs-coming-categories {
		align-items: stretch;
	}

	.awhs-button {
		width: 100%;
	}

	.awhs-product-grid,
	.awhs-more-grid {
		grid-template-columns: 1fr;
	}

	.awhs-shop-heading h2,
	.awhs-more h2 {
		font-size: clamp(49px, 14vw, 70px);
	}

	.awhs-newsletter-card {
		padding: 58px 22px;
	}

	.awhs-card-title {
		font-size: 34px;
	}
}

/* =========================================================
   v1.1.0 — Luxury WooCommerce card refresh
   ========================================================= */

.awhs-shop-grid-section {
	padding-top: 98px;
}

.awhs-product-grid.is-single {
	grid-template-columns: minmax(320px, 430px);
	justify-content: center;
}

.awhs-product-card {
	position: relative;
	margin-top: 74px;
	background: rgba(255,249,243,.92);
	border: 1px solid rgba(111,63,69,.14);
	border-radius: 22px;
	box-shadow: 0 30px 54px rgba(70,39,44,.11);
	overflow: visible;
}

.awhs-card-image-wrap {
	position: relative;
	width: calc(100% - 52px);
	max-width: 330px;
	margin: -74px auto 0;
	transform: none;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 40px rgba(42,17,23,.18);
	background: var(--awhs-black);
}

.awhs-card-image-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: inherit;
	pointer-events: none;
}

.awhs-card-body {
	padding: 34px 34px 38px;
	text-align: left;
}

.awhs-card-format {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 6px 12px;
	margin-bottom: 18px;
	border: 1px solid rgba(115,25,45,.20);
	border-radius: 999px;
	background: rgba(223,162,151,.09);
	color: var(--awhs-wine);
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
}

.awhs-card-kicker {
	margin-bottom: 10px;
	font-size: 11px;
	letter-spacing: .18em;
}

.awhs-card-title {
	font-size: clamp(34px, 3vw, 43px);
	line-height: 1.02;
	margin-bottom: 14px;
}

.awhs-card-title a,
.awhs-card-title a:visited,
.awhs-card-title a:hover,
.awhs-card-title a:focus {
	color: var(--awhs-ink) !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.awhs-card-excerpt {
	margin: 16px 0 0;
	color: rgba(53,33,38,.84);
}

.awhs-card-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 24px 0 22px;
	color: var(--awhs-ink);
	font-family: "Playfair Display", Georgia, serif;
	font-size: 27px;
	font-weight: 500;
	line-height: 1;
}

.awhs-card-price del {
	font-size: 16px;
	opacity: .45;
}

.awhs-card-price ins {
	text-decoration: none;
}

.awhs-card-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--awhs-wine);
	border: 1px solid var(--awhs-wine);
	color: #fff !important;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .09em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 14px 24px rgba(115,25,45,.16);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.awhs-card-cta:hover,
.awhs-card-cta:focus-visible {
	background: #8a2338;
	transform: translateY(-2px);
	box-shadow: 0 18px 30px rgba(115,25,45,.22);
	outline: none;
}

.awhs-product-card:hover {
	transform: translateY(-5px);
}

/* One product should look curated, not stranded on the left. */
.awhs-product-grid.is-single .awhs-product-card {
	width: 100%;
	max-width: 430px;
	justify-self: center;
}

@media (max-width: 900px) {
	.awhs-product-grid.is-single {
		grid-template-columns: minmax(280px, 430px);
	}
}

@media (max-width: 620px) {
	.awhs-product-card {
		margin-top: 54px;
	}

	.awhs-card-image-wrap {
		width: calc(100% - 38px);
		margin-top: -54px;
	}

	.awhs-card-body {
		padding: 28px 24px 30px;
	}

	.awhs-card-cta {
		width: 100%;
	}
}

/* =========================================================
   v1.2.1 — Block-theme / constrained-layout width repair
   The Store can be rendered inside a narrow grid column by some
   WordPress block themes.  These rules reset only the Store's own
   content hosts; header, navigation and footer are untouched.
   ========================================================= */

.aw-harper-shop-page .awhs-fullwidth-host,
.aw-harper-shop-page main.awhs-main-replaced {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	grid-column: 1 / -1 !important;
	float: none !important;
}

/* A host that is itself a layout grid must not strand the shop in one column. */
.aw-harper-shop-page main.awhs-main-replaced,
.aw-harper-shop-page .awhs-fullwidth-host.awhs-layout-reset {
	display: block !important;
	grid-template-columns: none !important;
}

/* The shop should fill its repaired content host, not calculate its position
   from viewport math. The old 100vw/left/-50vw technique breaks when the
   theme places page content in a partial-width grid column. */
.aw-harper-shop-page .awhs {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	transform: none !important;
	overflow-x: clip;
}

.aw-harper-shop-page .awhs-shell {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Prevent any long headline or grid child from forcing horizontal scrolling. */
.aw-harper-shop-page .awhs h1,
.aw-harper-shop-page .awhs h2,
.aw-harper-shop-page .awhs h3,
.aw-harper-shop-page .awhs p,
.aw-harper-shop-page .awhs-featured-copy,
.aw-harper-shop-page .awhs-shop-heading,
.aw-harper-shop-page .awhs-product-grid,
.aw-harper-shop-page .awhs-more-grid,
.aw-harper-shop-page .awhs-newsletter-card {
	min-width: 0;
	max-width: 100%;
}

@supports not (overflow: clip) {
	.aw-harper-shop-page .awhs { overflow-x: hidden; }
}
