/*
Theme Name: Burra Garden Supplies
Theme URI: https://www.burragardensupplies.com.au
Author: Anetwork IT
Author URI: https://www.anetwork.com.au
Description: Custom theme for Burra Garden Supplies & Nursery, Korumburra. Two design styles (Modern Green and Warm & Earthy) switchable in the Customizer, the full original range plus Kelly's current photos, product galleries with lightbox, "Email us" buttons, and a one-click setup (Appearance → Burra Site Setup) that recreates every page, the menu and all product photos.
Version: 1.7.1
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: burra
*/

/* ------------------------------------------------------------------
   Tokens
------------------------------------------------------------------ */
:root {
	--forest: #0f3d1a;
	--forest-2: #0b2e13;
	--green: #1e6b2c;
	--green-600: #2a8a3a;
	--lime: #7cc62d;
	--lime-dark: #5d9f17;
	--sand: #f4f0e6;
	--sand-2: #e9e2d0;
	--ink: #1d231e;
	--body: #464f47;
	--muted: #6c756d;
	--line: #e3dfd3;
	--white: #fff;
	--font-head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
	--font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 1px 2px rgba(16, 36, 20, .06), 0 6px 20px rgba(16, 36, 20, .08);
	--shadow-lg: 0 10px 40px rgba(16, 36, 20, .16);
	--container: 1200px;
	--gutter: clamp(18px, 4vw, 32px);
	--header-h: 86px;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	overflow-x: clip;
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--lime-dark); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: .005em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	top: 8px; left: 8px; z-index: 1000; padding: 10px 16px;
	background: var(--white); color: var(--forest); border-radius: 6px; box-shadow: var(--shadow);
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.btn, .wp-block-button__link, .entry-content .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .75em 1.35em;
	font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: .02em;
	line-height: 1.2; text-decoration: none; white-space: nowrap;
	border: 2px solid transparent; border-radius: 999px; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary, .wp-block-button__link { background: var(--green); color: var(--white); }
.btn--primary:hover, .wp-block-button__link:hover { background: var(--forest); color: var(--white); }
.btn--accent { background: var(--lime); color: var(--forest-2); }
.btn--accent:hover { background: #8fd640; color: var(--forest-2); box-shadow: 0 6px 18px rgba(124, 198, 45, .35); }
.btn--light { background: var(--white); color: var(--forest); }
.btn--light:hover { background: var(--sand); color: var(--forest); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn--lg { font-size: 1.18rem; padding: .85em 1.6em; }
.btn--block { display: flex; width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
	font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-transform: uppercase;
	letter-spacing: .14em; color: var(--lime-dark); margin: 0 0 .5em;
}
.eyebrow--light { color: var(--lime); }

/* ------------------------------------------------------------------
   Top bar + header
------------------------------------------------------------------ */
.topbar { background: var(--forest); color: #cfe0cf; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #e8f2e6; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--lime); }
.topbar .icon { color: var(--lime); width: 15px; height: 15px; }
.topbar__note { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

.site-header {
	position: sticky; top: 0; z-index: 50; background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(16, 36, 20, .1); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-branding { flex: none; }
.custom-logo-link { display: block; }
.custom-logo { max-height: 70px; width: auto; }
.text-logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; font-family: var(--font-head); }
.text-logo__top { font-size: .95rem; letter-spacing: .5em; text-transform: uppercase; color: var(--forest); font-weight: 700; }
.text-logo__main { font-size: 1.85rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .01em; -webkit-text-stroke: .4px var(--forest); }
.text-logo__sub { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav .menu { display: flex; align-items: center; gap: 2px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
	display: flex; align-items: center; gap: 4px; padding: 10px 10px; white-space: nowrap;
	font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
	text-decoration: none; border-radius: 8px; transition: color .2s, background-color .2s;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > li:focus-within > a { color: var(--green); background: var(--sand); }
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current_page_item > a,
.site-nav .menu > .current_page_ancestor > a { color: var(--green); box-shadow: inset 0 -3px 0 var(--lime); border-radius: 8px 8px 0 0; }
.site-nav .menu-item-has-children > a::after,
.site-nav .page_item_has_children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 4px; border: solid currentColor; border-width: 0 2px 2px 0;
	transform: translateY(-2px) rotate(45deg); opacity: .6;
}
.site-nav .sub-menu, .site-nav .children {
	position: absolute; left: -10px; top: 100%; z-index: 20;
	min-width: 240px; padding: 10px; background: var(--white);
	border: 1px solid var(--line); border-top: 3px solid var(--lime); border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav .sub-menu:has(> li:nth-child(8)), .site-nav .children:has(> li:nth-child(8)) {
	display: grid; grid-template-columns: 1fr 1fr; min-width: 440px; column-gap: 4px;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu,
.site-nav li:hover > .children, .site-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a, .site-nav .children a {
	display: block; padding: 8px 12px; color: var(--body); text-decoration: none; border-radius: 6px; font-size: .95rem;
}
.site-nav .sub-menu a:hover, .site-nav .children a:hover,
.site-nav .sub-menu .current-menu-item > a, .site-nav .children .current_page_item > a { background: var(--sand); color: var(--green); }
.site-nav__cta .btn { padding: .62em 1.1em; font-size: 1.02rem; }

.nav-toggle {
	display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
	align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px;
	background: var(--white); color: var(--forest); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }
.submenu-toggle { display: none; }

@media (max-width: 1440px) {
	.site-nav__cta { display: none; }
}
@media (max-width: 1200px) {
	:root { --header-h: 74px; }
	.custom-logo { max-height: 56px; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; top: var(--nav-top, 114px); left: 0; right: 0; bottom: 0; z-index: 49;
		display: flex; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--white); padding: 12px var(--gutter) 32px; overflow-y: auto;
		/* Closed: faded out in place (sliding it off to the side made the page wider than the screen). */
		opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none;
		transition: opacity .25s ease, transform .3s ease, visibility .3s;
	}
	.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
	.site-nav .menu > li > a { flex: 1; padding: 14px 4px; font-size: 1.25rem; background: none !important; box-shadow: none !important; }
	.site-nav .menu-item-has-children > a::after, .site-nav .page_item_has_children > a::after { display: none; }
	.submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		border: 0; background: var(--sand); border-radius: 8px; color: var(--forest); cursor: pointer;
	}
	.submenu-toggle .icon { transition: transform .2s; }
	.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.site-nav .sub-menu, .site-nav .children,
	.site-nav .sub-menu:has(> li:nth-child(8)), .site-nav .children:has(> li:nth-child(8)) {
		position: static; flex-basis: 100%; min-width: 0; display: none; grid-template-columns: 1fr 1fr;
		opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; border-radius: 0;
	}
	.site-nav .sub-open > .sub-menu, .site-nav .sub-open > .children { display: grid !important; }
	.site-nav__cta { display: block; margin-top: 24px; }
	.site-nav__cta .btn { width: 100%; font-size: 1.15rem; padding: .9em; }
	.topbar__address { display: none; }
	.nav-open { overflow: hidden; }
	/* Nothing on the header may create a containing block for the fixed menu panel. */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-open .site-header { animation: none !important; transform: none !important; filter: none !important; }
}
@media (max-width: 600px) {
	.cta-band__actions { width: 100%; }
	.cta-band__actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.topbar__note { display: none; }
	.topbar__inner { justify-content: center; }
}

/* ------------------------------------------------------------------
   Page banner
------------------------------------------------------------------ */
.page-banner {
	position: relative; overflow: hidden; color: var(--white);
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
		radial-gradient(ellipse at 80% 0%, rgba(124, 198, 45, .25), transparent 55%),
		linear-gradient(120deg, var(--forest-2), var(--green));
	padding: clamp(36px, 6vw, 64px) 0 clamp(32px, 5vw, 52px);
	border-bottom: 4px solid var(--lime);
}
.page-banner__title { color: var(--white); margin: 0; max-width: 22ch; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 10px; padding: 0; font-size: .88rem; color: #bcd3bd; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #e6f2e4; text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime); }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
	position: relative; isolation: isolate; color: var(--white); overflow: hidden;
	min-height: clamp(460px, 68vh, 640px); display: flex; align-items: center;
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 24px),
		linear-gradient(120deg, var(--forest-2), var(--green));
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero--image::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(8, 33, 14, .9) 0%, rgba(8, 33, 14, .72) 38%, rgba(8, 33, 14, .15) 75%, rgba(8, 33, 14, 0) 100%),
		linear-gradient(0deg, rgba(8, 33, 14, .55) 0%, transparent 40%);
}
.hero__inner { padding-top: 64px; padding-bottom: 120px; }
.hero__content { max-width: 620px; }
.hero__title { color: var(--white); font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.02; margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #e4eee2; max-width: 52ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 700px) {
	.hero--image::before { background: linear-gradient(0deg, rgba(8, 33, 14, .92) 10%, rgba(8, 33, 14, .55) 100%); }
	.hero__inner { padding-bottom: 96px; }
	.hero__actions .btn { width: 100%; }
}

/* Feature strip overlapping the hero */
.features { position: relative; z-index: 2; margin-top: -64px; }
.features__list {
	list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
	background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.features__list li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; }
.features__list li + li { border-left: 1px solid var(--line); }
.features__list .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: #eaf6dc; color: var(--green); }
.features__list strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); line-height: 1.2; }
.features__list span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
@media (max-width: 980px) {
	.features__list { grid-template-columns: 1fr 1fr; }
	.features__list li:nth-child(3) { border-left: 0; }
	.features__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
	.features__list { grid-template-columns: 1fr; }
	.features__list li + li { border-left: 0; border-top: 1px solid var(--line); }
	.features__list li { padding: 18px; }
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--sand); }
.section--range { padding-top: clamp(56px, 7vw, 88px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-title { margin: 0; max-width: 24ch; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--single { grid-template-columns: minmax(0, 820px); }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.section--visit { background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%); }
.split--visit { align-items: stretch; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.visit-card__sub { font-size: 1.2rem; margin: 28px 0 8px; }
@media (max-width: 900px) { .split--visit { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Cards
------------------------------------------------------------------ */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card-grid--services { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.entry-content .card-grid { margin: 0 0 1.5em; padding: 0; }
.entry-content .card-grid > li { padding: 0; margin: 0; }
.entry-content .card-grid > li::before { display: none; }
.card { margin: 0; }
.card__link {
	display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 36, 20, .04); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card__link:hover .card__media img { transform: scale(1.06); }
.card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--green); background: linear-gradient(135deg, #e8f3dc, var(--sand-2)); }
.card__placeholder .icon { width: 44px; height: 44px; opacity: .5; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); line-height: 1.15; }
.card__text { font-size: .93rem; color: var(--body); line-height: 1.55; }
.card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--green); }
.card__more .icon { transition: transform .2s; }
.card__link:hover .card__more .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------
   Content pages
------------------------------------------------------------------ */
.layout { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 56px); align-items: start; }
.layout__aside { display: grid; gap: 20px; }
@media (max-width: 960px) {
	.layout--sidebar { grid-template-columns: 1fr; }
	.layout__aside { position: static; }
}

.entry-content { color: var(--body); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content h3 { margin-top: 1.4em; color: var(--green); }
.entry-content .lead, .entry-content > p:first-child { font-size: 1.12rem; color: var(--ink); }
.entry-content ul:not([class]), .entry-content ul.wp-block-list {
	list-style: none; padding: 0; margin: 0 0 1.4em;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 20px;
}
.entry-content ul:not([class]) > li, .entry-content ul.wp-block-list > li {
	position: relative; padding: 10px 14px 10px 44px; background: var(--sand); border-radius: 8px;
	color: var(--ink); font-weight: 600; line-height: 1.45;
}
.entry-content ul:not([class]) > li::before, .entry-content ul.wp-block-list > li::before {
	content: ""; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2e13' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.entry-content ul.is-style-plain, .entry-content .is-style-plain { display: block; }
.entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--lime); background: var(--sand); border-radius: 0 8px 8px 0; font-style: italic; }
.entry-content hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-image figcaption, .wp-caption-text { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content table, .wp-block-table table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content thead th { background: var(--forest); color: var(--white); font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .02em; }
.entry-content tbody tr:nth-child(even) { background: #faf8f3; }
.wp-block-table { margin: 0 0 1.5em; overflow-x: auto; }
.signoff { font-style: italic; color: var(--ink); }
.download-link {
	display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; font-weight: 600; background: var(--white); box-shadow: var(--shadow);
}
.download-link .icon { color: var(--lime-dark); width: 22px; height: 22px; }

/* Galleries ([gallery] shortcode and gallery block)
   Justified rows: each photo keeps its own shape (--ar = width / height, added in
   functions.php), every photo in a row is the same height, nothing gets cropped. */
.gallery { --row: 165px; display: flex; flex-wrap: wrap; gap: 14px; margin: 2em 0 1em; }
.gallery::after { content: ""; flex: 999 1 0; } /* keeps the last row from stretching */
.gallery-item { --ar: 1.333; flex: var(--ar) 1 calc(var(--ar) * var(--row)); min-width: 0; position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.gallery-columns-1 .gallery-item { flex-basis: 100%; }
@media (max-width: 900px) { .gallery { --row: 150px; } }
@media (max-width: 600px) { .gallery { --row: 120px; gap: 10px; } }
.gallery-item a, .gallery-item .gallery-icon { display: block; }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; border-radius: 0; transition: transform .45s ease, filter .3s; }
.gallery-item a:hover img { transform: scale(1.05); filter: brightness(.92); }
.gallery-caption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 22px 10px 8px;
	font-size: .82rem; line-height: 1.3; font-weight: 600; color: var(--white); text-align: left;
	background: linear-gradient(0deg, rgba(8, 33, 14, .82), rgba(8, 33, 14, 0)); pointer-events: none;
}
.gallery-heading { margin-top: 1.8em; }

/* Sidebar */
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.aside-card__title { font-size: 1.35rem; margin-bottom: .6em; display: flex; align-items: center; gap: 8px; }
.aside-card__title .icon { color: var(--lime-dark); }
.aside-card--cta {
	color: #dbe9d8; border: 0; display: grid; gap: 10px;
	background:
		radial-gradient(ellipse at 100% 0%, rgba(124, 198, 45, .3), transparent 60%),
		linear-gradient(150deg, var(--forest-2), var(--green));
}
.aside-card--cta .aside-card__title { color: var(--white); margin: 0; }
.aside-card__delivery { display: flex; gap: 10px; margin: 0 0 8px; font-size: .94rem; line-height: 1.5; }
.aside-card__delivery .icon { color: var(--lime); width: 22px; height: 22px; margin-top: 2px; }
.aside-card__address { display: flex; gap: 8px; margin: 14px 0 0; font-size: .92rem; line-height: 1.45; }
.aside-card__address .icon { color: var(--lime-dark); margin-top: 3px; }
.range-nav { list-style: none; margin: 0; padding: 0; }
.range-nav a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--body); font-size: .95rem; }
.range-nav a .icon { opacity: .35; width: 16px; height: 16px; }
.range-nav a:hover { background: var(--sand); color: var(--green); }
.range-nav .is-current a { background: #eaf6dc; color: var(--forest); font-weight: 700; }

/* Hours */
.hours-list { margin: 0; display: grid; gap: 2px; }
.hours-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-list > div:last-child { border-bottom: 0; }
.hours-list dt { font-weight: 600; color: var(--ink); }
.hours-list dd { margin: 0; text-align: right; white-space: nowrap; }

/* Contact */
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list > li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list > li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #eaf6dc; color: var(--green); }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.contact-list a, .contact-list span { display: block; }
.contact-list > li > div { flex: 1; }
.contact-list__big { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.contact-list--cards > li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.contact-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px);
	padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); }
.form-card__title { margin-bottom: .3em; }
.form-card__intro { color: var(--muted); }
.contact-map .map-embed { border-radius: 0; }

.map-embed { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand-2); min-height: 320px; box-shadow: var(--shadow); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed--tall { min-height: 440px; }
.map-embed--wide { min-height: 420px; box-shadow: none; }

/* Forms */
.enquiry-form p { margin: 0 0 16px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row--2 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.req { color: #b4442c; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="password"], input[type="number"], select, textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: 12px 14px; border: 1px solid #d3cdbd; border-radius: 8px; background: var(--white);
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(124, 198, 45, .3); }
textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; }
.notice--success { background: #e5f4d6; color: #24561a; }
.notice--error { background: #fbe4df; color: #8a2b17; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form .btn { padding: .7em 1em; }
.search-again { margin-bottom: 32px; }

/* Posts list */
.post-list { display: grid; gap: 24px; }
.post-summary { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-summary:not(:has(.post-summary__media)) { grid-template-columns: 1fr; }
.post-summary__media img { border-radius: var(--radius); aspect-ratio: 16/11; object-fit: cover; }
.post-summary__title { font-size: 1.5rem; margin-bottom: .2em; }
.post-summary__title a { color: var(--ink); text-decoration: none; }
.post-summary__title a:hover { color: var(--green); }
.post-summary__meta { font-size: .88rem; color: var(--muted); margin-bottom: .5em; }
@media (max-width: 640px) { .post-summary { grid-template-columns: 1fr; } }
.entry-featured { margin: 0 0 24px; }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--green); color: var(--white); border-color: var(--green); }

/* ------------------------------------------------------------------
   CTA band + footer
------------------------------------------------------------------ */
.cta-band {
	color: #dbe9d8;
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px),
		radial-gradient(ellipse at 0% 100%, rgba(124, 198, 45, .28), transparent 50%),
		linear-gradient(110deg, var(--green), var(--forest-2));
	padding: clamp(36px, 5vw, 56px) 0;
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band__title { color: var(--white); margin-bottom: .2em; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: #0c2311; color: #b9c9b9; font-size: .94rem; }
.site-footer a { color: #e2eee0; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 36px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 40px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--white); line-height: 1.2; margin-bottom: .5em; }
.footer-title { font-size: 1.05rem; color: var(--lime); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1em; }
.footer-contact, .footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; line-height: 1.5; }
.footer-contact .icon { color: var(--lime); margin-top: 4px; }
.footer-links li a { display: inline-block; padding: 1px 0; }
.site-footer .hours-list > div { border-color: rgba(255,255,255,.12); padding: 5px 0; }
.site-footer .hours-list dt { color: #e2eee0; font-weight: 600; }
.social-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
.social-links a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.social-links a:hover { background: var(--lime); color: var(--forest-2); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.site-footer__bottom p { margin: 0; }

/* ------------------------------------------------------------------
   Lightbox
------------------------------------------------------------------ */
.lightbox {
	position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
	background: rgba(6, 18, 9, .94); padding: 56px 64px; opacity: 0; transition: opacity .2s;
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__caption { color: #e6efe4; margin-top: 12px; font-weight: 600; text-align: center; }
.lightbox__count { color: #9fb29f; font-size: .85rem; font-weight: 400; margin-left: 8px; }
.lightbox button {
	position: absolute; display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.12); color: var(--white); transition: background-color .2s;
}
.lightbox button:hover { background: var(--lime); color: var(--forest-2); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
	.lightbox { padding: 64px 12px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
}

/* WordPress alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .cta-band, .layout__aside, .site-footer, .map-embed { display: none !important; }
}

/* Compact range grid on phones */
@media (max-width: 600px) {
	.card-grid--range { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.card-grid--range .card__body { padding: 10px 12px 12px; }
	.card-grid--range .card__title { font-size: 1.08rem; }
	.card-grid--range .card__more { display: none; }
	.card-grid--range .card__media { aspect-ratio: 4 / 3; }
}

/* Contact page photo */
.contact-photo { margin: 24px 0 0; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* Several galleries on one page (Garden Shop) */
.entry-content .gallery + h2 { margin-top: 1.6em; }
.entry-content h2 + p + .gallery { margin-top: 1em; }

/* Hero extras used only by the Warm & Earthy style */
.hero__inset, .hero__badge { display: none; }

/* Contact: email card (replaces the old enquiry form) */
.email-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.email-card__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 16px; background: #eaf6dc; color: var(--green); margin-bottom: 10px; }
.email-card__icon .icon { width: 26px; height: 26px; }
.email-card__address { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 4px 0 18px; overflow-wrap: anywhere; }
.email-card__address a { text-decoration: none; }
.email-card__or { margin: 18px 0 0; color: var(--muted); }
.email-card__or a { font-weight: 700; }
