/*
Theme Name: Farmer-BlackNWhite
Theme URI: https://farmersbar.com.my/
Author: Farmer's Bar
Description: A black-and-white, WooCommerce-native block theme for Farmer's Bar, inspired by the Commerce Grove Pro composition and built entirely with local assets.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Version: 1.1.10
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farmer-blacknwhite
Tags: block-patterns, block-styles, e-commerce, full-site-editing, wide-blocks
*/

:root {
	--farmer-bnw-black: #0c0c0c;
	--farmer-bnw-charcoal: #272524;
	--farmer-bnw-gray: #f6f6f7;
	--farmer-bnw-line: #dedede;
	--farmer-bnw-muted: #666666;
	--farmer-bnw-white: #ffffff;
	--farmer-bnw-accent: #459fda;
	--farmer-bnw-announcement-bg: #272524;
	--farmer-bnw-announcement-text: #ffffff;
	--farmer-bnw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

a {
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

button,
input,
select,
textarea {
	font: inherit;
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid rgba(69, 159, 218, 0.48);
	outline-offset: 3px;
}

.wp-site-blocks {
	min-height: 100vh;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

/* Keep every cover photograph at its original brightness and colour. */
.wp-block-cover .wp-block-cover__background {
	display: none !important;
}

.farmer-bnw-eyebrow {
	margin: 0 0 13px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.35;
	text-transform: uppercase;
}

.farmer-bnw-section-heading {
	gap: 24px;
	margin-bottom: 48px;
}

.farmer-bnw-section-heading h2 {
	margin: 0;
}

.farmer-bnw-section-link {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.farmer-bnw-section-link a {
	text-decoration: none;
}

.wp-block-button.is-style-farmersbar-outline .wp-block-button__link {
	border: 1px solid currentColor;
	background: transparent;
	color: var(--farmer-bnw-black);
}

.wp-block-button.is-style-farmersbar-outline .wp-block-button__link:hover {
	background: var(--farmer-bnw-black);
	color: var(--farmer-bnw-white);
}

/* Header */
.farmersbar-site-header {
	position: relative;
	z-index: 100;
	background: var(--farmer-bnw-white);
}

.farmer-bnw-announcement {
	min-height: 47px;
	gap: 10px;
	padding: 10px 24px;
	background: var(--farmer-bnw-announcement-bg) !important;
	color: var(--farmer-bnw-announcement-text);
}

.farmer-bnw-announcement p {
	margin: 0;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.1px;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
}

.farmer-bnw-main-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(12, 12, 12, 0.08);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 4px 16px rgba(12, 12, 12, 0.03);
	backdrop-filter: blur(10px);
}

.admin-bar .farmer-bnw-main-header {
	top: 32px;
}

.farmersbar-header-main {
	min-height: 90px;
	gap: clamp(20px, 3vw, 46px);
	padding: 12px 0;
}

.farmersbar-logo {
	width: 62px;
	min-width: 62px;
	margin: 0;
}

.farmersbar-logo img {
	display: block;
	width: 62px;
	height: 62px;
	object-fit: contain;
}

.farmersbar-primary-nav {
	flex: 1 1 auto;
	justify-content: center;
}

.farmersbar-primary-nav .wp-block-navigation__container {
	column-gap: clamp(13px, 1.35vw, 24px);
	row-gap: 8px;
}

.farmersbar-primary-nav .wp-block-navigation-item__content {
	padding: 8px 0;
	color: var(--farmer-bnw-black);
	font-size: clamp(10px, 0.78vw, 12px);
	font-weight: 650;
	letter-spacing: 0.55px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.farmersbar-primary-nav .wp-block-navigation-item__content:hover,
.farmersbar-primary-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--farmer-bnw-muted);
}

.farmer-bnw-header-actions {
	flex: 0 0 auto;
	gap: 14px;
}

.farmer-bnw-product-search {
	display: flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	overflow: hidden;
	transition: width 220ms var(--farmer-bnw-ease);
}

.farmer-bnw-product-search .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.farmer-bnw-product-search.is-open {
	width: 190px;
}

.farmer-bnw-product-search__input {
	width: 0;
	min-width: 0;
	height: 38px;
	padding: 7px 0;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--farmer-bnw-black);
	font-size: 12px;
	opacity: 0;
	transition: width 220ms var(--farmer-bnw-ease), padding 220ms var(--farmer-bnw-ease), border-color 180ms ease, opacity 150ms ease;
}

.farmer-bnw-product-search.is-open .farmer-bnw-product-search__input {
	width: 148px;
	padding-inline: 4px 8px;
	border-bottom-color: #bdbdbd;
	opacity: 1;
}

.farmer-bnw-product-search__input::-webkit-search-cancel-button {
	display: none;
}

.farmer-bnw-product-search__button {
	display: grid;
	width: 42px;
	height: 42px;
	min-width: 42px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--farmer-bnw-black);
	cursor: pointer;
}

.farmer-bnw-product-search__button:hover {
	background: transparent;
	color: #555555;
}

.farmer-bnw-header-actions .wc-block-mini-cart__button {
	padding: 8px 0;
}

/* Homepage hero */
.farmer-bnw-hero {
	background: var(--farmer-bnw-white);
}

.farmer-bnw-hero-grid {
	min-height: 728px;
	gap: 0;
	margin-block: 0;
}

.farmer-bnw-hero-copy {
	padding: 72px clamp(38px, 5vw, 82px) 72px 0;
}

.farmer-bnw-hero-copy h1 {
	max-width: 8.8ch;
	margin: 0;
	font-size: clamp(46px, 5vw, 76px) !important;
	font-weight: 800;
	letter-spacing: -2px;
	line-height: 0.99;
}

.farmer-bnw-hero-lead {
	max-width: 560px;
	margin: 28px 0 0;
	color: #515151;
	font-size: clamp(16px, 1.3vw, 19px);
	line-height: 1.65;
}

.farmer-bnw-hero-buttons {
	gap: 12px;
	margin-top: 36px;
}

.farmer-bnw-hero-media {
	height: 728px;
	align-self: stretch;
}

.farmer-bnw-hero-media figure,
.farmer-bnw-hero-media img {
	width: 100%;
	height: 100%;
}

.farmer-bnw-hero-media figure {
	margin: 0;
	overflow: hidden;
}

.farmer-bnw-hero-media img {
	display: block;
	object-fit: cover;
	transition: transform 1.2s var(--farmer-bnw-ease);
}

.farmer-bnw-hero:hover .farmer-bnw-hero-media img {
	transform: scale(1.015);
}

/* Four service promises */
.farmersbar-benefits {
	background: var(--farmer-bnw-black) !important;
}

.farmer-bnw-benefits-grid {
	display: grid;
	min-height: 182px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
}

.farmersbar-benefit {
	display: flex;
	min-width: 0;
	align-items: center;
	padding: 42px 24px;
}

.farmersbar-benefit + .farmersbar-benefit {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.farmersbar-benefit-inner {
	gap: 15px;
	width: 100%;
}

.farmersbar-benefit-icon {
	width: 42px;
	min-width: 42px;
	height: 42px;
	flex: 0 0 42px;
	margin: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter: brightness(0) invert(1);
}

.farmer-bnw-icon-delivery {
	background-image: url("assets/images/delivery.svg");
}

.farmer-bnw-icon-courier {
	background-image: url("assets/images/courier.svg");
}

.farmer-bnw-icon-payment {
	background-image: url("assets/images/payment.svg");
}

.farmer-bnw-icon-tag {
	background-image: url("assets/images/tag.svg");
}

.farmersbar-benefit-icon img {
	display: block;
	width: 42px;
	height: 42px;
}

.farmersbar-benefit-kicker {
	margin: 0 0 5px;
	color: var(--farmer-bnw-white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.3;
	text-transform: uppercase;
}

.farmersbar-benefit-copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 12px;
	line-height: 1.45;
}

/* Homepage product sections */
.farmer-bnw-product-section {
	padding-top: 104px;
	padding-bottom: 104px;
}

.farmer-bnw-home-products .wc-block-product-template {
	gap: 40px !important;
}

.farmer-bnw-home-products .wc-block-product {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	text-align: center;
}

.farmer-bnw-home-products :where(.wc-block-components-product-image, .wp-block-woocommerce-product-image) {
	margin: 0 0 19px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--farmer-bnw-white);
}

.farmer-bnw-home-products :where(.wc-block-components-product-image, .wp-block-woocommerce-product-image) img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.24;
	object-fit: contain;
	transition: transform 480ms var(--farmer-bnw-ease);
}

.farmer-bnw-home-products .wc-block-product:hover :where(.wc-block-components-product-image, .wp-block-woocommerce-product-image) img {
	transform: scale(1.035);
}

.farmer-bnw-home-products .wp-block-post-title {
	margin: 0;
	font-size: 16.8px !important;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
}

.farmer-bnw-home-products .wp-block-post-title a {
	text-decoration: none;
}

.farmer-bnw-home-products .wp-block-woocommerce-product-price {
	margin-top: 7px;
	font-size: 14.4px !important;
}

.farmer-bnw-home-products :where(.wp-block-woocommerce-product-button, .wc-block-components-product-button) {
	min-height: 48px;
	margin-top: 14px;
}

/* Editorial split */
.farmer-bnw-editorial {
	padding-top: 104px;
	padding-bottom: 104px;
}

.farmer-bnw-editorial-grid {
	gap: clamp(48px, 7vw, 94px);
	margin: 0;
}

.farmer-bnw-editorial-media figure {
	margin: 0;
	overflow: hidden;
}

.farmer-bnw-editorial-media img {
	display: block;
	width: 100%;
	height: 550px;
	object-fit: cover;
}

.farmer-bnw-editorial-copy h2 {
	max-width: 11ch;
	margin: 0 0 24px;
	font-size: clamp(34px, 4vw, 58px);
	line-height: 1.05;
}

.farmer-bnw-editorial-copy > p:not(.farmer-bnw-eyebrow) {
	max-width: 50ch;
	color: var(--farmer-bnw-muted);
}

.farmer-bnw-editorial-copy .wp-block-buttons {
	margin-top: 32px;
}

/* Category cards */
.farmer-bnw-categories {
	padding-top: 104px;
	padding-bottom: 104px;
}

.farmer-bnw-categories .farmer-bnw-eyebrow {
	color: rgba(255, 255, 255, 0.64);
}

.farmer-bnw-category-grid {
	gap: 22px;
	margin: 0;
}

.farmer-bnw-category-card {
	overflow: hidden;
	border-radius: 2px;
}

.farmer-bnw-category-card .wp-block-cover__image-background {
	transition: transform 650ms var(--farmer-bnw-ease);
}

.farmer-bnw-category-card:hover .wp-block-cover__image-background {
	transform: scale(1.045);
}

.farmer-bnw-category-card .wp-block-cover__inner-container {
	align-self: flex-end;
}

.farmer-bnw-category-card h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
}

.farmer-bnw-category-card h3 a {
	color: var(--farmer-bnw-white);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
	text-decoration: none;
}

.farmer-bnw-category-card h3 a::after {
	margin-left: 8px;
	content: "↗";
}

/* Venue / lookbook */
.farmer-bnw-lookbook {
	padding-top: 104px;
	padding-bottom: 104px;
}

.farmer-bnw-lookbook-cover {
	border-radius: 2px;
	overflow: hidden;
}

.farmer-bnw-lookbook-cover .wp-block-cover__inner-container {
	display: flex;
	height: 100%;
	align-items: flex-end;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.88);
}

.farmer-bnw-lookbook-copy {
	width: 100%;
	max-width: 640px;
	margin: 0 !important;
	padding: clamp(30px, 5vw, 62px);
}

.farmer-bnw-lookbook-copy .farmer-bnw-eyebrow {
	color: rgba(255, 255, 255, 0.75);
}

.farmer-bnw-lookbook-copy h2 {
	margin: 0 0 28px;
	font-size: clamp(34px, 4vw, 58px);
}

/* Promotional split */
.farmer-bnw-promos {
	padding-top: 104px;
	padding-bottom: 104px;
}

.farmer-bnw-promo-grid {
	gap: 24px;
	margin: 0;
}

.farmer-bnw-promo-card {
	align-items: flex-end;
	overflow: hidden;
	border-radius: 2px;
}

.farmer-bnw-promo-card .wp-block-cover__image-background {
	transition: transform 650ms var(--farmer-bnw-ease);
}

.farmer-bnw-promo-card:hover .wp-block-cover__image-background {
	transform: scale(1.035);
}

.farmer-bnw-promo-card .wp-block-cover__inner-container {
	padding: clamp(28px, 4vw, 48px);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.farmer-bnw-promo-card h2 {
	max-width: 13ch;
	margin: 0 0 14px;
	font-size: clamp(28px, 3vw, 42px);
}

.farmer-bnw-promo-card p {
	max-width: 48ch;
	font-size: 14px;
}

.farmer-bnw-cover-link {
	margin-top: 24px;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.farmer-bnw-cover-link a {
	color: var(--farmer-bnw-white);
	text-decoration: none;
}

.farmer-bnw-shipping-cta {
	padding-top: 40px;
	padding-bottom: 40px;
}

.farmer-bnw-shipping-cta h3 {
	margin: 0;
	font-size: clamp(20px, 2vw, 28px);
}

/* Footer */
.farmersbar-site-footer {
	position: relative;
	padding-top: 72px;
	padding-bottom: 30px;
}

.farmersbar-site-footer a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.farmersbar-site-footer a:hover {
	color: var(--farmer-bnw-white);
}

.farmersbar-footer-columns {
	align-items: flex-start !important;
	gap: clamp(30px, 4vw, 58px);
	margin: 0;
}

.farmer-bnw-footer-brand figure {
	margin: 0 0 24px;
}

.farmersbar-footer-logo,
.farmersbar-footer-logo img {
	width: 88px;
	height: 88px;
}

.farmersbar-footer-logo img {
	display: block;
	object-fit: contain;
}

.farmer-bnw-footer-intro {
	max-width: 30ch;
	margin-bottom: 24px;
	color: rgba(255, 255, 255, 0.64);
	font-size: 13px;
	line-height: 1.65;
}

.farmersbar-footer-section h3 {
	margin: 0 0 24px;
	font-size: 15px;
	letter-spacing: 0.6px;
}

.farmersbar-footer-nav .wp-block-navigation-item__content {
	padding: 3px 0;
	font-size: 13px;
	line-height: 1.45;
}

.farmer-bnw-footer-locations {
	display: grid;
	gap: 15px;
	justify-items: start;
	text-align: left;
}

.farmer-bnw-footer-locations > * {
	width: 100%;
	margin-inline: 0 !important;
}

.farmer-bnw-footer-locations p,
.farmer-bnw-footer-contact {
	margin: 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 12px;
	line-height: 1.55;
}

.farmer-bnw-footer-locations strong {
	color: var(--farmer-bnw-white);
	font-size: 12px;
	font-weight: 650;
}

.farmer-bnw-footer-contact {
	margin-top: 24px;
}

.farmersbar-social-links {
	gap: 9px;
}

.farmersbar-social-links .wp-social-link {
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	background: transparent !important;
}

.farmersbar-footer-meta {
	margin-top: 52px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.farmersbar-footer-meta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.48);
	font-size: 11px;
}

.farmer-bnw-scroll-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 2px;
	background: var(--farmer-bnw-black);
	color: var(--farmer-bnw-white);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.farmer-bnw-scroll-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

/* Standard pages and migrated content */
.farmersbar-page-hero {
	border-bottom: 1px solid var(--farmer-bnw-line);
	background: var(--farmer-bnw-gray) !important;
}

.farmersbar-entry-content {
	color: #484848;
	font-size: clamp(0.96rem, 1vw, 1.05rem);
	line-height: 1.72;
}

.farmersbar-entry-content > :where(h2, h3, h4) {
	margin-top: 1.75em;
}

.farmersbar-entry-content > :where(p, ul, ol, table, blockquote) {
	margin-block: 0 1.35em;
}

.farmersbar-entry-content :where(img, video, iframe) {
	max-width: 100%;
	border-radius: 2px;
}

.farmersbar-entry-content img {
	display: block;
	height: auto;
}

.farmersbar-entry-content p:has(> img:nth-of-type(2)),
.farmersbar-entry-content p > span:has(img:nth-of-type(2)) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: none;
	margin-top: 44px;
}

.farmersbar-entry-content p:has(> img:nth-of-type(2)) > br,
.farmersbar-entry-content p > span:has(img:nth-of-type(2)) > br {
	display: none;
}

.farmersbar-entry-content p:has(> img:nth-of-type(2)) img,
.farmersbar-entry-content p > span:has(img:nth-of-type(2)) img {
	width: 100%;
}

.farmersbar-entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.farmersbar-entry-content :where(th, td) {
	padding: 12px 14px;
	border: 1px solid var(--farmer-bnw-line);
	text-align: left;
}

@media (max-width: 1180px) {
	.farmersbar-header-main {
		width: calc(100% - 48px);
	}

	.farmersbar-primary-nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.farmersbar-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.farmersbar-primary-nav {
		justify-content: flex-end;
	}

	.farmersbar-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
		padding: 32px;
	}

	.farmersbar-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		font-size: 16px;
	}
}

@media (max-width: 900px) {
	.admin-bar .farmer-bnw-main-header {
		top: 46px;
	}

	.farmer-bnw-hero-grid {
		min-height: 0;
		flex-direction: column;
	}

	.farmer-bnw-hero-grid > .wp-block-column {
		width: 100%;
		flex-basis: auto !important;
	}

	.farmer-bnw-hero-copy {
		padding: 82px 0 64px;
	}

	.farmer-bnw-hero-copy h1 {
		max-width: 10ch;
	}

	.farmer-bnw-hero-media {
		height: min(72vw, 620px);
	}

	.farmer-bnw-benefits-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.farmersbar-benefit:nth-child(odd) {
		border-left: 0;
	}

	.farmersbar-benefit:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.farmer-bnw-home-products .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 42px 24px !important;
	}

	.farmer-bnw-editorial-grid {
		flex-direction: column;
	}

	.farmer-bnw-editorial-grid > .wp-block-column {
		width: 100%;
		flex-basis: auto !important;
	}

	.farmer-bnw-editorial-media img {
		height: min(70vw, 560px);
	}

	.farmer-bnw-editorial-copy {
		padding: 20px 0 0;
	}

	.farmer-bnw-category-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.farmer-bnw-category-grid > .wp-block-column {
		min-width: 0;
	}

	.farmersbar-footer-columns {
		flex-wrap: wrap !important;
	}

	.farmersbar-footer-columns > .wp-block-column {
		flex-basis: calc(50% - 30px) !important;
	}
}

@media (max-width: 680px) {
	.farmer-bnw-announcement {
		min-height: 40px;
		padding: 8px 18px;
	}

	.farmer-bnw-announcement p {
		font-size: 10px;
		letter-spacing: 0.7px;
	}

	.farmersbar-header-main {
		width: calc(100% - 36px);
		min-height: 78px;
		gap: 12px;
		padding: 9px 0;
	}

	.farmersbar-logo,
	.farmersbar-logo img {
		width: 50px;
		height: 50px;
		min-width: 50px;
	}

	.farmer-bnw-header-actions {
		gap: 6px;
	}

	.farmer-bnw-product-search.is-open {
		width: 158px;
	}

	.farmer-bnw-product-search.is-open .farmer-bnw-product-search__input {
		width: 116px;
	}

	.farmer-bnw-hero-copy {
		padding: 62px 0 48px;
	}

	.farmer-bnw-hero-copy h1 {
		font-size: clamp(43px, 14vw, 64px) !important;
		letter-spacing: -1.5px;
	}

	.farmer-bnw-hero-lead {
		margin-top: 22px;
		font-size: 15px;
	}

	.farmer-bnw-hero-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.farmer-bnw-hero-buttons .wp-block-button,
	.farmer-bnw-hero-buttons .wp-block-button__link {
		width: 100%;
	}

	.farmer-bnw-hero-media {
		height: 420px;
	}

	.farmer-bnw-benefits-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.farmersbar-benefit {
		min-height: 124px;
		padding: 28px 0;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
		border-left: 0 !important;
	}

	.farmersbar-benefit:first-child {
		border-top: 0;
	}

	.farmer-bnw-product-section,
	.farmer-bnw-editorial,
	.farmer-bnw-categories,
	.farmer-bnw-lookbook,
	.farmer-bnw-promos {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.farmer-bnw-section-heading {
		align-items: flex-start !important;
		flex-direction: column;
		margin-bottom: 34px;
	}

	.farmer-bnw-home-products .wc-block-product-template {
		gap: 34px 14px !important;
	}

	.farmer-bnw-home-products :where(.wp-block-woocommerce-product-button, .wc-block-components-product-button) {
		display: block;
	}

	.farmer-bnw-editorial-grid {
		gap: 34px;
	}

	.farmer-bnw-editorial-media img {
		height: 360px;
	}

	.farmer-bnw-category-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.farmer-bnw-category-card {
		min-height: 310px !important;
	}

	.farmer-bnw-lookbook-cover {
		min-height: 420px !important;
	}

	.farmer-bnw-lookbook-copy {
		padding: 28px;
	}

	.farmer-bnw-promo-grid {
		gap: 16px;
	}

	.farmer-bnw-promo-card {
		min-height: 390px !important;
	}

	.farmer-bnw-shipping-cta > .wp-block-group {
		align-items: flex-start !important;
		flex-direction: column;
	}

	.farmersbar-footer-columns > .wp-block-column {
		flex-basis: 100% !important;
	}

	.farmersbar-footer-meta {
		align-items: flex-start !important;
		flex-direction: column;
		gap: 10px;
	}

	.farmersbar-entry-content p:has(> img:nth-of-type(2)),
	.farmersbar-entry-content p > span:has(img:nth-of-type(2)) {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
