/*
Theme Name: CS Olney Minimog Child
Theme URI: https://csolney.shop/
Author: COUNTRY & STABLE OF OLNEY LIMITED
Version: 1.1.4
Template: minimog
Text Domain: csolney-minimog-child
*/

:root {
	--csolney-ink: #1d1d1b;
	--csolney-paper: #f7f5f0;
	--csolney-stone: #ddd7cc;
	--csolney-sage: #707565;
	--csolney-line: rgba(29, 29, 27, 0.14);
}

* {
	box-sizing: border-box;
}

body.csolney-home,
body.csolney-site-page {
	margin: 0;
	color: var(--csolney-ink);
	background: #fff;
	font-family: Jost, Arial, sans-serif;
}

.csolney-home a,
.csolney-site-page a {
	color: inherit;
	text-decoration: none;
}

.csolney-shell {
	width: min(100% - 48px, 1440px);
	margin-inline: auto;
}

.csolney-announcement {
	padding: 9px 16px;
	color: #fff;
	background: var(--csolney-ink);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.csolney-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--csolney-line);
	background: rgba(255, 255, 255, 0.96);
}

.csolney-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 78px;
	gap: 32px;
}

.csolney-nav,
.csolney-actions {
	display: flex;
	align-items: center;
	gap: 25px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.csolney-nav a,
.csolney-actions a {
	position: relative;
	padding-block: 28px;
}

.csolney-nav a::after,
.csolney-actions a::after {
	position: absolute;
	right: 0;
	bottom: 22px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.csolney-nav a:hover::after,
.csolney-actions a:hover::after {
	transform: scaleX(1);
}

.csolney-logo {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	letter-spacing: 0.16em;
	text-align: center;
	white-space: nowrap;
}

.csolney-actions {
	justify-content: flex-end;
}

.csolney-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	margin-left: 4px;
	border-radius: 999px;
	color: #fff;
	background: var(--csolney-ink);
	font-size: 10px;
	line-height: 1;
}

.csolney-mobile-menu {
	display: none;
}

.csolney-hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: clamp(620px, 74vw, 860px);
	overflow: hidden;
	color: #fff;
	background: #938e86 center 31% / cover no-repeat;
	isolation: isolate;
}

.csolney-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(17, 17, 15, 0.42) 0%, rgba(17, 17, 15, 0.1) 48%, transparent 75%),
		linear-gradient(0deg, rgba(17, 17, 15, 0.2), transparent 45%);
	content: "";
}

.csolney-hero__content {
	max-width: 680px;
	padding: 0 0 clamp(72px, 9vw, 128px);
}

.csolney-eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.csolney-hero h1,
.csolney-editorial h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(48px, 6.4vw, 98px);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 0.96;
}

.csolney-home .csolney-hero h1,
.csolney-home .csolney-editorial h2 {
	color: #fff !important;
}

.csolney-hero p {
	max-width: 500px;
	margin: 24px 0 32px;
	font-size: 17px;
	line-height: 1.6;
}

.csolney-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 31px;
	border: 1px solid var(--csolney-ink);
	color: #fff;
	background: var(--csolney-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition:
		color 180ms ease,
		background 180ms ease;
}

.csolney-button:hover {
	color: var(--csolney-ink);
	background: transparent;
}

.csolney-button--light {
	border-color: #fff;
	color: var(--csolney-ink);
	background: #fff;
}

.csolney-home .csolney-button--light {
	color: var(--csolney-ink) !important;
}

.csolney-button--light:hover {
	color: #fff;
	background: transparent;
}

.csolney-home .csolney-button--light:hover {
	color: #fff !important;
}

body.csolney-home #modal-promo-popup,
body.csolney-site-page #modal-promo-popup {
	display: none !important;
}

body.csolney-home.dialog-body,
body.csolney-site-page.dialog-body {
	overflow: auto !important;
	padding-right: 0 !important;
}

.csolney-section {
	padding-block: clamp(72px, 9vw, 128px);
}

.csolney-section--soft {
	background: var(--csolney-paper);
}

.csolney-section__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 38px;
}

.csolney-section__head h2,
.csolney-story__content h2,
.csolney-newsletter h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 4.2vw, 58px);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.04;
}

.csolney-text-link {
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.csolney-category-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.csolney-category-card {
	position: relative;
	display: flex;
	align-items: end;
	min-height: min(70vw, 760px);
	overflow: hidden;
	background: #c4c0b9 center 26% / cover no-repeat;
	isolation: isolate;
}

.csolney-category-card::after {
	position: absolute;
	inset: 40% 0 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(18, 18, 17, 0.52), transparent);
	content: "";
}

.csolney-category-card__content {
	padding: 42px;
	color: #fff;
}

.csolney-category-card h2 {
	margin: 0 0 18px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 400;
}

.csolney-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 38px 18px;
}

.csolney-product {
	position: relative;
	min-width: 0;
}

.csolney-product__image {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #eeeae3;
}

.csolney-product__media {
	display: block;
	width: 100%;
	height: 100%;
}

.csolney-product__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.csolney-product:hover .csolney-product__image img {
	transform: scale(1.035);
}

.csolney-product__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 7px 10px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.csolney-product__quick {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	color: #fff !important;
	background: rgba(29, 29, 27, 0.92);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	transform: translateY(120%);
	transition: transform 220ms ease;
}

.csolney-product:hover .csolney-product__quick {
	transform: translateY(0);
}

.csolney-product__meta {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 16px;
	padding-top: 16px;
}

.csolney-product__title {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.csolney-product__price {
	font-size: 14px;
	white-space: nowrap;
}

.csolney-product__price del {
	margin-right: 6px;
	color: #8e8e88;
}

.csolney-product__price ins {
	text-decoration: none;
}

.csolney-editorial {
	display: grid;
	align-items: center;
	min-height: min(72vw, 860px);
	color: #fff;
	background: #8f8e88 center 44% / cover no-repeat;
}

.csolney-editorial__content {
	max-width: 760px;
	padding-block: 100px;
}

.csolney-editorial p {
	max-width: 560px;
	margin: 27px 0 36px;
	font-size: 17px;
	line-height: 1.65;
}

.csolney-collections {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.csolney-category-links {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid var(--csolney-line);
}

.csolney-category-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 110px;
	padding: 22px;
	border-right: 1px solid var(--csolney-line);
	border-bottom: 1px solid var(--csolney-line);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
}

.csolney-category-links a:last-child {
	border-right: 0;
}

.csolney-collection-status {
	padding: clamp(42px, 6vw, 78px);
	border: 1px solid var(--csolney-line);
	background: #fff;
	text-align: center;
}

.csolney-collection-status h3 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 400;
}

.csolney-collection-status p {
	max-width: 580px;
	margin: 0 auto;
	color: #6d6d67;
	font-size: 15px;
	line-height: 1.7;
}

.csolney-collection {
	display: block;
}

.csolney-collection__image {
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #ece8e0;
}

.csolney-collection__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.csolney-collection:hover img {
	transform: scale(1.04);
}

.csolney-collection h3 {
	margin: 14px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 400;
}

.csolney-story {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
	align-items: stretch;
}

.csolney-story__image {
	min-height: 720px;
	background: #b9b3a9 center 30% / cover no-repeat;
}

.csolney-story__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(56px, 7vw, 112px);
	background: var(--csolney-sage);
	color: #fff;
}

.csolney-story__content p {
	margin: 25px 0 33px;
	font-size: 17px;
	line-height: 1.75;
}

.csolney-quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.csolney-quote {
	padding: 36px;
	border: 1px solid var(--csolney-line);
	background: #fff;
}

.csolney-stars {
	margin-bottom: 22px;
	font-size: 12px;
	letter-spacing: 0.25em;
}

.csolney-quote blockquote {
	margin: 0 0 28px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1.5;
}

.csolney-quote cite {
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.csolney-benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-block: 1px solid var(--csolney-line);
}

.csolney-benefit {
	padding: 40px 28px;
	border-right: 1px solid var(--csolney-line);
	text-align: center;
}

.csolney-benefit:last-child {
	border-right: 0;
}

.csolney-benefit strong {
	display: block;
	margin-bottom: 7px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 400;
}

.csolney-benefit span {
	color: #6d6d67;
	font-size: 13px;
}

.csolney-footer {
	padding: 78px 0 34px;
	color: #eeeae3;
	background: #1f211f;
}

.csolney-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, 0.8fr) 1.35fr;
	gap: 42px;
}

.csolney-footer h3 {
	margin: 0 0 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.csolney-footer p,
.csolney-footer li,
.csolney-footer a {
	color: #c9c8c1;
	font-size: 13px;
	line-height: 1.75;
}

.csolney-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.csolney-newsletter h2 {
	margin-bottom: 18px;
	color: #fff;
	font-size: 31px;
}

.csolney-newsletter form {
	display: flex;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.csolney-newsletter input {
	width: 100%;
	padding: 13px 0;
	border: 0;
	outline: 0;
	color: #fff;
	background: transparent;
	font: inherit;
}

.csolney-newsletter input::placeholder {
	color: #aaa9a3;
}

.csolney-newsletter button {
	border: 0;
	color: #fff;
	background: transparent;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.csolney-footer__contact {
	display: inline-block;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.csolney-footer__grid--compact {
	grid-template-columns: 1.4fr repeat(3, 1fr);
}

.csolney-page {
	min-height: 60vh;
	padding-block: clamp(68px, 9vw, 132px);
	background: var(--csolney-paper);
}

.csolney-page__article {
	max-width: 860px;
	margin-inline: auto;
	padding: clamp(32px, 6vw, 76px);
	background: #fff;
	box-shadow: 0 24px 70px rgba(29, 29, 27, 0.06);
}

.csolney-page__article--wide {
	max-width: 1180px;
}

.csolney-page__article > h1 {
	margin: 0 0 38px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(42px, 6vw, 74px);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1;
}

.csolney-page__content {
	color: #42423e;
	font-size: 16px;
	line-height: 1.78;
}

.csolney-page__content h2 {
	margin: 44px 0 12px;
	color: var(--csolney-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
}

.csolney-page__content p,
.csolney-page__content ul,
.csolney-page__content ol {
	margin: 0 0 18px;
}

.csolney-page__content a {
	border-bottom: 1px solid currentColor;
}

.csolney-page__intro {
	color: var(--csolney-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.45;
}

.csolney-page__content button,
.csolney-page__content .button,
.csolney-page__content input[type="submit"] {
	border: 1px solid var(--csolney-ink);
	border-radius: 0;
	color: #fff;
	background: var(--csolney-ink);
}

.csolney-page__content input,
.csolney-page__content select,
.csolney-page__content textarea {
	border-radius: 0;
}

.csolney-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 58px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
	color: #999991;
	font-size: 11px;
	letter-spacing: 0.05em;
}

@media (max-width: 1120px) {
	.csolney-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.csolney-nav {
		display: none;
	}

	.csolney-logo {
		text-align: left;
	}

	.csolney-mobile-menu {
		position: relative;
		display: block;
	}

	.csolney-mobile-menu summary {
		cursor: pointer;
		font-size: 13px;
		font-weight: 600;
		list-style: none;
	}

	.csolney-mobile-menu summary::-webkit-details-marker {
		display: none;
	}

	.csolney-mobile-menu__panel {
		position: absolute;
		top: 37px;
		left: 0;
		display: grid;
		width: 230px;
		padding: 22px;
		border: 1px solid var(--csolney-line);
		background: #fff;
		box-shadow: 0 18px 42px rgba(20, 20, 18, 0.12);
		gap: 16px;
	}

	.csolney-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.csolney-collections {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.csolney-category-links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.csolney-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.csolney-footer__grid--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.csolney-newsletter {
		grid-column: span 2;
	}
}

@media (max-width: 760px) {
	.csolney-shell {
		width: min(100% - 28px, 1440px);
	}

	.csolney-announcement {
		font-size: 10px;
	}

	.csolney-header__inner {
		min-height: 64px;
		gap: 15px;
	}

	.csolney-logo {
		font-size: 17px;
	}

	.csolney-actions a {
		display: none;
	}

	.csolney-actions a:last-child {
		display: block;
		padding-block: 20px;
	}

	.csolney-hero {
		min-height: 720px;
		background-position: 55% 30%;
	}

	.csolney-hero::before {
		background: linear-gradient(0deg, rgba(17, 17, 15, 0.62), transparent 65%);
	}

	.csolney-hero__content {
		padding-bottom: 56px;
	}

	.csolney-hero h1 {
		font-size: 52px;
	}

	.csolney-category-grid,
	.csolney-story {
		grid-template-columns: 1fr;
	}

	.csolney-category-card {
		min-height: 620px;
	}

	.csolney-category-card__content {
		padding: 26px;
	}

	.csolney-section__head {
		align-items: start;
		flex-direction: column;
	}

	.csolney-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 12px;
	}

	.csolney-product__quick {
		position: static;
		margin-top: 8px;
		transform: none;
	}

	.csolney-editorial {
		min-height: 720px;
		background-position: 54% 30%;
	}

	.csolney-collections {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.csolney-category-links,
	.csolney-footer__grid--compact {
		grid-template-columns: 1fr;
	}

	.csolney-category-links a {
		min-height: 80px;
		border-right: 0;
	}

	.csolney-page {
		padding-block: 32px;
	}

	.csolney-page__article {
		padding: 28px 20px;
	}

	.csolney-story__image {
		min-height: 620px;
	}

	.csolney-story__content {
		padding: 52px 28px;
	}

	.csolney-quotes,
	.csolney-benefits,
	.csolney-footer__grid {
		grid-template-columns: 1fr;
	}

	.csolney-benefit {
		border-right: 0;
		border-bottom: 1px solid var(--csolney-line);
	}

	.csolney-benefit:last-child {
		border-bottom: 0;
	}

	.csolney-newsletter {
		grid-column: auto;
	}

	.csolney-footer__bottom {
		flex-direction: column;
	}
}
