/*
 * Northumberland Logs – global, header, footer and block pattern styles.
 *
 * Colours read from the Kadence global palette (set by the child theme), with
 * the brand hex values as fallbacks. Selectors inside patterns use a doubled
 * class (.nl-section.nl-section) so they win over Kadence's content styles,
 * which load later in the page, without needing !important.
 */

:root {
	--nl-burgundy: var(--global-palette1, #641626);
	--nl-burgundy-dark: var(--global-palette2, #4a0f1b);
	--nl-ink: var(--global-palette3, #2b1d20);
	--nl-grey: var(--global-palette4, #4f4345);
	--nl-muted: var(--global-palette5, #7a6a6c);
	--nl-sand-hover: var(--global-palette6, #ecdfd8);
	--nl-sand: var(--global-palette7, #f5eeea);
	--nl-on-dark: var(--global-palette8, #fbf3ef);
	--nl-white: var(--global-palette9, #ffffff);
	--nl-tan: var(--global-palette10, #e2b98a);
	--nl-green: var(--global-palette11, #4f8a4f);
	--nl-on-dark-2: #ecd9dc;
	--nl-on-dark-3: #e2c9cd;
	--nl-line: rgba(43, 29, 32, 0.07);
	--nl-line-strong: rgba(43, 29, 32, 0.12);
	--nl-shadow: 0 12px 32px rgba(43, 29, 32, 0.08);
	--nl-font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nl-container: 1240px;
	--nl-gutter: 24px;
	--nl-section-y: 80px;
}

@media (max-width: 767px) {
	:root {
		--nl-gutter: 16px;
		--nl-section-y: 56px;
	}
}

body {
	font-family: var(--nl-font);
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.nl-topbar {
	background: var(--nl-burgundy);
	color: var(--nl-on-dark);
	font-size: 14px;
	line-height: 1.4;
}

.nl-topbar__inner {
	max-width: calc(var(--nl-container) + 2 * var(--nl-gutter));
	margin: 0 auto;
	padding: 10px var(--nl-gutter);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	justify-content: center;
	text-align: center;
}

.nl-topbar__sep {
	opacity: 0.5;
}

.nl-topbar a,
.nl-topbar a:hover {
	color: inherit;
	text-decoration: none;
}

.nl-topbar strong {
	font-weight: 900;
}

@media (max-width: 767px) {
	.nl-topbar__inner {
		font-size: 13px;
		gap: 2px 12px;
	}

	/* Keep the bar short on phones: hide the middle message (children are
	   item, separator, item, separator, item). */
	.nl-topbar__item:nth-child(3),
	.nl-topbar__sep {
		display: none;
	}
}

/* ==========================================================================
   Header (Kadence header builder)
   ========================================================================== */

#masthead .site-header-inner-wrap {
	box-shadow: 0 1px 0 rgba(43, 29, 32, 0.08);
}

#masthead .site-main-header-inner-wrap {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* "Part of Meldon Estates" under the logo (text from the Customizer). */
#masthead .site-header-main-section-left .site-branding a.brand.has-logo-image {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	text-decoration: none;
}

#masthead .site-header-main-section-left .site-branding a.brand.has-logo-image::after {
	content: var(--nl-logo-tagline, none);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nl-muted);
	padding-left: 4px;
	line-height: 1.2;
	white-space: nowrap;
}

/* Phone block, basket and order button (HTML item: [nl_header_actions]). */
#masthead .header-html,
#masthead .header-html-inner {
	margin: 0;
}

.nl-header-actions {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nl-header-actions__buttons {
	display: flex;
	align-items: center;
	gap: 10px;
}

a.nl-header-phone,
#masthead .header-html a.nl-header-phone {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--nl-burgundy);
	text-decoration: none;
	line-height: 1;
}

a.nl-header-phone:hover,
#masthead .header-html a.nl-header-phone:hover {
	color: var(--nl-burgundy-dark);
}

.nl-header-phone__text {
	display: flex;
	flex-direction: column;
}

.nl-header-phone__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nl-muted);
	margin-bottom: 4px;
}

.nl-header-phone__number {
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 900;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.nl-header-phone--compact {
	gap: 6px;
}

.nl-header-phone--compact .nl-header-phone__number {
	font-size: 17px;
	letter-spacing: 0;
}

#masthead a.nl-basket {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 14px;
	border: 1.5px solid rgba(100, 22, 38, 0.2);
	border-radius: 6px;
	color: var(--nl-burgundy);
	text-decoration: none;
	line-height: 1.2;
	transition: border-color 0.15s, background-color 0.15s;
}

#masthead a.nl-basket:hover {
	border-color: var(--nl-burgundy);
	color: var(--nl-burgundy-dark);
}

#masthead a.nl-order-btn {
	display: inline-block;
	background: var(--nl-burgundy);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 12px 18px;
	border-radius: 6px;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.15s;
}

#masthead a.nl-order-btn:hover {
	background: var(--nl-burgundy-dark);
	color: #fff;
}

@media (max-width: 1200px) {
	.nl-header-actions {
		gap: 18px;
	}
}

/* Navigation row: 2px rule above, 5px rule below, as on the current site. */
#masthead .site-bottom-header-inner-wrap {
	border-top: 2px solid var(--nl-burgundy);
	border-bottom: 5px solid var(--nl-burgundy);
}

#masthead .site-bottom-header-wrap .site-header-row-container-inner {
	background: var(--nl-white);
}

#masthead .header-navigation .primary-menu-container > ul > li.menu-item > a {
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--nl-burgundy);
	padding-top: 12px;
	padding-bottom: 12px;
}

#masthead .header-navigation .primary-menu-container > ul > li.menu-item > a:hover,
#masthead .header-navigation .primary-menu-container > ul > li.current-menu-item > a,
#masthead .header-navigation .primary-menu-container > ul > li.current-menu-ancestor > a {
	color: var(--nl-burgundy-dark);
}

/* Mobile header: logo, phone number, menu toggle. */
#mobile-header .site-branding a.brand img {
	max-height: 52px;
	width: auto;
}

#mobile-header .mobile-html,
#mobile-header .mobile-html-inner {
	margin: 0;
}

#mobile-header a.nl-header-phone {
	text-decoration: none;
}

@media (max-width: 380px) {
	#mobile-header .nl-header-phone--compact .nl-header-phone__number {
		font-size: 15px;
	}
}

#mobile-drawer .drawer-inner {
	background: var(--nl-burgundy);
}

#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li .drawer-nav-drop-wrap {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nl-on-dark);
}

/* ==========================================================================
   Footer (Kadence footer builder)
   ========================================================================== */

#colophon {
	background: var(--nl-burgundy-dark);
	color: var(--nl-on-dark-2);
	font-size: 14px;
}

#colophon .site-middle-footer-wrap .site-footer-row-container-inner,
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner {
	background: transparent;
}

#colophon .site-middle-footer-inner-wrap {
	padding-top: 64px;
	padding-bottom: 32px;
	column-gap: 40px;
	row-gap: 32px;
}

#colophon .site-bottom-footer-inner-wrap {
	padding-top: 20px;
	padding-bottom: 32px;
	border-top: 1px solid rgba(251, 243, 239, 0.1);
	color: #c9aab0;
	font-size: 13px;
	align-items: center;
}

#colophon .footer-widget-area .widget-title,
#colophon .footer-widget-area h2,
#colophon .footer-widget-area h3,
#colophon .footer-widget-area h4 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nl-tan);
	margin: 0 0 14px;
	line-height: 1.3;
}

#colophon .footer-widget-area .nl-footer-brand,
#colophon .footer-widget-area h2.nl-footer-brand {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: none;
	color: var(--nl-on-dark);
	margin-bottom: 12px;
}

#colophon .footer-widget-area p {
	line-height: 1.6;
	margin: 0 0 12px;
}

#colophon .footer-widget-area ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#colophon .footer-widget-area li {
	margin: 0;
	padding: 0;
}

#colophon a {
	color: var(--nl-on-dark-2);
	text-decoration: none;
}

#colophon a:hover {
	color: #fff;
}

#colophon .footer-html {
	margin: 0;
}

/* Accreditation row (footer widget area 6). */
#colophon ul.nl-accreditations {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: flex-end;
	align-items: center;
}

#colophon .nl-accreditations img {
	max-height: 44px;
	width: auto;
	display: block;
}

#colophon .wp-block-image.nl-accreditation-logo img {
	max-height: 48px;
	width: auto;
}

@media (max-width: 1024px) {
	#colophon ul.nl-accreditations {
		justify-content: flex-start;
	}
}

/* ==========================================================================
   Pattern foundations
   ========================================================================== */

.nl-section {
	color: var(--nl-ink);
	font-family: var(--nl-font);
}

/* Kadence gives groups in content a bottom margin; sections butt together. */
.wp-block-group.nl-section.nl-section {
	margin-top: 0;
	margin-bottom: 0;
}

.nl-section.nl-section :is(h1, h2, h3, h4, p, ul, ol, figure, .wp-block-buttons, .wp-block-columns, .wp-block-group, .wp-block-image, .wp-block-details) {
	margin-block: 0;
}

.nl-section.nl-section .nl-container {
	width: 100%;
	max-width: calc(var(--nl-container) + 2 * var(--nl-gutter));
	margin-inline: auto;
	padding-inline: var(--nl-gutter);
	box-sizing: border-box;
}

.nl-section.nl-section .nl-container--narrow {
	max-width: calc(820px + 2 * var(--nl-gutter));
}

.nl-section img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Stacks the core Columns block at tablet width as well as phone width. */
@media (max-width: 959px) {
	.nl-section .wp-block-columns.nl-hero__grid,
	.nl-section .wp-block-columns.nl-why__grid,
	.nl-section .wp-block-columns.nl-delivery__grid,
	.nl-section .wp-block-columns.nl-panel {
		flex-wrap: wrap !important;
	}

	.nl-section .wp-block-columns.nl-hero__grid > .wp-block-column,
	.nl-section .wp-block-columns.nl-why__grid > .wp-block-column,
	.nl-section .wp-block-columns.nl-delivery__grid > .wp-block-column,
	.nl-section .wp-block-columns.nl-panel > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Bands */
.nl-band {
	background: var(--nl-burgundy);
	color: var(--nl-on-dark);
}

.nl-band-sand {
	background: var(--nl-sand);
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.nl-section.nl-section .nl-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nl-burgundy);
	line-height: 1.4;
}

.nl-section.nl-band .nl-eyebrow {
	color: var(--nl-tan);
}

.nl-section.nl-section .nl-eyebrow--green {
	color: var(--nl-green);
}

.nl-section.nl-section .nl-display {
	font-family: var(--nl-font);
	font-weight: 900;
	font-size: clamp(40px, 5.4vw, 68px);
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: var(--nl-ink);
	text-wrap: balance;
}

.nl-section.nl-section .nl-page-title {
	font-family: var(--nl-font);
	font-weight: 900;
	font-size: clamp(38px, 4.6vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--nl-burgundy);
	text-wrap: balance;
}

.nl-section.nl-section .nl-h2 {
	font-family: var(--nl-font);
	font-weight: 900;
	font-size: clamp(30px, 3.4vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--nl-ink);
	text-wrap: balance;
}

.nl-section.nl-section .nl-h2--lg {
	font-size: clamp(32px, 3.8vw, 48px);
	line-height: 1.08;
	letter-spacing: 0;
}

.nl-section.nl-section .nl-h2--sm {
	font-size: clamp(28px, 3vw, 38px);
	letter-spacing: 0;
}

.nl-section.nl-band .nl-h2 {
	color: var(--nl-on-dark);
}

.nl-section.nl-section .nl-lead {
	font-size: 19px;
	line-height: 1.55;
	color: var(--nl-grey);
	max-width: 520px;
	text-wrap: pretty;
}

.nl-section.nl-section .nl-lead--sm {
	font-size: 18px;
	max-width: 640px;
}

.nl-section.nl-section .nl-lead a {
	color: var(--nl-burgundy);
	text-decoration: none;
	font-weight: 900;
}

.nl-section.nl-section .nl-body {
	font-size: 17px;
	line-height: 1.6;
	color: var(--nl-grey);
	max-width: 500px;
}

.nl-section.nl-band .nl-body {
	color: var(--nl-on-dark-2);
	max-width: 480px;
}

.nl-section.nl-section .nl-link {
	font-size: 15px;
	font-weight: 700;
}

.nl-section.nl-section .nl-link a {
	color: var(--nl-burgundy);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.nl-section.nl-section .nl-link a:hover {
	color: var(--nl-burgundy-dark);
}

.nl-section.nl-band .nl-link a,
.nl-section.nl-band .nl-link a:hover {
	color: var(--nl-on-dark);
}

.nl-section.nl-section .nl-tag {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nl-green);
	line-height: 1.4;
}

/* Section heading row: title left, link right. */
.nl-section.nl-section .nl-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

/* ==========================================================================
   Buttons inside patterns
   ========================================================================== */

.nl-section.nl-section .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nl-section.nl-section .wp-block-button .wp-block-button__link {
	display: inline-block;
	font-family: var(--nl-font);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	padding: 16px 28px;
	border-radius: 999px;
	border: 1.5px solid var(--nl-burgundy);
	background: var(--nl-burgundy);
	color: #fff;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.nl-section.nl-section .wp-block-button .wp-block-button__link:hover,
.nl-section.nl-section .wp-block-button .wp-block-button__link:focus-visible {
	background: var(--nl-burgundy-dark);
	border-color: var(--nl-burgundy-dark);
	color: #fff;
}

.nl-section.nl-section .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--nl-burgundy);
	font-weight: 900;
	padding: 16px 24px;
}

.nl-section.nl-section .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--nl-sand);
	border-color: var(--nl-burgundy-dark);
	color: var(--nl-burgundy-dark);
}

.nl-section.nl-band .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--nl-on-dark);
	border-color: var(--nl-on-dark);
}

.nl-section.nl-band .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(251, 243, 239, 0.12);
	color: #fff;
	border-color: #fff;
}

.nl-section.nl-section .wp-block-button.nl-btn-light .wp-block-button__link {
	background: var(--nl-white);
	border-color: var(--nl-white);
	color: var(--nl-burgundy);
}

.nl-section.nl-section .wp-block-button.nl-btn-light .wp-block-button__link:hover {
	background: var(--nl-sand);
	border-color: var(--nl-sand);
	color: var(--nl-burgundy-dark);
}

.nl-section.nl-section .wp-block-button.nl-btn-strong .wp-block-button__link {
	font-weight: 900;
	padding: 16px 32px;
	white-space: nowrap;
}

/* "Chip" button style (registered for core/button, usable anywhere). */
.wp-block-buttons .wp-block-button.is-style-nl-chip .wp-block-button__link,
.nl-section.nl-section .wp-block-button.is-style-nl-chip .wp-block-button__link {
	background: var(--nl-sand);
	border: 0;
	color: var(--nl-burgundy);
	font-size: 14px;
	font-weight: 400;
	padding: 8px 14px;
	border-radius: 999px;
	line-height: 1.3;
	text-decoration: none;
}

.wp-block-buttons .wp-block-button.is-style-nl-chip .wp-block-button__link:hover,
.nl-section.nl-section .wp-block-button.is-style-nl-chip .wp-block-button__link:hover {
	background: var(--nl-sand-hover);
	color: var(--nl-burgundy-dark);
}

.nl-section.nl-section .wp-block-buttons.nl-chips {
	gap: 8px;
}

/* "Green dots" list style (registered for core/list, usable anywhere). */
ul.wp-block-list.is-style-nl-dots,
.nl-section.nl-section ul.is-style-nl-dots {
	list-style: none;
	margin-left: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--nl-grey);
}

ul.wp-block-list.is-style-nl-dots > li,
.nl-section.nl-section ul.is-style-nl-dots > li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

ul.wp-block-list.is-style-nl-dots > li::before,
.nl-section.nl-section ul.is-style-nl-dots > li::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nl-green);
}

/* ==========================================================================
   Media frames (images in patterns)
   ========================================================================== */

.nl-section.nl-section .nl-media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--nl-sand);
}

.nl-section.nl-section .nl-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nl-section.nl-section .nl-media--hero img {
	aspect-ratio: 5 / 4;
}

.nl-section.nl-section .nl-media--map img {
	aspect-ratio: 1 / 1;
	max-height: 520px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.nl-hero {
	padding: 56px 0 40px;
}

.nl-section.nl-section .nl-hero__grid {
	gap: 48px;
	align-items: center;
}

.nl-section.nl-section .nl-hero__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nl-section.nl-section .nl-hero__media {
	position: relative;
}

.nl-section.nl-section .nl-trust {
	padding-top: 8px;
}

/* Floating price card on the hero image ([nl_price_card]). */
.nl-hero__media > p:has(> .nl-price-card) {
	margin: 0;
}

.nl-hero__media .nl-price-card {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2;
}

.nl-price-card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: #fff;
	border-radius: 14px;
	padding: 14px 18px;
	box-shadow: 0 8px 24px rgba(43, 29, 32, 0.08);
	color: var(--nl-ink);
	text-decoration: none;
	transition: box-shadow 0.15s;
}

a.nl-price-card:hover {
	color: var(--nl-ink);
	box-shadow: var(--nl-shadow);
}

.nl-price-card__label {
	font-size: 12px;
	color: var(--nl-muted);
	line-height: 1.3;
}

.nl-price-card__price {
	font-size: 24px;
	font-weight: 900;
	line-height: 1.2;
}

/* ==========================================================================
   Product highlight cards
   ========================================================================== */

.nl-products {
	padding: 56px 0;
}

.nl-section.nl-section .nl-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.nl-section.nl-section .nl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--nl-white);
	border: 1px solid var(--nl-line);
	border-radius: 18px;
	overflow: hidden;
	transition: box-shadow 0.2s;
}

.nl-section.nl-section .nl-card:hover,
.nl-section.nl-section .nl-card:focus-within {
	box-shadow: var(--nl-shadow);
}

.nl-section.nl-section .nl-card__media {
	border-radius: 0;
}

.nl-section.nl-section .nl-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.nl-section.nl-section .nl-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 22px 24px;
}

.nl-section.nl-section .nl-card__title {
	font-family: var(--nl-font);
	font-weight: 900;
	font-size: 26px;
	line-height: 1.2;
	color: var(--nl-ink);
}

.nl-section.nl-section .nl-card__title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is clickable via the title link. */
.nl-section.nl-section .nl-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.nl-section.nl-section .nl-card__title a:focus-visible {
	outline: none;
}

.nl-section.nl-section .nl-card:has(.nl-card__title a:focus-visible) {
	outline: 2px solid var(--nl-burgundy);
	outline-offset: 2px;
}

.nl-section.nl-section .nl-card__text {
	flex: 1;
	font-size: 15px;
	line-height: 1.5;
	color: var(--nl-grey);
}

.nl-section.nl-section .nl-card__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 10px;
	margin-top: 6px;
	border-top: 1px solid var(--nl-line);
}

.nl-section.nl-section .nl-card__meta {
	font-size: 14px;
	color: var(--nl-muted);
}

.nl-section.nl-section .nl-card__cta {
	font-size: 15px;
	font-weight: 700;
	color: var(--nl-burgundy);
}

/* Sand callout strip (Bulk & trade, "Not sure which bag?"). */
.nl-strip,
.nl-section.nl-section .nl-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	background: var(--nl-sand);
	border-radius: 16px;
	padding: 18px 24px;
	margin-top: 20px;
}

.nl-section.nl-section .nl-strip__text,
.nl-strip__text {
	font-size: 16px;
	line-height: 1.5;
	color: var(--nl-ink);
	margin: 0;
}

/* ==========================================================================
   Why us
   ========================================================================== */

.nl-why {
	padding: var(--nl-section-y) 0;
}

.nl-section.nl-section .nl-why__grid {
	gap: 56px;
	align-items: flex-start;
}

.nl-section.nl-section .nl-why__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.nl-section.nl-section .nl-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1px;
	background: rgba(251, 243, 239, 0.14);
	border-radius: 16px;
	overflow: hidden;
}

.nl-section.nl-section .nl-stat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	background: var(--nl-burgundy);
}

.nl-section.nl-section .nl-stat__big {
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	color: var(--nl-tan);
}

.nl-section.nl-section .nl-stat__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--nl-on-dark);
}

.nl-section.nl-section .nl-stat__text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--nl-on-dark-3);
}

/* ==========================================================================
   Delivery + postcode checker
   ========================================================================== */

.nl-delivery {
	padding: var(--nl-section-y) 0;
}

.nl-section.nl-section .nl-delivery__grid {
	gap: 48px;
	align-items: center;
}

.nl-section.nl-section .nl-delivery__text {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.nl-postcode-check {
	max-width: 500px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nl-postcode-check__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.nl-postcode-check input.nl-postcode-check__input {
	flex: 1;
	min-width: 220px;
	font-family: var(--nl-font);
	font-size: 17px;
	line-height: 1.3;
	padding: 15px 20px;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 29, 32, 0.25);
	background: #fff;
	color: var(--nl-ink);
	box-shadow: none;
	text-transform: uppercase;
}

.nl-postcode-check input.nl-postcode-check__input::placeholder {
	text-transform: none;
	color: var(--nl-muted);
}

.nl-postcode-check input.nl-postcode-check__input:focus {
	border-color: var(--nl-burgundy);
	outline: 2px solid rgba(100, 22, 38, 0.15);
	outline-offset: 1px;
}

.nl-postcode-check button.nl-postcode-check__button {
	font-family: var(--nl-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	padding: 15px 26px;
	border-radius: 999px;
	border: 0;
	background: var(--nl-burgundy);
	color: #fff;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.15s;
}

.nl-postcode-check button.nl-postcode-check__button:hover,
.nl-postcode-check button.nl-postcode-check__button:focus-visible {
	background: var(--nl-burgundy-dark);
	color: #fff;
}

.nl-postcode-check.is-loading button.nl-postcode-check__button {
	opacity: 0.7;
	cursor: progress;
}

.nl-postcode-check__result {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-radius: 14px;
	padding: 16px 20px;
	background: var(--nl-sand);
}

.nl-postcode-check__result[hidden] {
	display: none;
}

.nl-postcode-check__result.is-free {
	background: rgba(79, 138, 79, 0.14);
}

.nl-postcode-check__result.is-paid {
	background: rgba(226, 185, 138, 0.32);
}

.nl-postcode-check__title {
	font-size: 16px;
	color: var(--nl-ink);
}

.nl-postcode-check__body {
	font-size: 15px;
	color: var(--nl-grey);
	line-height: 1.5;
}

.nl-postcode-check__noscript {
	font-size: 15px;
	color: var(--nl-grey);
	margin: 0;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.nl-reviews {
	padding: 72px 0;
}

@media (max-width: 767px) {
	.nl-reviews {
		padding: var(--nl-section-y) 0;
	}
}

.nl-section.nl-section .nl-review {
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: var(--nl-white);
	border-radius: 18px;
	padding: 28px;
}

.nl-section.nl-section .nl-review__stars {
	color: var(--global-palette15, #641626);
	letter-spacing: 3px;
	font-size: 16px;
	line-height: 1;
}

.nl-section.nl-section .nl-review__quote {
	font-size: 20px;
	line-height: 1.45;
	color: var(--nl-ink);
	text-wrap: pretty;
}

.nl-section.nl-section .nl-review__who {
	font-size: 14px;
	color: var(--nl-muted);
}

/* Third-party review widgets dropped into the band inherit the card look. */
.nl-reviews .wp-block-shortcode,
.nl-reviews [class*="review"] {
	font-family: var(--nl-font);
}

/* ==========================================================================
   Meldon Estates panel
   ========================================================================== */

.nl-meldon {
	padding: var(--nl-section-y) 0;
}

.nl-section.nl-section .nl-panel {
	gap: 0;
	border: 1px solid var(--nl-line);
	border-radius: 24px;
	overflow: hidden;
	background: var(--nl-white);
	align-items: stretch;
}

.nl-section.nl-section .nl-panel__media {
	min-height: 320px;
	display: flex;
}

.nl-section.nl-section .nl-panel__media .nl-media {
	flex: 1;
	border-radius: 0;
}

.nl-section.nl-section .nl-panel__media .nl-media img {
	min-height: 320px;
}

.nl-section.nl-section .nl-panel__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 48px;
}

.nl-section.nl-section .nl-panel__body .nl-body {
	font-size: 16px;
	max-width: none;
}

@media (max-width: 767px) {
	.nl-section.nl-section .nl-panel__body {
		padding: 28px 24px 32px;
	}
}

/* ==========================================================================
   Inner page intro (Shop, local area pages)
   ========================================================================== */

.nl-page-intro {
	padding: 40px 0 16px;
}

.nl-section.nl-page-intro > .nl-container {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nl-breadcrumbs,
.nl-section.nl-section .nl-breadcrumbs,
.nl-section.nl-section .rank-math-breadcrumb p {
	font-size: 14px;
	color: var(--nl-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.nl-breadcrumbs a,
.nl-section .rank-math-breadcrumb a {
	color: var(--nl-burgundy);
	text-decoration: none;
}

.nl-breadcrumbs a:hover,
.nl-section .rank-math-breadcrumb a:hover {
	text-decoration: underline;
}

.nl-section.nl-area-hero {
	padding-bottom: 40px;
}

/* ==========================================================================
   Shop hub category cards
   ========================================================================== */

.nl-shop-cards {
	padding: 24px 0 var(--nl-section-y);
}

.nl-section.nl-section .nl-stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nl-section.nl-section .nl-shop-card {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background: var(--nl-white);
	border: 1px solid var(--nl-line-strong);
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow 0.2s;
}

.nl-section.nl-section .nl-shop-card:hover,
.nl-section.nl-section .nl-shop-card:focus-within {
	box-shadow: var(--nl-shadow);
}

.nl-section.nl-section .nl-shop-card__media {
	flex: 0 1 280px;
	min-width: min(100%, 240px);
	min-height: 220px;
	border-radius: 0;
	background: var(--nl-sand);
}

.nl-section.nl-section .nl-shop-card__media img {
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
}

.nl-section.nl-section .nl-shop-card__body {
	flex: 1 1 420px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 32px;
	padding: 32px 36px;
}

.nl-section.nl-section .nl-shop-card__text {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nl-section.nl-section .nl-shop-card__title {
	font-family: var(--nl-font);
	font-weight: 900;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--nl-burgundy);
}

.nl-section.nl-section .nl-shop-card__title a {
	color: inherit;
	text-decoration: none;
}

.nl-section.nl-section .nl-shop-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.nl-section.nl-section .nl-shop-card__desc {
	font-size: 17px;
	line-height: 1.6;
	color: var(--nl-grey);
	max-width: 560px;
	text-wrap: pretty;
}

.nl-section.nl-section .nl-shop-card__bullets {
	padding-top: 4px;
}

.nl-section.nl-section .nl-shop-card__bullets > li::before {
	width: 7px;
	height: 7px;
}

.nl-section.nl-section .nl-shop-card__buy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.nl-section.nl-section .nl-shop-card__buy .wp-block-buttons {
	position: relative;
	z-index: 2;
}

.nl-section.nl-section .nl-shop-card__from {
	font-size: 14px;
	color: var(--nl-muted);
}

@media (max-width: 767px) {
	.nl-section.nl-section .nl-shop-card__media {
		flex-basis: 100%;
	}

	.nl-section.nl-section .nl-shop-card__body {
		padding: 24px 22px 28px;
	}
}

/* ==========================================================================
   FAQ and call-to-action band
   ========================================================================== */

.nl-faq {
	padding: var(--nl-section-y) 0;
}

.nl-section.nl-faq > .nl-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nl-section.nl-faq .nl-h2 {
	margin-bottom: 16px;
}

.nl-section.nl-section .nl-faq__item {
	background: var(--nl-white);
	border-radius: 14px;
	padding: 18px 22px;
}

.nl-section.nl-section .nl-faq__item summary {
	font-size: 18px;
	font-weight: 700;
	color: var(--nl-ink);
	cursor: pointer;
}

.nl-section.nl-section .nl-faq__item[open] summary {
	margin-bottom: 10px;
}

.nl-section.nl-section .nl-faq__item p {
	color: var(--nl-grey);
	line-height: 1.6;
}

.nl-cta {
	padding: 64px 0;
}

.nl-section.nl-section .nl-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.nl-section.nl-section .nl-cta__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ==========================================================================
   Pages built from the patterns: remove Kadence's default page padding so
   the first section sits directly under the header.
   ========================================================================== */

.content-style-unboxed .entry-content-wrap:has(> .entry-content > .nl-section:first-child) {
	padding-top: 0;
}

.single-content > .nl-section:first-child {
	margin-top: 0;
}

.single-content > .nl-section:last-child {
	margin-bottom: 0;
}
