/**
 * Spice Wayanad — main stylesheet
 *
 * Every colour, font, radius and rhythm value is a CSS custom property
 * declared once in the :root block below. The Customizer overrides these
 * same variables inline, so changing the brand never means editing rules.
 *
 * Contents
 *   1.  Design tokens
 *   2.  Base & typography
 *   3.  Layout
 *   4.  Buttons & links
 *   5.  Header & navigation
 *   6.  Hero
 *   7.  Homepage sections
 *   8.  Product cards & grid
 *   9.  Product detail
 *   10. Pages, forms & contact
 *   11. Footer & floating CTA
 *   12. Motion, focus & utilities
 */

/* ------------------------------------------------------------------
 * 1. Design tokens
 * ------------------------------------------------------------------ */

:root {
	/* Colour — overridden by Customizer → Brand & Design → Colours. */
	--sw-green: #1e332a;
	--sw-green-deep: #14231c;
	--sw-green-mid: #33574a;
	--sw-green-soft: #97a89e;
	--sw-green-rgb: 30, 51, 42;
	--sw-cream: #e4dcc9;
	--sw-cream-deep: #d3c9b2;
	--sw-accent: #a2673c;
	--sw-accent-rgb: 162, 103, 60;
	--sw-bg: #fbf9f4;
	--sw-bg-alt: #f2ede1;
	--sw-text: #1c2320;
	--sw-muted: #5c6960;
	--sw-line: rgba(30, 51, 42, 0.16);
	--sw-line-strong: rgba(30, 51, 42, 0.32);
	--sw-whatsapp: #25d366;

	/* Type */
	--sw-font-heading: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--sw-font-body: Karla, "Segoe UI", system-ui, -apple-system, sans-serif;
	--sw-heading-weight: 400;
	--sw-text-base: 1.0625rem;

	--sw-h1: clamp(2.5rem, 5.2vw + 0.9rem, 4.25rem);
	--sw-h2: clamp(1.95rem, 2.6vw + 1.1rem, 2.9rem);
	--sw-h3: clamp(1.35rem, 1vw + 1.05rem, 1.65rem);
	--sw-lead: clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem);

	/* Shape & rhythm */
	--sw-radius: 3px;
	--sw-radius-btn: 2px;
	--sw-arch: 999px 999px var(--sw-radius) var(--sw-radius);
	--sw-section: 96px;
	--sw-gutter: clamp(20px, 4vw, 40px);
	--sw-max: 1180px;
	--sw-max-narrow: 720px;

	/* Motion */
	--sw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--sw-speed: 0.45s;
}

/* ------------------------------------------------------------------
 * 2. Base & typography
 * ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--sw-bg);
	color: var(--sw-text);
	font-family: var(--sw-font-body);
	font-size: var(--sw-text-base);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
picture,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4 {
	font-family: var(--sw-font-heading);
	font-weight: var(--sw-heading-weight);
	color: var(--sw-green);
	margin: 0 0 0.5em;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1 {
	font-size: var(--sw-h1);
	line-height: 1.06;
}

h2 {
	font-size: var(--sw-h2);
	line-height: 1.14;
}

h3 {
	font-size: var(--sw-h3);
	line-height: 1.3;
}

p {
	margin: 0 0 1.15em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--sw-green);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.2s var(--sw-ease);
}

a:hover {
	color: var(--sw-accent);
}

ul,
ol {
	padding-left: 1.2em;
}

blockquote {
	margin: 2em 0;
	padding-left: 1.4em;
	border-left: 2px solid var(--sw-cream-deep);
	font-family: var(--sw-font-heading);
	font-size: 1.35rem;
	line-height: 1.4;
	color: var(--sw-green);
}

hr,
.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--sw-line);
	margin: 3rem 0;
}

/* The small uppercase label that opens most sections. */
.sw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	margin: 0 0 1rem;
	font-family: var(--sw-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--sw-green-mid);
}

.sw-eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--sw-line-strong);
}

.sw-section-header {
	max-width: 46rem;
	margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.sw-section-header--center {
	margin-inline: auto;
	text-align: center;
}

.sw-section-header--center .sw-eyebrow::after {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--sw-line-strong);
}

.sw-section-title {
	margin: 0;
}

.sw-section-text {
	margin: 1rem 0 0;
	font-size: var(--sw-lead);
	color: var(--sw-muted);
	line-height: 1.65;
}

.sw-lead {
	font-size: var(--sw-lead);
	color: var(--sw-muted);
	line-height: 1.65;
}

/* ------------------------------------------------------------------
 * 3. Layout
 * ------------------------------------------------------------------ */

.sw-container {
	width: 100%;
	max-width: var(--sw-max);
	margin-inline: auto;
	padding-inline: var(--sw-gutter);
}

.sw-container--narrow {
	max-width: var(--sw-max-narrow);
}

.sw-section {
	padding-block: var(--sw-section);
}

.sw-section--tight {
	padding-block: calc(var(--sw-section) * 0.62);
}

.sw-section--alt {
	background: var(--sw-bg-alt);
}

.sw-section--cream {
	background: var(--sw-cream);
}

.sw-section--green {
	background: var(--sw-green);
	color: var(--sw-cream);
}

.sw-section--green h1,
.sw-section--green h2,
.sw-section--green h3 {
	color: var(--sw-cream);
}

.sw-section--green .sw-eyebrow {
	color: var(--sw-cream);
	opacity: 0.75;
}

.sw-section--green .sw-eyebrow::before,
.sw-section--green .sw-eyebrow::after {
	background: rgba(228, 220, 201, 0.4);
}

.sw-section--green .sw-section-text,
.sw-section--green p {
	color: rgba(228, 220, 201, 0.82);
}

.sw-grid {
	display: grid;
	gap: clamp(20px, 3vw, 34px);
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.sw-grid--2,
	.sw-grid--3,
	.sw-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.sw-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.sw-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Two-column feature block: text beside an image. */
.sw-split {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	grid-template-columns: 1fr;
}

@media (min-width: 860px) {
	.sw-split {
		grid-template-columns: 1fr 1fr;
	}

	.sw-split--reverse .sw-split__media {
		order: -1;
	}
}

.sw-split__media {
	position: relative;
}

.sw-split__media img,
.sw-split__media .sw-placeholder {
	width: 100%;
	border-radius: var(--sw-radius);
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* The arch shape borrowed from the logo mark. */
.sw-arch img,
.sw-arch .sw-placeholder {
	border-radius: var(--sw-arch);
}

/* ------------------------------------------------------------------
 * 4. Buttons & links
 * ------------------------------------------------------------------ */

.sw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 48px;
	padding: 0.85em 1.55em;
	border: 1px solid transparent;
	border-radius: var(--sw-radius-btn);
	font-family: var(--sw-font-body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--sw-ease), color 0.25s var(--sw-ease),
		border-color 0.25s var(--sw-ease), transform 0.25s var(--sw-ease);
}

.sw-btn:hover {
	transform: translateY(-1px);
}

.sw-btn:active {
	transform: translateY(0);
}

.sw-btn .sw-icon {
	flex: none;
}

.sw-btn--primary {
	background: var(--sw-green);
	border-color: var(--sw-green);
	color: var(--sw-cream);
}

.sw-btn--primary:hover {
	background: var(--sw-green-deep);
	border-color: var(--sw-green-deep);
	color: #fff;
}

.sw-btn--secondary {
	background: transparent;
	border-color: var(--sw-line-strong);
	color: var(--sw-green);
}

.sw-btn--secondary:hover {
	background: var(--sw-green);
	border-color: var(--sw-green);
	color: var(--sw-cream);
}

.sw-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--sw-green);
	padding-inline: 0.4em;
	text-decoration: underline;
	text-decoration-color: var(--sw-line-strong);
}

.sw-btn--ghost:hover {
	color: var(--sw-accent);
	text-decoration-color: currentColor;
}

/* On the deep green bands. */
.sw-btn--onGreen {
	background: var(--sw-cream);
	border-color: var(--sw-cream);
	color: var(--sw-green);
}

.sw-btn--onGreen:hover {
	background: #fff;
	border-color: #fff;
	color: var(--sw-green-deep);
}

.sw-btn--ghostLight {
	background: transparent;
	border-color: rgba(228, 220, 201, 0.45);
	color: var(--sw-cream);
}

.sw-btn--ghostLight:hover {
	background: rgba(228, 220, 201, 0.12);
	border-color: var(--sw-cream);
	color: #fff;
}

.sw-btn--sm {
	min-height: 42px;
	padding: 0.62em 1.1em;
	font-size: 0.82rem;
}

.sw-btn--block {
	width: 100%;
}

.sw-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* Text link with a moving arrow. */
.sw-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sw-green);
	text-decoration: none;
}

.sw-link-arrow svg {
	transition: transform 0.3s var(--sw-ease);
}

a:hover .sw-link-arrow svg,
.sw-link-arrow:hover svg {
	transform: translateX(4px);
}

/* ------------------------------------------------------------------
 * 5. Header & navigation
 * ------------------------------------------------------------------ */

.sw-topbar {
	background: var(--sw-green);
	color: var(--sw-cream);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-align: center;
	padding: 0.6rem var(--sw-gutter);
}

.sw-topbar p {
	margin: 0;
}

.sw-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(251, 249, 244, 0.94);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--sw-ease), box-shadow 0.3s var(--sw-ease);
}

.sw-header.is-stuck {
	border-bottom-color: var(--sw-line);
	box-shadow: 0 8px 30px rgba(var(--sw-green-rgb), 0.05);
}

.sw-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 76px;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	width: auto;
	max-height: 52px;
	transition: max-height 0.3s var(--sw-ease);
}

.sw-header.is-stuck .custom-logo {
	max-height: 44px;
}

.sw-wordmark {
	margin: 0;
	font-family: var(--sw-font-heading);
	font-size: 1.35rem;
	font-weight: var(--sw-heading-weight);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.05;
}

.sw-wordmark a {
	text-decoration: none;
	color: var(--sw-green);
}

.sw-nav {
	display: none;
}

.sw-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1.1rem, 2.2vw, 2.1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-nav a {
	position: relative;
	display: block;
	padding: 0.4rem 0;
	font-size: 0.88rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--sw-text);
	text-decoration: none;
}

.sw-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--sw-green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--sw-ease);
}

.sw-nav a:hover::after,
.sw-nav .current-menu-item > a::after,
.sw-nav .current_page_parent > a::after {
	transform: scaleX(1);
}

.sw-nav .current-menu-item > a {
	color: var(--sw-green);
}

.sw-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.sw-header__cta {
	display: none;
}

/* Menu toggle */
.sw-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 11px;
	background: none;
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-btn);
	cursor: pointer;
}

.sw-burger span {
	display: block;
	height: 1.5px;
	background: var(--sw-green);
	transition: transform 0.3s var(--sw-ease), opacity 0.2s var(--sw-ease);
}

.sw-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.sw-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.sw-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.sw-drawer {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	flex-direction: column;
	background: var(--sw-bg);
	padding: 1.25rem var(--sw-gutter) 2rem;
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.4s var(--sw-ease), opacity 0.3s var(--sw-ease), visibility 0.3s;
	overflow-y: auto;
}

.sw-drawer.is-open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.sw-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	margin-bottom: 1.5rem;
}

.sw-drawer ul {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	border-top: 1px solid var(--sw-line);
}

.sw-drawer li {
	border-bottom: 1px solid var(--sw-line);
}

.sw-drawer a {
	display: block;
	padding: 1rem 0;
	font-family: var(--sw-font-heading);
	font-size: 1.6rem;
	color: var(--sw-green);
	text-decoration: none;
}

.sw-drawer__foot {
	margin-top: auto;
	display: grid;
	gap: 0.75rem;
}

.sw-drawer__contact {
	font-size: 0.85rem;
	color: var(--sw-muted);
	line-height: 1.6;
}

@media (min-width: 940px) {
	.sw-nav {
		display: block;
	}

	.sw-header__cta {
		display: inline-flex;
	}

	.sw-burger {
		display: none;
	}
}

/* ------------------------------------------------------------------
 * 6. Hero
 * ------------------------------------------------------------------ */

.sw-hero {
	position: relative;
	background: var(--sw-bg-alt);
	overflow: hidden;
}

.sw-hero__inner {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
	grid-template-columns: 1fr;
	padding-block: clamp(3rem, 7vw, 6rem);
}

.sw-hero__copy {
	max-width: 34rem;
}

.sw-hero__title {
	margin: 0 0 1.1rem;
	font-size: var(--sw-h1);
	line-height: 1.02;
}

.sw-hero__text {
	margin: 0;
	font-size: var(--sw-lead);
	color: var(--sw-muted);
	line-height: 1.6;
	max-width: 30rem;
}

.sw-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2.1rem;
}

.sw-hero__media {
	position: relative;
}

.sw-hero__media img,
.sw-hero__media .sw-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--sw-arch);
}

/* A quiet arch outline echoing the logo, drawn behind the photograph. */
.sw-hero__frame {
	position: absolute;
	inset: -14px -14px auto -14px;
	height: calc(100% + 28px);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-arch);
	pointer-events: none;
}

.sw-hero__note {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.6rem;
	font-size: 0.82rem;
	color: var(--sw-muted);
}

.sw-hero__note svg {
	flex: none;
	color: var(--sw-green-mid);
}

@media (min-width: 860px) {
	.sw-hero__inner {
		grid-template-columns: 1.05fr 0.95fr;
		gap: clamp(3rem, 6vw, 6rem);
	}

	.sw-hero__media img,
	.sw-hero__media .sw-placeholder {
		aspect-ratio: 3 / 4;
	}
}

/* ------------------------------------------------------------------
 * 7. Homepage sections
 * ------------------------------------------------------------------ */

/* Category cards */
.sw-categories {
	display: grid;
	gap: clamp(20px, 3vw, 34px);
	grid-template-columns: 1fr;
}

@media (min-width: 760px) {
	.sw-categories {
		grid-template-columns: repeat(2, 1fr);
	}
}

.sw-category {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: var(--sw-bg);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	overflow: hidden;
	transition: border-color 0.3s var(--sw-ease), transform 0.4s var(--sw-ease);
}

.sw-category:hover {
	border-color: var(--sw-line-strong);
	transform: translateY(-3px);
}

.sw-category__media {
	display: block;
	overflow: hidden;
	background: var(--sw-cream);
}

.sw-category__media img,
.sw-category__media .sw-placeholder {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	transition: transform 0.7s var(--sw-ease);
}

.sw-category:hover .sw-category__media img {
	transform: scale(1.035);
}

.sw-category__body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.sw-category__title {
	font-family: var(--sw-font-heading);
	font-size: clamp(1.6rem, 2vw, 2rem);
	font-weight: var(--sw-heading-weight);
	line-height: 1.15;
	color: var(--sw-green);
}

.sw-category__text {
	color: var(--sw-muted);
	line-height: 1.65;
}

.sw-category .sw-link-arrow {
	margin-top: 0.4rem;
}

/* Why choose us */
.sw-reasons {
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
	border-top: 1px solid var(--sw-line);
}

.sw-reason {
	padding: clamp(1.6rem, 3vw, 2.25rem) 0;
	border-bottom: 1px solid var(--sw-line);
}

.sw-reason__number {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--sw-font-heading);
	font-size: 0.95rem;
	letter-spacing: 0.14em;
	color: var(--sw-green-mid);
}

.sw-reason__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.sw-reason__text {
	margin: 0;
	color: var(--sw-muted);
	line-height: 1.65;
}

@media (min-width: 700px) {
	.sw-reasons {
		grid-template-columns: repeat(2, 1fr);
		column-gap: clamp(2rem, 5vw, 4.5rem);
	}
}

@media (min-width: 1040px) {
	.sw-reasons {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* CTA band.
   Deliberately a shade deeper than the green sections and the footer, so
   that where they sit next to each other the page still reads as three
   distinct blocks rather than one heavy mass of green. */
.sw-band {
	background: var(--sw-green-deep);
	color: var(--sw-cream);
}

.sw-band__inner {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	align-items: flex-start;
	padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.sw-band__title {
	margin: 0;
	font-size: clamp(1.6rem, 2.4vw, 2.35rem);
	color: var(--sw-cream);
	line-height: 1.2;
	max-width: 26ch;
}

.sw-band__text {
	margin: 0.65rem 0 0;
	color: rgba(228, 220, 201, 0.82);
	max-width: 44ch;
}

.sw-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

@media (min-width: 880px) {
	.sw-band__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 3rem;
	}

	.sw-band__actions {
		flex: none;
	}
}

/* ------------------------------------------------------------------
 * 8. Product cards & grid
 * ------------------------------------------------------------------ */

.sw-card {
	display: flex;
	flex-direction: column;
	background: var(--sw-bg);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	overflow: hidden;
	transition: border-color 0.3s var(--sw-ease), transform 0.4s var(--sw-ease),
		box-shadow 0.4s var(--sw-ease);
}

.sw-card:hover {
	border-color: var(--sw-line-strong);
	transform: translateY(-3px);
	box-shadow: 0 18px 40px -28px rgba(var(--sw-green-rgb), 0.5);
}

.sw-card__media {
	display: block;
	overflow: hidden;
	background: var(--sw-cream);
}

.sw-card__media img,
.sw-card__media .sw-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.7s var(--sw-ease);
}

.sw-card:hover .sw-card__media img {
	transform: scale(1.04);
}

.sw-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.55rem;
	padding: clamp(1.15rem, 2.2vw, 1.6rem);
}

.sw-card__eyebrow {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--sw-green-mid);
}

.sw-card__title {
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.2;
}

.sw-card__title a {
	text-decoration: none;
	color: var(--sw-green);
}

.sw-card__title a:hover {
	color: var(--sw-accent);
}

.sw-card__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--sw-muted);
}

.sw-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1rem;
	margin-top: auto;
	padding-top: 1.1rem;
}

.sw-card__link {
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--sw-muted);
	text-decoration: none;
	border-bottom: 1px solid var(--sw-line);
	padding-bottom: 2px;
}

.sw-card__link:hover {
	color: var(--sw-green);
	border-bottom-color: var(--sw-green);
}

/* Placeholder shown until a photograph is uploaded. */
.sw-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sw-cream);
	color: rgba(var(--sw-green-rgb), 0.35);
}

.sw-placeholder svg {
	width: 34%;
	max-width: 90px;
	height: auto;
}

/* Category filter */
.sw-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.sw-filter__btn {
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	padding: 0.5em 1.15em;
	border: 1px solid var(--sw-line);
	border-radius: 999px;
	font-size: 0.83rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--sw-text);
	text-decoration: none;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.25s var(--sw-ease), color 0.25s var(--sw-ease),
		border-color 0.25s var(--sw-ease);
}

.sw-filter__btn:hover {
	border-color: var(--sw-line-strong);
	color: var(--sw-green);
}

.sw-filter__btn.is-active {
	background: var(--sw-green);
	border-color: var(--sw-green);
	color: var(--sw-cream);
}

.sw-card.is-hidden {
	display: none;
}

/* ------------------------------------------------------------------
 * 9. Product detail
 * ------------------------------------------------------------------ */

.sw-product {
	padding-block: clamp(2rem, 4vw, 3.5rem) var(--sw-section);
}

.sw-product__layout {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 900px) {
	.sw-product__layout {
		grid-template-columns: 1fr 1fr;
	}

	.sw-product__info {
		position: sticky;
		top: 120px;
	}
}

.sw-product__figure {
	margin: 0;
	background: var(--sw-cream);
	border-radius: var(--sw-radius);
	overflow: hidden;
}

.sw-product__figure img,
.sw-product__figure .sw-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.sw-product__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.75rem;
	padding: 0;
	list-style: none;
}

.sw-product__thumb {
	width: 76px;
	height: 76px;
	padding: 0;
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	background: var(--sw-cream);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.25s var(--sw-ease);
}

.sw-product__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sw-product__thumb.is-active,
.sw-product__thumb:hover {
	border-color: var(--sw-green);
}

.sw-product__category {
	margin: 0 0 0.9rem;
}

.sw-product__title {
	margin: 0 0 1rem;
	font-size: clamp(2.15rem, 3.6vw, 3.1rem);
	line-height: 1.05;
}

.sw-product__desc {
	font-size: var(--sw-lead);
	line-height: 1.7;
	color: var(--sw-text);
}

.sw-product__desc p {
	margin-bottom: 1.1em;
}

.sw-product__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.sw-product__meta {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--sw-line);
	display: grid;
	gap: 0.6rem;
	font-size: 0.88rem;
	color: var(--sw-muted);
}

.sw-product__meta strong {
	color: var(--sw-green);
	font-weight: 600;
}

.sw-related {
	padding-block: var(--sw-section);
	background: var(--sw-bg-alt);
}

/* ------------------------------------------------------------------
 * 10. Pages, forms & contact
 * ------------------------------------------------------------------ */

.sw-pagehead {
	padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
	background: var(--sw-bg-alt);
}

.sw-pagehead__title {
	margin: 0.35rem 0 0;
	max-width: 20ch;
}

.sw-pagehead__text {
	margin: 1.1rem 0 0;
	max-width: 52ch;
	font-size: var(--sw-lead);
	color: var(--sw-muted);
}

.sw-breadcrumbs {
	font-size: 0.78rem;
	color: var(--sw-muted);
}

.sw-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-breadcrumbs li + li::before {
	content: "/";
	margin-right: 0.4rem;
	color: var(--sw-line-strong);
}

.sw-breadcrumbs a {
	color: var(--sw-muted);
	text-decoration: none;
}

.sw-breadcrumbs a:hover {
	color: var(--sw-green);
	text-decoration: underline;
}

.sw-prose {
	max-width: 40rem;
}

.sw-prose h2 {
	margin-top: 2.4em;
}

.sw-prose h3 {
	margin-top: 2em;
}

.sw-prose > *:first-child {
	margin-top: 0;
}

.sw-prose img {
	border-radius: var(--sw-radius);
}

/* Contact */
.sw-contact-grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 900px) {
	.sw-contact-grid {
		grid-template-columns: 0.9fr 1.1fr;
	}
}

.sw-contact-details {
	display: grid;
	gap: 2rem;
}

.sw-contact-block__label {
	margin: 0 0 0.6rem;
	font-family: var(--sw-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--sw-green-mid);
}

.sw-address {
	font-style: normal;
	line-height: 1.75;
	color: var(--sw-muted);
}

.sw-address strong {
	display: block;
	color: var(--sw-green);
	font-family: var(--sw-font-heading);
	font-size: 1.3rem;
	font-weight: var(--sw-heading-weight);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}

.sw-contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.sw-contact-list li {
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
}

.sw-contact-list__key {
	flex: none;
	min-width: 5.5rem;
	font-size: 0.78rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--sw-muted);
}

.sw-contact-list a {
	font-size: 1.05rem;
	text-decoration: none;
	border-bottom: 1px solid var(--sw-line);
}

.sw-contact-list a:hover {
	border-bottom-color: currentColor;
}

.sw-hours {
	margin: 0;
	color: var(--sw-muted);
}

.sw-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	padding-top: 0.5rem;
}

.sw-map {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	overflow: hidden;
	background: var(--sw-bg-alt);
}

.sw-map iframe {
	display: block;
	width: 100%;
	border: 0;
}

.sw-map__fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	padding: clamp(2.5rem, 5vw, 4rem) var(--sw-gutter);
	text-align: center;
	color: var(--sw-green-mid);
}

.sw-map__address {
	margin: 0;
	max-width: 32ch;
	color: var(--sw-muted);
}

/* Forms */
.sw-form-wrap {
	background: var(--sw-bg-alt);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.sw-form__row {
	display: grid;
	gap: 0 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.sw-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.sw-field {
	margin: 0 0 1.15rem;
}

.sw-field label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sw-green-mid);
}

.sw-field input,
.sw-field textarea,
.sw-field select {
	width: 100%;
	padding: 0.8rem 0.95rem;
	background: var(--sw-bg);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-btn);
	font-family: inherit;
	font-size: 1rem;
	color: var(--sw-text);
	transition: border-color 0.25s var(--sw-ease), box-shadow 0.25s var(--sw-ease);
}

.sw-field input:focus,
.sw-field textarea:focus {
	outline: none;
	border-color: var(--sw-green);
	box-shadow: 0 0 0 3px rgba(var(--sw-green-rgb), 0.12);
}

.sw-field textarea {
	resize: vertical;
	min-height: 140px;
}

.sw-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0.5rem 0 0;
}

.sw-form__hint {
	font-size: 0.8rem;
	color: var(--sw-muted);
}

/* Honeypot, hidden from people but not from bots. */
.sw-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sw-notice {
	margin: 0 0 1.5rem;
	padding: 1rem 1.15rem;
	border-left: 3px solid var(--sw-green);
	border-radius: var(--sw-radius-btn);
	background: rgba(var(--sw-green-rgb), 0.06);
	font-size: 0.95rem;
}

.sw-notice--error {
	border-left-color: var(--sw-accent);
	background: rgba(var(--sw-accent-rgb), 0.08);
}

.sw-notice p {
	margin: 0;
}

/* ------------------------------------------------------------------
 * 11. Footer & floating CTA
 * ------------------------------------------------------------------ */

.sw-footer {
	background: var(--sw-green);
	color: rgba(228, 220, 201, 0.78);
	padding-block: clamp(3rem, 6vw, 5rem) 0;
	font-size: 0.92rem;
}

.sw-footer a {
	color: rgba(228, 220, 201, 0.78);
	text-decoration: none;
}

.sw-footer a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.sw-footer__grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 700px) {
	.sw-footer__grid {
		grid-template-columns: 1.4fr 1fr 1.2fr;
		gap: clamp(2rem, 5vw, 4rem);
	}
}

.sw-footer__brand .custom-logo {
	max-height: 64px;
	filter: brightness(0) invert(1);
	opacity: 0.92;
}

.sw-footer__wordmark {
	margin: 0 0 0.75rem;
	font-family: var(--sw-font-heading);
	font-size: 1.5rem;
	font-weight: var(--sw-heading-weight);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sw-cream);
	line-height: 1.1;
}

.sw-footer__tagline {
	margin: 0 0 1.5rem;
	max-width: 30ch;
	color: rgba(228, 220, 201, 0.7);
}

.sw-footer__heading {
	margin: 0 0 1rem;
	font-family: var(--sw-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--sw-cream);
}

.sw-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.sw-footer address {
	font-style: normal;
	line-height: 1.75;
	margin-bottom: 1rem;
}

.sw-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(228, 220, 201, 0.18);
	font-size: 0.82rem;
	color: rgba(228, 220, 201, 0.6);
}

.sw-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.sw-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

/* Floating WhatsApp button */
.sw-float {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 70;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.15rem;
	background: var(--sw-whatsapp);
	color: #06301a;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.35);
	transform: translateY(0);
	transition: transform 0.3s var(--sw-ease), box-shadow 0.3s var(--sw-ease);
}

.sw-float:hover {
	color: #06301a;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.4);
}

.sw-float svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 600px) {
	.sw-float {
		padding: 0.9rem;
	}

	.sw-float__label {
		display: none;
	}

	.sw-float svg {
		width: 26px;
		height: 26px;
	}
}

/* ------------------------------------------------------------------
 * 12. Motion, focus & utilities
 * ------------------------------------------------------------------ */

.sw-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s var(--sw-ease), transform 0.7s var(--sw-ease);
	will-change: opacity, transform;
}

.sw-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Nothing is hidden if JavaScript never runs. */
.no-js .sw-reveal {
	opacity: 1;
	transform: none;
}

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

	.sw-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid var(--sw-green);
	outline-offset: 3px;
	border-radius: 2px;
}

.sw-section--green :where(a, button):focus-visible,
.sw-footer :where(a, button):focus-visible,
.sw-band :where(a, button):focus-visible {
	outline-color: var(--sw-cream);
}

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

.sw-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: var(--sw-green);
	color: var(--sw-cream);
	text-decoration: none;
}

.sw-skip-link:focus {
	left: 0;
	color: var(--sw-cream);
}

body.sw-no-scroll {
	overflow: hidden;
}

.sw-alignwide {
	max-width: var(--sw-max);
}

/* WordPress block alignment inside prose columns. */
.sw-prose .alignwide {
	width: min(var(--sw-max), 100vw - var(--sw-gutter) * 2);
	max-width: none;
	margin-inline: auto;
}

.sw-prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.sw-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 3rem;
	justify-content: center;
}

.sw-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-btn);
	text-decoration: none;
	font-size: 0.9rem;
}

.sw-pagination .page-numbers.current {
	background: var(--sw-green);
	border-color: var(--sw-green);
	color: var(--sw-cream);
}

.sw-empty {
	padding: clamp(2.5rem, 5vw, 4rem);
	border: 1px dashed var(--sw-line-strong);
	border-radius: var(--sw-radius);
	text-align: center;
	color: var(--sw-muted);
}
