/*
Theme Name: Dank and Shrooms Custom Theme
Theme URI: https://dankandshrooms.com
Author: Dank and Shrooms Team
Author URI: https://dankandshrooms.com
Description: Custom standalone theme for Dank and Shrooms - Premium hemp and mushroom products, with Tailwind CSS and WooCommerce integration.
Version: 1.0.0
License: Proprietary
*/
/* ==========================================================================
   DESIGN TOKENS — single source of truth for all --ds-* custom properties.
   Component-scoped and media-query-scoped tokens live next to where they are used.
   ========================================================================== */
:root {
  /* ── Brand palette (hex source values) ── */
  --brand-bg:            #F9F9F6;
  --brand-surface:       #FFFFFF;
  --brand-primary:       #4A7D4E;
  --brand-primary-dark:  #3D6B40;
  --brand-primary-hover: #3D6B40;
  --brand-text:          #22223B;
  --brand-muted:         #7C7C8A;
  --brand-border:        #E0E0D8;
  --brand-gold:          #C4A77D;

  /* ── DS aliases — use these in all component CSS ── */
  --ds-bg:            var(--brand-bg);
  --ds-surface:       var(--brand-surface);
  --ds-primary:       var(--brand-primary);
  --ds-primary-dark:  var(--brand-primary-dark);
  --ds-primary-hover: var(--brand-primary-hover);
  --ds-text:          var(--brand-text);
  --ds-muted:         var(--brand-muted);
  --ds-border:        var(--brand-border);
  --ds-gold:          var(--brand-gold);

  /* ── RGB channels — required for Tailwind opacity modifiers (bg-primary/20 etc.) ── */
  --ds-primary-rgb:      74 125 78;
  --ds-primary-dark-rgb: 61 107 64;
  --ds-text-rgb:         34 34 59;
  --ds-muted-rgb:        124 124 138;
  --ds-border-rgb:       224 224 216;
  --ds-bg-rgb:           249 249 246;
  --ds-surface-rgb:      255 255 255;
  --ds-gold-rgb:         196 167 125;
  --ds-accent-rgb:       166 124 82;
  --ds-error-rgb:        211 47 47;

  /* ── Semantic tokens ── */
  --ds-accent: rgb(166 124 82);
  --ds-error:  rgb(211 47 47);

  /* ── Overlay tokens (for hero backgrounds and similar gradient overlays) ── */
  --ds-overlay-strong: rgba(0, 0, 0, 0.55);
  --ds-overlay-weak:   rgba(0, 0, 0, 0.25);

  /* ── Typography ── */
  --ds-font-display: "Roboto Flex", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ds-font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ── Border radius scale ── */
  --ds-radius:      12px;
  --ds-radius-sm:    6px;
  --ds-radius-md:   12px;
  --ds-radius-lg:   16px;
  --ds-radius-xl:   24px;
  --ds-radius-full: 9999px;

  /* ── Transition presets ── */
  --ds-transition-fast:   120ms ease;
  --ds-transition-normal: 180ms ease;
  --ds-transition-slow:   280ms ease;

  /* ── Layout widths ── */
  --ds-shell-max-width:    1600px; /* header / footer shell */
  --ds-content-max-width:  1400px; /* product, cart, checkout, shop */
  --ds-prose-max-width:     860px; /* FAQ, contact, legal reading pages */
  --ds-shell-gutter:        1.5rem;

  /* ── Spacing ── */
  --ds-home-section-y: clamp(2rem, 3.6vw, 2.85rem);

  /* ── Motion system ── */
  --ds-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ds-motion-fast:  220ms;
  --ds-motion-base:  520ms;

  /* ── Z-index scale ── */
  --ds-z-age-gate:       99999;
  --ds-z-drawer:          1400;
  --ds-z-modal:           1300;
  --ds-z-header-desktop:  1250;
  --ds-z-banner:          1200;
  --ds-z-header-mobile:   1150;
  --ds-z-header-base:     1090;

  /* ── Admin bar offset; actual value is computed dynamically in assets/js/header-scroll.js (WP admin bar is typically ~32px) ── */
  --ds-admin-bar-height: 0px;
}


/* Base: two-color anchor system - default and active only, no underlines */
a {
	color: var(--ds-text);
	text-decoration: none !important;
	transition: none;
}

a:visited,
a:active {
	text-decoration: none !important;
}

a:hover,
a:visited,
a:focus {
	color: var(--ds-text);
	text-decoration: none !important;
}

a:visited:hover,
a:visited:focus,
a:active:hover,
a:active:focus {
	color: var(--ds-primary);
	text-decoration: none !important;
}

#site-header .mega-col h3 {
	margin: 0 0 0.42rem;
	padding-bottom: 0.35rem;
	font-size: 0.86rem;
	letter-spacing: 0.1em;
}

#site-header .mega-menu-simple-content {
	display: grid;
	gap: 0.12rem;
	padding: 0.35rem;
}

@media (max-width: 1280px) {
	#site-header #shop-mega-menu {
		width: min(760px, calc(100vw - 1.25rem)) !important;
		max-width: 760px !important;
	}

	#site-header .mega-menu-content {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}
}

/* Temporary logo icon from assets/img */
#site-header .logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	min-width: 0;
}

#site-header .logo-icon {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 999px;
	overflow: hidden;
}

#site-header .logo-icon img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	border-radius: inherit;
	display: block;
}

#site-header .logo-text-wrapper {
	min-width: 0;
}

#main-content {
	margin-top: 0;
	padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 60px));
	transition: padding-top var(--ds-header-motion-duration, 220ms) var(--ds-header-motion-ease, ease);
}

@media (prefers-reduced-motion: reduce) {
	#main-content {
		transition: none;
	}
}

body.home:not(.header-scrolled) #site-header.navbar,
body.home:not(.header-scrolled) .navbar {
	mix-blend-mode: normal !important;
	isolation: auto;
}

/* Header search: desktop + mobile UX */
#site-header .nav-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 100%;
}

/* --------------------------------------------------------------------------
 * Age Verification Overlay  (#ds-age-gate)
 * -------------------------------------------------------------------------- */

/* Overlay wrapper */
#ds-age-gate.ds-agv-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

/* Frosted-glass backdrop */
#ds-age-gate .ds-agv-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.60);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* Modal card */
#ds-age-gate .ds-agv-card {
	position: relative;
	z-index: 1;
	width: min(440px, 90vw);
	background: rgba(255, 255, 255, 0.97);
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
	padding: 2.5rem 2rem 2rem;
	text-align: center;
	max-height: 95dvh;
	overflow-y: auto;
	animation: ds-agv-enter 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ds-agv-enter {
	from {
		opacity: 0;
		transform: scale(0.94) translateY(12px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* Exit animation */
#ds-age-gate.ds-agv--exit {
	animation: ds-agv-fade-out 320ms ease forwards;
}

@keyframes ds-agv-fade-out {
	to { opacity: 0; }
}

/* Logo */
#ds-age-gate .ds-agv-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 1.25rem;
}

#ds-age-gate .ds-agv-logo-img {
	max-height: 60px;
	width: auto;
	object-fit: contain;
}

#ds-age-gate .ds-agv-logo-text {
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #1a1a1a;
}

/* Tagline */
#ds-age-gate .ds-agv-tagline {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ds-primary);
	margin-bottom: 0.75rem;
}

/* Heading */
#ds-age-gate .ds-agv-heading {
	font-size: clamp(1.25rem, 4vw, 1.6rem);
	font-weight: 800;
	color: #111;
	line-height: 1.2;
	margin-bottom: 1rem;
}

/* Body text */
#ds-age-gate .ds-agv-body {
	font-size: 0.875rem;
	line-height: 1.65;
	color: #4a4a4a;
	margin-bottom: 1.5rem;
}

/* Buttons container */
#ds-age-gate .ds-agv-actions {
	display: flex;
	gap: 0.75rem;
	 justify-content: center;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

/* Primary — Enter */
#ds-age-gate .ds-agv-btn-enter {
	flex: 1 1 auto;
	min-width: 160px;
	padding: 0.875rem 1.5rem;
	background: linear-gradient(135deg, var(--ds-primary) 0%, #3a6640 100%);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgb(74 125 78 / 0.40);
	transition: filter 200ms ease, transform 150ms ease, box-shadow 200ms ease;
}

#ds-age-gate .ds-agv-btn-enter:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgb(74 125 78 / 0.50);
}

#ds-age-gate .ds-agv-btn-enter:active {
	transform: translateY(0);
	filter: brightness(0.96);
}

/* Secondary — Decline */
#ds-age-gate .ds-agv-btn-decline {
	flex: 1 1 auto;
	min-width: 140px;
	padding: 0.875rem 1.25rem;
	background: transparent;
	color: #444;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1.5px solid #ccc;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

#ds-age-gate .ds-agv-btn-decline:hover {
	border-color: #999;
	color: #222;
	background: rgba(0, 0, 0, 0.03);
}

/* Remember checkbox */
#ds-age-gate .ds-agv-remember {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	cursor: pointer;
	font-size: 0.8rem;
	color: #555;
	user-select: none;
}

#ds-age-gate .ds-agv-remember-chk {
	width: 16px;
	height: 16px;
	margin: 0;
	cursor: pointer;
	accent-color: var(--ds-primary);
}

/* Compliance footer */
#ds-age-gate .ds-agv-compliance {
	font-size: 0.72rem;
	color: #888;
	line-height: 1.5;
}

#ds-age-gate .ds-agv-compliance a {
	text-decoration: none !important;
}

/* Mobile: stack buttons + full-width */
@media (max-width: 640px) {
	#ds-age-gate .ds-agv-card {
		width: 90vw;
		padding: 2rem 1.25rem 1.5rem;
	}

	#ds-age-gate .ds-agv-actions {
		flex-direction: column;
	}

	#ds-age-gate .ds-agv-btn-enter,
	#ds-age-gate .ds-agv-btn-decline {
		width: 100%;
		min-width: unset;
	}
}

/* --------------------------------------------------------------------------
 * Nav overhaul: Hemp 2-col mega, Collections effect pills, Mobile accordion
 * -------------------------------------------------------------------------- */

/* Hemp mega: 2-column layout */
#site-header #hemp-mega-menu {
	width: min(480px, calc(100vw - 2rem)) !important;
	max-width: 480px !important;
}

#site-header .mega-menu-content--2col {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Collections mega: narrow with effect pills sub-section */
#site-header #collections-mega-menu {
	width: min(240px, calc(100vw - 2rem)) !important;
	max-width: 240px !important;
}

#site-header .mega-menu-collections-wrap {
	display: flex;
	flex-direction: column;
}

#site-header .mega-menu-effect-section {
	padding: 0.55rem 0.35rem 0.25rem;
	border-top: 1px solid #eceef0;
	margin-top: 0.3rem;
}

#site-header .mega-menu-effect-title {
	margin: 0 0 0.38rem;
	padding-left: 0.1rem;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #9ca3af;
}

#site-header .mega-menu-effect-links {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

#site-header .mega-menu-effect-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.44rem;
	padding: 0.26rem 0.5rem;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ds-text) !important;
	text-decoration: none;
	transition: background-color 120ms ease, color 120ms ease;
}

#site-header .mega-menu-effect-pill:hover,
#site-header .mega-menu-effect-pill:focus-visible {
	background: rgb(74 125 78 / 0.10) !important;
	color: var(--ds-primary-dark) !important;
	outline: none;
}

#site-header .mega-menu-effect-pill svg { flex-shrink: 0; }
#site-header .ds-effect-moon  svg { color: #6c5ce7; }
#site-header .ds-effect-bolt  svg { color: #f0a500; }
#site-header .ds-effect-leaf  svg { color: var(--ds-primary); }

/* --------------------------------------------------------------------------
 * Mobile drawer overhaul — new ds-mob-* component classes
 * -------------------------------------------------------------------------- */

#mobile-nav {
	background: rgba(20, 24, 22, 0.56) !important;
	backdrop-filter: blur(5px);
}

#mobile-nav > div {
	width: min(92vw, 390px) !important;
	max-width: 390px !important;
	border-left: 1px solid var(--ds-border);
	box-shadow: -10px 0 36px rgba(17, 24, 39, 0.2);
	background: linear-gradient(180deg, var(--ds-bg) 0%, #f5f6f2 100%);
}

/* Drawer header bar */
#mobile-nav .ds-mob-header {
	border-bottom: 1px solid var(--ds-border) !important;
	flex-shrink: 0;
}

/* Close button */
#mobile-nav .ds-mob-close-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid #dfe5dc;
	background: #fff;
	color: var(--ds-text);
	cursor: pointer;
	transition: background-color 140ms ease, border-color 140ms ease;
}

#mobile-nav .ds-mob-close-btn:hover {
	background: rgb(74 125 78 / 0.08);
	border-color: rgb(74 125 78 / 0.3);
	color: var(--ds-primary-dark);
}

/* Search bar */
#mobile-nav .ds-mob-search-wrap {
	background: #fff;
	border-bottom: 1px solid #eceef0;
}

#mobile-nav .ds-mob-search-inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #f6f7f4;
	border: 1px solid #dfe5dc;
	border-radius: 10px;
	padding: 0 0.7rem;
	height: 44px;
}

#mobile-nav .ds-mob-search-icon { color: #9ca3af; flex-shrink: 0; }

#mobile-nav .ds-mob-search-input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--ds-text);
	font-size: 16px; /* Prevent iOS auto-zoom */
	line-height: 1.4;
	padding: 0;
}

#mobile-nav .ds-mob-search-input::placeholder { color: #9ca3af; }
#mobile-nav .ds-mob-search-input:focus { outline: none; }

/* Nav body */
#mobile-nav .ds-mob-scroll { overscroll-behavior: contain; }

#mobile-nav .ds-mob-nav-body {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	padding-top: 0.75rem;
}

/* Shop All CTA */
#mobile-nav .ds-mob-shop-all {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.65rem 0.9rem;
	border-radius: 12px;
	margin-bottom: 0.3rem;
	background: linear-gradient(135deg, var(--ds-primary) 0%, var(--ds-primary-dark) 100%);
	color: #fff !important;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	box-shadow: 0 4px 12px rgb(61 107 64 / 0.28);
	transition: opacity 160ms ease, transform 160ms ease;
}

#mobile-nav .ds-mob-shop-all:hover,
#mobile-nav .ds-mob-shop-all:focus-visible {
	opacity: 0.9;
	transform: scale(0.985);
	outline: none;
}

/* Accordion (details/summary) */
#mobile-nav .ds-mob-acc { border-radius: 12px; overflow: hidden; }

#mobile-nav .ds-mob-acc-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 0.62rem 0.9rem;
	width: 100%;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--ds-text);
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

/* Remove default triangle */
#mobile-nav .ds-mob-acc-btn::-webkit-details-marker { display: none; }
#mobile-nav .ds-mob-acc-btn::marker { display: none; }

#mobile-nav .ds-mob-acc[open] > .ds-mob-acc-btn {
	background: rgb(74 125 78 / 0.08);
	border-color: rgb(74 125 78 / 0.18);
	border-radius: 12px 12px 0 0;
	color: var(--ds-primary-dark);
}

#mobile-nav .ds-mob-acc-btn:hover,
#mobile-nav .ds-mob-acc-btn:focus-visible {
	background: rgb(74 125 78 / 0.07);
	border-color: rgb(74 125 78 / 0.14);
	color: var(--ds-primary-dark);
	outline: none;
}

#mobile-nav .ds-mob-acc-chevron {
	flex-shrink: 0;
	color: var(--ds-muted);
	transition: transform 220ms ease, color 220ms ease;
	pointer-events: none;
}

#mobile-nav .ds-mob-acc[open] > .ds-mob-acc-btn .ds-mob-acc-chevron {
	transform: rotate(180deg);
	color: var(--ds-primary);
}

#mobile-nav .ds-mob-acc-panel {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgb(74 125 78 / 0.12);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	padding: 0.4rem 0.55rem 0.55rem;
	display: flex;
	flex-direction: column;
	gap: 0.16rem;
}

/* Sub-accordion */
#mobile-nav .ds-mob-acc--sub { border-radius: 8px; }

#mobile-nav .ds-mob-acc--sub > .ds-mob-acc-btn {
	min-height: 40px;
	padding: 0.5rem 0.75rem;
	font-size: 0.93rem;
	font-weight: 600;
	border-radius: 8px;
}

#mobile-nav .ds-mob-acc--sub[open] > .ds-mob-acc-btn { border-radius: 8px 8px 0 0; }

#mobile-nav .ds-mob-acc-panel--sub {
	border-radius: 0 0 8px 8px;
	padding: 0.3rem 0.45rem 0.45rem;
	background: #fff;
	border-color: rgb(74 125 78 / 0.1);
}

/* Nav links inside panels */
#mobile-nav .ds-mob-link,
#mobile-nav .ds-mob-sub-link {
	display: block;
	padding: 0.5rem 0.65rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #3b3f50 !important;
	text-decoration: none;
	transition: background-color 120ms ease, color 120ms ease;
}

#mobile-nav .ds-mob-sub-link {
	font-size: 0.87rem;
	font-weight: 500;
	color: #555b68 !important;
}

#mobile-nav .ds-mob-link:hover,
#mobile-nav .ds-mob-link:focus-visible,
#mobile-nav .ds-mob-sub-link:hover,
#mobile-nav .ds-mob-sub-link:focus-visible {
	background: rgb(74 125 78 / 0.08);
	color: var(--ds-primary-dark) !important;
	outline: none;
}

/* Effect links */
#mobile-nav .ds-mob-effect-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.65rem;
	border-radius: 8px;
	font-size: 0.87rem;
	font-weight: 600;
	color: #3b3f50 !important;
	text-decoration: none;
	transition: background-color 120ms ease, color 120ms ease;
}

#mobile-nav .ds-mob-effect-link svg { color: var(--ds-primary); flex-shrink: 0; }

#mobile-nav .ds-mob-effect-link:hover,
#mobile-nav .ds-mob-effect-link:focus-visible {
	background: rgb(74 125 78 / 0.08);
	color: var(--ds-primary-dark) !important;
	outline: none;
}

/* Standalone Lab Results */
#mobile-nav .ds-mob-standalone {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.6rem 0.9rem;
	border-radius: 12px;
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--color-primary, #22223B) !important;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background-color 140ms ease, border-color 140ms ease;
}

#mobile-nav .ds-mob-standalone svg { color: var(--ds-muted); flex-shrink: 0; }

#mobile-nav .ds-mob-standalone:hover,
#mobile-nav .ds-mob-standalone:focus-visible {
	background: rgb(74 125 78 / 0.08);
	border-color: rgb(74 125 78 / 0.22);
	color: var(--ds-primary-dark) !important;
	outline: none;
}

#mobile-nav .ds-mob-standalone:hover svg,
#mobile-nav .ds-mob-standalone:focus-visible svg { color: var(--ds-primary); }

#mobile-nav .ds-mob-standalone.is-active {
	background: rgb(74 125 78 / 0.10);
	border-color: rgb(74 125 78 / 0.30);
	color: var(--ds-primary-dark) !important;
	font-weight: 700;
}

#mobile-nav .ds-mob-standalone.is-active svg { color: var(--ds-primary); }

/* Footer */
#mobile-nav .ds-mob-footer {
	padding-top: 0.75rem;
	padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
	background: linear-gradient(180deg, rgba(245, 246, 242, 0.95) 0%, rgba(245, 246, 242, 1) 100%);
}

#mobile-nav .ds-mob-account-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	min-height: 50px;
	border-radius: 12px;
	background: var(--ds-primary);
	color: #fff !important;
	font-weight: 800;
	font-size: 1.03rem;
	text-decoration: none;
	box-shadow: 0 8px 18px rgb(61 107 64 / 0.24);
	transition: background-color 160ms ease;
}

#mobile-nav .ds-mob-account-btn:hover,
#mobile-nav .ds-mob-account-btn:focus-visible {
	background: var(--ds-primary-dark);
	outline: none;
}

@media (max-width: 640px) {
	#mobile-nav > div {
		width: 100vw !important;
		max-width: none !important;
		border-left: 0;
	}
}

/* --------------------------------------------------------------------------
 * Mushroom Gummies Category Page Enhancements (Phase 1)
 * -------------------------------------------------------------------------- */
body.post-type-archive-product .ds-shop-page,
body.tax-product_cat .ds-shop-page,
body.tax-product_brand .ds-shop-page {
	--ds-shop-green: var(--ds-primary);
	--ds-shop-green-dark: var(--ds-primary-dark);
	--ds-shop-red: #c34141;
	--ds-shop-red-soft: #f6d8d8;
	--ds-shop-border: #e5e7eb;
	--ds-shop-text: #1f2937;
	--ds-shop-muted: #9ca3af;
}

.ds-shop-page .ds-filter-card {
	background: var(--ds-surface) !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: none !important;
}

.ds-shop-page .ds-filter-header {
	background: #f9fafb;
	margin: -1rem -1rem 1rem;
	padding: 1rem;
	border-bottom: 1px solid #e5e7eb;
}

.ds-shop-page .ds-filter-group {
	border-bottom: 1px solid #e5e7eb !important;
}

.ds-shop-page .ds-filter-card input[type="search"],
.ds-shop-page .ds-filter-card input[type="number"],
.ds-shop-page .ds-filter-card select {
	background: var(--ds-surface) !important;
	border: 1px solid #d1d5db !important;
}

.ds-shop-page .ds-checkbox-list--brand {
	gap: 0.55rem;
	max-height: 300px;
	overflow: auto;
}

.ds-shop-page .ds-checkbox-list input[type="checkbox"]:checked {
	background-color: var(--ds-primary);
	border-color: var(--ds-primary);
}

.ds-shop-page [data-collapsed-item] {
	display: flex;
}

.ds-shop-page [data-collapsed-item][hidden] {
	display: none;
}

.ds-shop-page .ds-filter-toggle-more {
	background: transparent;
	color: var(--ds-shop-green-dark);
	border: 0;
	font-size: 0.86rem;
	font-weight: 700;
	padding: 0.5rem 0 0;
	cursor: pointer;
}

.ds-shop-page .ds-shop-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: var(--ds-surface);
}

.ds-shop-page .ds-shop-controls__count {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ds-shop-text);
}

.ds-shop-page .ds-shop-controls__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.ds-shop-page .ds-shop-controls__actions label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.82rem;
	color: #4b5563;
	font-weight: 600;
}

.ds-shop-page .ds-shop-controls select {
	appearance: none;
	-webkit-appearance: none;
	min-height: 2.35rem;
	padding: 0.4rem 2rem 0.4rem 0.68rem;
	border-radius: 8px;
	border: 1px solid var(--ds-border);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237C7C8A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.58rem center;
	background-size: 12px;
	color: var(--ds-text);
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.ds-shop-page .ds-shop-controls select:hover {
	border-color: var(--ds-primary);
}

.ds-shop-page a:focus-visible,
.ds-shop-page button:focus-visible,
.ds-shop-page input:focus-visible,
.ds-shop-page select:focus-visible {
	outline: 3px solid var(--ds-shop-green-dark) !important;
	outline-offset: 2px;
}

@media (max-width: 980px) {
	.ds-shop-page .ds-shop-controls {
		padding: 0.75rem;
	}

	.ds-shop-page .ds-shop-controls__actions {
		width: 100%;
	}

	.ds-shop-page .ds-shop-controls__actions label {
		flex: 1 1 160px;
		justify-content: space-between;
	}
}

/* Mobile header action consistency: search, cart, and menu share one visual system. */
#site-header,
#mobile-toggle.nav-icon-btn {
	--mobile-action-size: 2.75rem;
}

#mobile-toggle.nav-icon-btn,
#site-header .mobile-menu-btn {
	display: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

@media (max-width: 980px) {
	#site-header .nav-actions .mobile-search-btn,
	#site-header .nav-actions .cart-btn,
	#mobile-toggle.nav-icon-btn,
	#site-header .mobile-menu-btn {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: var(--mobile-action-size, 2.75rem);
		height: var(--mobile-action-size, 2.75rem);
		min-width: var(--mobile-action-size, 2.75rem);
		min-height: var(--mobile-action-size, 2.75rem);
		padding: 0;
		border: 0 !important;
		background: transparent !important;
		color: var(--ds-text) !important;
		border-radius: 10px;
	}

	#site-header .nav-actions .mobile-search-btn svg,
	#site-header .nav-actions .cart-btn svg,
	#site-header .mobile-menu-icon {
		width: 20px;
		height: 20px;
	}
}

#mobile-toggle.nav-icon-btn svg,
#site-header .mobile-menu-btn svg {
	width: 20px;
	height: 20px;
	stroke-width: 2;
}

@media (max-width: 980px) {
	#site-header .nav-actions .mobile-search-btn:hover,
	#site-header .nav-actions .mobile-search-btn:focus-visible,
	#site-header .nav-actions .cart-btn:hover,
	#site-header .nav-actions .cart-btn:focus-visible,
	#mobile-toggle.nav-icon-btn:hover,
	#mobile-toggle.nav-icon-btn:focus-visible,
	#site-header .mobile-menu-btn:hover,
	#site-header .mobile-menu-btn:focus-visible {
		background: rgb(74 125 78 / 0.1) !important;
		color: var(--ds-primary-dark) !important;
		box-shadow: 0 0 0 3px var(--ds-gold);
	}

	#site-header .nav-actions .mobile-search-btn:focus-visible,
	#site-header .nav-actions .cart-btn:focus-visible,
	#mobile-toggle.nav-icon-btn:focus-visible,
	#site-header .mobile-menu-btn:focus-visible {
		outline: 3px auto -webkit-focus-ring-color;
		outline-offset: 2px;
	}
}

#mobile-toggle[aria-expanded="true"],
#site-header .mobile-menu-btn[aria-expanded="true"] {
	background: var(--ds-primary) !important;
	color: var(--ds-surface) !important;
	box-shadow: 0 8px 18px rgb(74 125 78 / 0.26);
}

#mobile-nav {
	background: rgba(20, 24, 22, 0.56) !important;
	backdrop-filter: blur(5px);
}

#mobile-nav > div {
	width: min(92vw, 390px) !important;
	max-width: 390px !important;
	border-left: 1px solid var(--ds-border);
	box-shadow: -10px 0 36px rgba(17, 24, 39, 0.2);
}

#mobile-nav .ds-mobile-drawer {
	background: linear-gradient(180deg, var(--ds-bg) 0%, #f5f6f2 100%);
}

#mobile-nav .ds-mobile-nav-scroll {
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
}

#mobile-nav .ds-mobile-search {
	border-radius: 12px;
	background: #fff;
	border-color: #dfe5dc;
}

#mobile-nav .ds-mobile-search input[type="search"] {
	font-size: 16px;
}

#mobile-nav .ds-mobile-primary {
	display: grid;
	gap: 0.28rem;
}

#mobile-nav .ds-mobile-primary-link {
	min-height: 46px;
	padding: 0.64rem 0.85rem;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 1.03rem;
	font-weight: 700;
	color: var(--ds-text) !important;
	background: rgba(255, 255, 255, 0.64);
}

#mobile-nav .ds-mobile-primary-arrow {
	margin-left: auto;
	color: var(--ds-muted);
	font-size: 1.15rem;
	line-height: 1;
}

#mobile-nav .ds-mobile-categories {
	margin-top: 1rem;
	padding-top: 1rem;
}

#mobile-nav .ds-mobile-categories h3 {
	margin-bottom: 0.4rem;
	padding-left: 0.18rem;
	padding-right: 0.18rem;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #6f7380;
}

#mobile-nav .ds-mobile-categories-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
}

#mobile-nav .ds-mobile-category-link {
	min-height: 40px;
	padding: 0.52rem 0.65rem;
	border: 1px solid #dfe5dc;
	border-radius: 10px;
	background: #fff;
	color: #555b68 !important;
	font-size: 0.9rem;
	font-weight: 600;
}

#mobile-nav .ds-mobile-footer {
	padding-top: 0.8rem;
	padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
	background: linear-gradient(180deg, rgba(245, 246, 242, 0.95) 0%, rgba(245, 246, 242, 1) 100%);
}

#mobile-nav .ds-mobile-account-btn {
	min-height: 48px;
	border-radius: 11px;
	font-size: 1.03rem;
	box-shadow: 0 10px 18px rgb(61 107 64 / 0.22);
}

#mobile-nav nav ul a {
	border: 1px solid transparent;
}

#mobile-nav nav ul a:hover,
#mobile-nav nav ul a:focus-visible {
	border-color: rgb(74 125 78 / 0.22);
	background: rgb(74 125 78 / 0.08) !important;
}

#mobile-nav .border-t {
	border-color: #e8e6de !important;
}

/* Mobile drawer must be mobile-only */
#site-header .mobile-menu-btn {
	display: none !important;
}

@media (max-width: 980px) {
	#site-header .mobile-menu-btn {
		display: inline-flex !important;
	}
}

@media (min-width: 981px) {
	#mobile-nav {
		display: none !important;
		pointer-events: none !important;
	}

	body.mobile-menu-open {
		overflow: auto !important;
	}
}

@media (max-width: 640px) {
	#mobile-nav > div {
		width: 100vw !important;
		max-width: none !important;
		border-left: 0;
	}

	#mobile-nav .ds-mobile-categories-list {
		grid-template-columns: 1fr;
	}
}

/* ?? DO NOT CONSOLIDATE - Intentional cascade layer */
/* Final detached header override (all pages) */
body.home.header-scrolled #site-header.navbar,
body.home.header-scrolled .navbar,
body.header-scrolled #site-header.navbar,
body.header-scrolled .navbar {
	background: rgba(255, 255, 255, 0.72) !important;
	backdrop-filter: saturate(150%) blur(6px) !important;
	box-shadow: 0 6px 16px rgba(20, 28, 22, 0.08) !important;
	mix-blend-mode: normal !important;
	isolation: auto !important;
}

body:not(.header-scrolled) #site-header.navbar,
body:not(.header-scrolled) .navbar {
	mix-blend-mode: normal !important;
	isolation: auto !important;
}

/* Mobile header/banner hardening: prevent overflow and keep nav/action layer in front */
@media (max-width: 980px) {
	html,
	body {
		overflow-x: hidden;
	}

	#site-header.navbar,
	.navbar {
		z-index: 1150 !important;
	}

	#site-header .nav-links-center {
		display: none !important;
	}

	#site-header .nav-content {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0.5rem;
		min-width: 0;
	}

	#site-header .logo {
		min-width: 0;
		overflow: hidden;
	}

	#site-header .logo-text-wrapper {
		min-width: 0;
	}

	#site-header .logo-text {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#site-header .nav-actions {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		position: relative;
		z-index: 2;
		flex: 0 0 auto;
		gap: 0.35rem;
		white-space: nowrap;
	}

	#site-header .nav-action-mobile-hide {
		display: none !important;
	}

	#mobile-nav {
		display: flex !important;
		pointer-events: auto !important;
		z-index: 1400 !important;
	}

	#mobile-nav.hidden {
		display: none !important;
	}
}

@media (max-width: 980px) {
	#site-header .mobile-menu-btn {
		flex: 0 0 auto;
		-webkit-appearance: none;
		appearance: none;
	}

}

@supports not (gap: 0.35rem) {
	#site-header .nav-actions > * + * {
		margin-left: 0.35rem;
	}
}

/* WooCommerce Cart Block refinements */
.ds-cart-page .wp-block-woocommerce-cart {
  max-width: var(--ds-content-max-width);
  margin: 0 auto;
}

#site-header .nav-item-mega .mega-menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%) translateY(-8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	z-index: 1200;
}

#site-header .nav-item-mega .mega-menu.active,
#site-header .nav-item-mega:hover .mega-menu,
#site-header .nav-item-mega:focus-within .mega-menu,
#site-header .nav-item-mega > .nav-link[aria-expanded="true"] + .mega-menu,
#site-header .nav-item-mega .mega-menu[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

body.admin-bar #site-header.navbar,
body.admin-bar .navbar {
	top: calc(32px + var(--ds-banner-height)) !important;
}

body.admin-bar.header-scrolled #site-header.navbar,
body.admin-bar.header-scrolled .navbar {
	top: 32px !important;
}

@media (max-width: 768px) {
	body.admin-bar #site-header.navbar,
	body.admin-bar .navbar {
		top: calc(46px + var(--ds-banner-height)) !important;
	}

	body.admin-bar.header-scrolled #site-header.navbar,
	body.admin-bar.header-scrolled .navbar {
		top: 46px !important;
	}
}

/* Hero readability hardening */
.home .hero .hero-content {
	background: linear-gradient(135deg, rgba(14, 17, 20, 0.54) 0%, rgba(14, 17, 20, 0.28) 100%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.home .hero .hero-badge,
.home .hero .hero-title,
.home .hero .hero-subtitle,
.home .hero .hero-content p,
.home .hero .hero-content li {
	color: var(--ds-bg) !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.36);
}

.ds-cart-page .wc-block-cart {
  margin-top: 0.5rem;
}

.ds-cart-page .wc-block-cart__main,
.ds-cart-page .wc-block-cart__sidebar,
.ds-cart-page .wc-block-components-sidebar,
.ds-cart-page .wc-block-cart-items {
  background: transparent;
}

.ds-cart-page .wc-block-cart-items .wc-block-cart-items__row {
  border: 1px solid var(--ds-border);
  border-radius: 8px;
  background: #fff;
  padding: 0.78rem;
  margin-bottom: 0.75rem;
}

.ds-cart-page .wc-block-cart-item__image img {
  border-radius: 6px;
  object-fit: cover;
  width: 86px;
  height: 86px;
}

.ds-cart-page .wc-block-cart-item__product {
  gap: 0.2rem;
}

.ds-cart-page .wc-block-components-product-name {
  color: var(--ds-text);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
}

.ds-cart-page .wc-block-components-product-metadata {
  font-size: 0.72rem;
  color: var(--ds-muted);
}

.ds-cart-page .wc-block-components-product-price {
  color: var(--ds-text);
  font-weight: 700;
  font-size: 1.05rem;
}

.ds-cart-page .wc-block-cart-item__prices,
.ds-cart-page .wc-block-components-totals-item__value {
  color: var(--ds-text);
  font-weight: 700;
}

.ds-cart-page .wc-block-components-quantity-selector {
  min-height: 2.125rem;
  border-radius: 6px;
  border-color: var(--ds-border);
}

.ds-cart-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  color: var(--ds-text);
  font-weight: 600;
}

.ds-cart-page .wc-block-cart-item__remove-link,
.ds-cart-page .wc-block-components-product-details__remove-link {
  color: var(--ds-muted) !important;
  font-size: 0.82rem;
  font-weight: 600;
}

.ds-cart-page .wc-block-cart-item__remove-link:hover,
.ds-cart-page .wc-block-components-product-details__remove-link:hover {
  color: var(--ds-primary) !important;
}

/* Lock background scroll when off-canvas mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Header account CTA aligned with right action cluster */
#site-header .nav-actions .nav-account-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.2rem;
  padding: 0.3rem 0.65rem;
  border-radius: 10px;
	border: 0 !important;
  background: rgb(74 125 78 / 0.1);
  color: var(--ds-primary-dark) !important;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

#site-header .nav-actions .nav-account-cta:hover,
#site-header .nav-actions .nav-account-cta:focus-visible {
  background: rgb(74 125 78 / 0.16);
  color: #2F5533 !important;
}

#site-header .nav-actions .nav-account-cta.is-active {
  background: var(--ds-primary);
  color: var(--ds-surface) !important;
}

#site-header .nav-actions .nav-account-cta svg {
  flex: 0 0 auto;
}

@media (max-width: 1280px) {
  #site-header .nav-actions .nav-account-cta span {
    display: none;
  }

  #site-header .nav-actions .nav-account-cta {
    min-width: 2.2rem;
    justify-content: center;
    padding: 0.35rem;
  }
}

.ds-cart-page .wc-block-cart__submit-container,
.ds-cart-page .wc-block-components-sidebar-layout {
  border: 1px solid var(--ds-border);
  border-radius: 8px;
  background: #fff;
  padding: 0.95rem;
}

.ds-cart-page .wc-block-components-totals-wrapper {
  border-top-color: var(--ds-border);
}

.ds-cart-page .wc-block-components-totals-item {
  color: var(--ds-muted);
}

.ds-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 1rem;
  color: var(--ds-text);
  font-weight: 700;
}

.ds-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--ds-primary);
  font-size: 1.45rem;
  line-height: 1;
}

.ds-cart-page .wc-block-components-totals-coupon-link {
  color: var(--ds-primary);
  text-decoration: none;
  font-weight: 600;
}

.ds-cart-page .wc-block-components-totals-coupon-link:hover {
  color: var(--ds-primary-dark);
}

.ds-cart-page .wc-block-components-button,
.ds-cart-page .wc-block-cart__submit-container .wc-block-components-button {
  border-radius: 6px;
  background: var(--ds-primary);
  color: #fff !important;
  min-height: 2.55rem;
  font-weight: 700;
  transition: background-color 160ms ease;
}

.ds-cart-page .wc-block-components-button:hover {
  background: var(--ds-primary-dark);
}

.ds-cart-page .wc-block-cart__submit-container .wc-block-components-button.wc-block-components-button--secondary {
  border: 1px solid var(--ds-border);
  background: #fff;
  color: var(--ds-primary-dark) !important;
}

.ds-cart-page .wc-block-cart__submit-container .wc-block-components-button.wc-block-components-button--secondary:hover {
  background: var(--ds-bg);
}

.ds-cart-page .wc-block-components-notice-banner {
  border-radius: 10px;
  border-color: var(--ds-border);
}

.ds-cart-page .wc-block-cart-item__remove-link,
.ds-cart-page .wc-block-components-product-details__remove-link {
  text-decoration: none;
}

.ds-cart-page .wc-block-cart__sidebar .wc-block-components-totals-item__label,
.ds-cart-page .wc-block-cart__sidebar .wc-block-components-totals-item__value {
  font-size: 0.9rem;
}

.ds-cart-page .wc-block-cart__sidebar .wc-block-components-totals-shipping .wc-block-components-totals-item__value {
  color: var(--ds-primary);
}

.ds-cart-page .wc-block-cart__sidebar .wc-block-components-totals-item__description {
  display: none;
}

.ds-cart-page .wc-block-cart__main .wc-block-cart__submit-container .wc-block-components-button--link,
.ds-cart-page .wc-block-cart__main .wc-block-components-button--link {
  color: var(--ds-primary) !important;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .ds-cart-page .wc-block-cart-items .wc-block-cart-items__row {
    padding: 0.75rem;
  }

  .ds-cart-page .wc-block-cart-item__image img {
    width: 72px;
    height: 72px;
  }

  .ds-cart-page .wc-block-components-product-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .ds-cart-page .wc-block-cart-items .wc-block-cart-items__row {
    padding: 0.6rem;
  }

  .ds-cart-page .wc-block-cart-item__image img {
    width: 58px;
    height: 58px;
    border-radius: 4px;
  }

  .ds-cart-page .wc-block-cart__submit-container,
  .ds-cart-page .wc-block-components-sidebar-layout {
    padding: 0.75rem;
  }

  .ds-cart-page .wc-block-components-button {
    min-height: 3rem;
    font-size: 0.95rem;
  }
}

/* Header cart badge consistency */
#site-header .cart-badge {
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  font-size: 0.66rem;
  line-height: 1.1rem;
  font-weight: 700;
  text-align: center;
}

#site-header .cart-badge.hidden,
#site-header .cart-badge:empty,
#site-header .cart-badge[data-cart-count="0"] {
  display: none !important;
}



/* Regular page content wrapper (page.php / single.php non-skip path).
   Small top gap so prose content sits level with shop-page content area.
   Constrain prose article width for comfortable reading. */
.ds-page-content {
	padding-top: 1.25rem;
	padding-bottom: 3rem;
}

.ds-page-content .prose {
	/* max-width: 860px; */
}

.ds-motion-ready .ds-reveal {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 460ms ease, transform 460ms ease;
}

.ds-motion-ready .ds-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.nav-link,
	.nav-icon-btn,
	.mega-menu a,
	.button,
	button {
		transition: none !important;
	}

	.ds-motion-ready .ds-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Brand system pass for internal/support-style pages */

html {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	font-family: var(--ds-font-sans);
	max-width: 100%;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
.button,
.wp-element-button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	font-family: var(--ds-font-display);
}

.card-base {
	/* background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: 16px; */
	padding: clamp(0.95rem, 1.5vw, 1.35rem);
}

.input-base {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--ds-border);
	border-radius: 10px;
	background: var(--ds-surface);
	color: var(--ds-text);
	padding: 0.56rem 0.68rem;
	font-size: 0.95rem;
	line-height: 1.4;
}

.input-base::placeholder {
	color: var(--ds-muted);
}

.input-base:focus-visible {
	outline: 2px solid var(--ds-primary);
	outline-offset: 2px;
	border-color: var(--ds-primary);
}

/* .btn-cta and .btn-secondary — see assets/css/components/buttons.css */

body:not(.woocommerce):not(.woocommerce-page) #main-content .entry-content h1,
body:not(.woocommerce):not(.woocommerce-page) #main-content .entry-content h2,
body:not(.woocommerce):not(.woocommerce-page) #main-content .entry-content h3 {
	color: var(--ds-text);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

body:not(.woocommerce):not(.woocommerce-page) #main-content .entry-content p {
	color: var(--ds-muted);
	line-height: 1.7;
}

body:not(.woocommerce):not(.woocommerce-page) #main-content form:not(.woocommerce-form):not(.cart):not(.checkout) {
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: 18px;
	padding: clamp(0.95rem, 1.6vw, 1.4rem);
}

body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="text"],
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="email"],
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="tel"],
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="number"],
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="search"],
body:not(.woocommerce):not(.woocommerce-page) #main-content select,
body:not(.woocommerce):not(.woocommerce-page) #main-content textarea {
	border: 1px solid var(--ds-border);
	border-radius: 10px;
	background: var(--ds-surface);
	color: var(--ds-text);
	font-family: var(--ds-font-sans);
	padding: 0.56rem 0.68rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

body:not(.woocommerce):not(.woocommerce-page) #main-content textarea {
	min-height: 128px;
}

body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="text"]:focus,
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="email"]:focus,
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="tel"]:focus,
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="number"]:focus,
body:not(.woocommerce):not(.woocommerce-page) #main-content input[type="search"]:focus,
body:not(.woocommerce):not(.woocommerce-page) #main-content select:focus,
body:not(.woocommerce):not(.woocommerce-page) #main-content textarea:focus {
	border-color: var(--ds-primary);
	box-shadow: 0 0 0 2px rgb(74 125 78 / 0.16);
	outline: none;
}

/* Front featured products grid rules live in assets/css/components/product-card.css */

/* Front-page FAQ styles moved to assets/css/components/components.css to eliminate duplication */

/* Featured products section: stable adaptive grid without section shifting */
/* Featured products grid rules live in assets/css/components/product-card.css */

/* Categories carousel: enforce horizontal slider layout */
.categories-carousel-section .section-header {
	text-align: center;
	margin: 0 auto 1.55rem;
}

.categories-carousel-section .section-label {
	display: inline-block;
	margin: 0 0 0.42rem;
	color: var(--ds-primary);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.categories-carousel-section .section-title {
	margin: 0;
	color: var(--ds-text);
	font-size: clamp(2rem, 4.6vw, 3.25rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
	font-weight: 800;
}

.categories-carousel-section .section-header > p {
	margin: 0.62rem auto 0;
	/* max-width: 52ch; */
	color: var(--ds-muted);
	font-size: 1.02rem;
	line-height: 1.55;
}

.categories-carousel-section .categories-carousel-shell {
	position: relative;
}

.categories-carousel-section .categories-carousel {
	--cards-per-view: 3;
	--carousel-gap: 1rem;
	width: 100%;
	overflow: hidden;
}

.categories-carousel-section .categories-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: var(--carousel-gap);
	will-change: transform;
	transition: transform 280ms ease;
}

.categories-carousel-section .category-card {
	flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--cards-per-view) - 1))) / var(--cards-per-view)) !important;
	max-width: calc((100% - (var(--carousel-gap) * (var(--cards-per-view) - 1))) / var(--cards-per-view)) !important;
	width: auto !important;
	min-width: 0 !important;
	display: block;
	position: relative;
	border-radius: 16px;
	background: #12192a;
	border: 1px solid #d8ddd1;
	overflow: hidden;
}

.categories-carousel-section .category-card > img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.95) brightness(0.92);
}

.categories-carousel-section .category-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 18, 30, 0.2) 0%, rgba(14, 18, 30, 0.52) 56%, rgba(14, 18, 30, 0.84) 100%);
	pointer-events: none;
}

.categories-carousel-section .category-content {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.46rem;
	color: var(--ds-bg);
	text-align: center;
}

.categories-carousel-section .category-content h3 {
	margin: 0;
	color: var(--ds-surface);
	font-size: clamp(1.3rem, 2.4vw, 2rem);
	font-weight: 800;
	line-height: 1.08;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.categories-carousel-section .category-count {
	margin: 0;
	color: rgb(249 249 246 / 0.96) !important;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.categories-carousel-section .category-description {
	margin: 0;
	color: rgba(241, 246, 239, 0.92);
	font-size: 0.92rem;
	line-height: 1.45;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.categories-carousel-section .category-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.28rem;
	padding: 0.36rem 0.62rem;
	border-radius: 999px;
	background: rgb(74 125 78 / 0.3);
	border: 1px solid rgba(180, 213, 176, 0.4);
	color: #dff3dd !important;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.1;
	width: max-content;
	margin-left: auto;
	margin-right: auto;
	text-shadow: none;
}

.categories-carousel-section .category-link svg {
	width: 18px;
	height: 18px;
}

.categories-carousel-section .category-card:hover .category-link,
.categories-carousel-section .category-card:focus-visible .category-link {
	background: rgb(74 125 78 / 0.44);
	color: var(--ds-surface) !important;
}

.categories-carousel-section .categories-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid #d6ddd1;
	background: rgb(249 249 246 / 0.96);
	color: var(--ds-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	box-shadow: 0 6px 14px rgb(34 34 59 / 0.14);
}

.categories-carousel-section .categories-carousel-nav.prev {
	left: -12px;
}

.categories-carousel-section .categories-carousel-nav.next {
	right: -12px;
}

.categories-carousel-section .categories-carousel-nav:hover,
.categories-carousel-section .categories-carousel-nav:focus-visible {
	background: var(--ds-primary);
	color: var(--ds-surface);
	border-color: var(--ds-primary);
	outline: none;
}

.categories-carousel-section .categories-carousel-nav[disabled] {
	opacity: 0.42;
	pointer-events: none;
}

.categories-carousel-section .categories-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 0.85rem;
}

.categories-carousel-section .categories-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: 0;
	background: #c8d2c3;
}

.categories-carousel-section .categories-carousel-dot.is-active {
	background: var(--ds-primary);
}

.categories-carousel-section .categories-carousel-dots.hidden {
	display: none !important;
}

@media (max-width: 1280px) {
	.categories-carousel-section .categories-carousel {
		--cards-per-view: 2;
	}
}

@media (max-width: 768px) {
	.categories-carousel-section .categories-carousel {
		--cards-per-view: 1;
	}

	.categories-carousel-section .category-card > img {
		aspect-ratio: 16 / 9;
	}

	.categories-carousel-section .categories-carousel-nav {
		width: 34px;
		height: 34px;
	}

	.categories-carousel-section .categories-carousel-nav.prev {
		left: 4px;
	}

	.categories-carousel-section .categories-carousel-nav.next {
		right: 4px;
	}
}

/* Front-page featured product tabs: mobile usability + overflow control */

@media (max-width: 640px) {
	.hero {
		min-height: 200px;
		height: 200px;
	}

	.hero .container {
		padding: 0.5rem 0.75rem;
		gap: 0;
	}

	.hero-content {
		padding: 0.5rem 0.6rem;
	}

	.hero-particles {
		display: none;
	}

	.hero-badge {
		display: none;
	}

	.hero-title {
		font-size: clamp(1.15rem, 5vw, 1.5rem) !important;
		margin-bottom: 0.4rem;
	}

	.hero-subtitle {
		font-size: 0.78rem;
		margin-bottom: 0.6rem;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.hero-cta {
		gap: 0.4rem;
	}

}

/* Shop archive module */
	.ds-shop-page {
		--ds-surface-2: #f3f5f2;
		--ds-border-soft: #ecece4;
		--ds-accent: var(--ds-primary);
		--ds-accent-soft: #e8f2e8;
		--ds-radius: 14px;
		width: calc(100% - 1.5rem);
		max-width: 1520px;
		margin: 0 auto;
		padding: 0.95rem 0.25rem 3.2rem;
		color: var(--ds-text);
	}

	.ds-shop-page a {
		color: inherit;
	}

	.ds-shop-page a:focus-visible,
	.ds-shop-page button:focus-visible,
	.ds-shop-page input:focus-visible,
	.ds-shop-page select:focus-visible {
		outline: 2px solid var(--ds-primary);
		outline-offset: 2px;
	}

	.ds-shop-hero {
		background:
			radial-gradient(120% 150% at 100% 0%, rgb(74 125 78 / 0.14) 0%, transparent 58%),
			radial-gradient(90% 120% at 0% 100%, rgba(196, 167, 125, 0.12) 0%, transparent 60%),
			var(--ds-surface);
		border: 1px solid var(--ds-border);
		border-radius: calc(var(--ds-radius) + 6px);
		padding: 2rem;
		box-shadow: 0 10px 24px rgb(34 34 59 / 0.06);
	}

	.ds-shop-hero-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 210px;
		gap: 1.5rem;
		align-items: start;
	}

	.ds-shop-kicker {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		padding: 0.35rem 0.7rem;
		background: rgb(74 125 78 / 0.14);
		border-radius: 999px;
		font-size: 0.76rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		font-weight: 700;
		color: var(--ds-primary-dark);
	}

	.ds-shop-title {
		font-family: var(--ds-font-display);
		font-size: clamp(2rem, 3.2vw, 3rem);
		line-height: 1.02;
		margin: 0.92rem 0 0.72rem;
		letter-spacing: -0.02em;
		color: var(--ds-text);
	}

	.ds-shop-subtitle {
		margin: 0;
		font-size: 1.02rem;
		line-height: 1.7;
		color: var(--ds-muted);
		/* max-width: 68ch; */
	}

	.ds-shop-insights {
		display: flex;
		flex-wrap: wrap;
		gap: 0.45rem;
		margin-top: 0.82rem;
	}

	.ds-shop-insights span {
		display: inline-flex;
		align-items: center;
		padding: 0.32rem 0.58rem;
		border-radius: 999px;
		border: 1px solid #d5e2d6;
		background: rgba(255, 255, 255, 0.9);
		font-size: 0.74rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--ds-primary-dark);
	}

	.ds-shop-quicklinks {
		display: flex;
		flex-wrap: wrap;
		gap: 0.6rem;
		margin-top: 1.1rem;
	}

	.ds-shop-quicklinks a {
		text-decoration: none;
		padding: 0.5rem 0.82rem;
		border-radius: 999px;
		border: 1px solid var(--ds-border);
		background: #fff;
		color: var(--ds-text);
		font-weight: 600;
		font-size: 0.85rem;
		transition: background 0.15s ease, border-color 0.15s ease;
	}

	.ds-shop-quicklinks a:hover,
	.ds-shop-quicklinks a:focus-visible {
		background: #f3f8f3;
		border-color: rgb(74 125 78 / 0.35);
	}

	.ds-shop-quicklinks a.is-active {
		background: var(--ds-primary);
		border-color: var(--ds-primary);
		color: #fff;
	}

	.ds-stat-card {
		background: linear-gradient(160deg, #f6faf6 0%, #eef5ee 70%, #fbf9f2 100%);
		border: 1px solid #d7e4d8;
		border-radius: var(--ds-radius);
		padding: 1.1rem;
		display: grid;
		gap: 0.32rem;
		min-height: 100%;
		align-content: center;
		text-align: center;
	}

	.ds-stat-value {
		font-size: 1.9rem;
		line-height: 1;
		font-weight: 800;
		color: var(--ds-primary-dark);
	}

	.ds-stat-label {
		font-size: 0.79rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: var(--ds-muted);
	}

	.ds-active-filters {
		margin-top: 1.1rem;
		display: flex;
		flex-wrap: wrap;
		gap: 0.55rem;
		align-items: center;
	}

	.ds-active-filters-title {
		font-size: 0.82rem;
		color: #50604d;
		font-weight: 700;
	}

	.ds-filter-chip {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		padding: 0.35rem 0.4rem 0.35rem 0.62rem;
		border-radius: 999px;
		background: #ecf5ea;
		border: 1px solid #bfd5c0;
		font-size: 0.8rem;
		color: #2f4735;
	}

	.ds-filter-chip a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 1.2rem;
		height: 1.2rem;
		border-radius: 999px;
		background: rgba(47, 103, 67, 0.16);
		text-decoration: none;
		font-weight: 700;
		line-height: 1;
		font-size: 0.82rem;
	}

	.ds-filter-chip-clear-all {
		margin-left: auto;
		font-size: 0.8rem;
		font-weight: 700;
		color: #355b3f;
		text-decoration: none;
	}

	.ds-mobile-filter-toggle {
		display: none;
	}

	.ds-shop-layout {
		display: grid;
		grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
		gap: 1.15rem;
		margin-top: 1.15rem;
		align-items: start;
	}

	.ds-discovery {
		margin-top: 0.78rem;
		background: var(--ds-surface);
		border: 1px solid var(--ds-border);
		border-radius: calc(var(--ds-radius) + 4px);
		padding: 0.78rem;
		box-shadow: 0 8px 20px rgb(34 34 59 / 0.05);
	}

	.ds-discovery-head {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 0.8rem;
		margin-bottom: 0.8rem;
	}

	.ds-discovery-head h2 {
		margin: 0;
		font-size: 1.18rem;
		color: var(--ds-text);
		font-weight: 800;
	}

	.ds-discovery-head p {
		margin: 0;
		font-size: 0.86rem;
		color: var(--ds-muted);
	}

	.ds-discovery-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.82rem;
	}

	.ds-discovery-card {
		position: relative;
		min-height: 165px;
		border-radius: 14px;
		border: 1px solid #d9ddd7;
		overflow: hidden;
		text-decoration: none;
		color: #fff;
		display: grid;
		align-items: end;
		box-shadow: 0 8px 16px rgb(34 34 59 / 0.08);
	}

	.ds-discovery-card-media {
		position: absolute;
		inset: 0;
		overflow: hidden;
		background: linear-gradient(135deg, #5f9366 0%, var(--ds-primary) 40%, var(--ds-primary-dark) 100%);
	}

	.ds-discovery-card-media::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(165deg, rgba(47, 103, 67, 0.52) 0%, rgba(24, 29, 28, 0.42) 100%);
		pointer-events: none;
	}

	.ds-discovery-card-img {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		object-position: center;
		transition: transform 0.22s ease, filter 0.22s ease;
	}

	.ds-discovery-card:hover .ds-discovery-card-img {
		transform: scale(1.05);
		filter: saturate(1.06);
	}

	.ds-discovery-card-content {
		position: relative;
		z-index: 1;
		padding: 0.88rem;
		display: grid;
		gap: 0.15rem;
	}

	.ds-discovery-card-title {
		font-size: 1.34rem;
		line-height: 1.1;
		font-weight: 700;
		text-wrap: balance;
		color: var(--ds-bg);
		text-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
	}

	.ds-discovery-card-meta {
		font-size: 0.78rem;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		opacity: 0.96;
		color: rgb(249 249 246 / 0.92);
	}

	.ds-brand-strip {
		margin-top: 0.95rem;
		padding-top: 0.95rem;
		border-top: 1px solid var(--ds-border-soft);
	}

	.ds-brand-strip-title {
		margin: 0 0 0.62rem;
		font-size: 0.86rem;
		font-weight: 700;
		color: var(--ds-primary-dark);
		text-transform: uppercase;
		letter-spacing: 0.07em;
	}

	.ds-brand-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(92px, 110px));
		justify-content: center;
		gap: 0.45rem 0.55rem;
	}

	.mobile-category-chips {
		display: none;
	}

	.ds-brand-item {
		text-decoration: none;
		color: var(--ds-text);
		display: grid;
		justify-items: center;
		gap: 0.38rem;
		transition: color 0.18s ease;
	}

	.ds-brand-badge {
		width: 110px;
		height: 54px;
		border-radius: 12px;
		border: 1px solid #dbe4dc;
		background:
			linear-gradient(165deg, rgb(74 125 78 / 0.08) 0%, rgb(74 125 78 / 0.02) 100%),
			var(--ds-bg);
		display: grid;
		place-items: center;
		overflow: hidden;
		font-size: 0.82rem;
		font-weight: 700;
		color: var(--ds-primary-dark);
		transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	}

	.ds-brand-badge img {
		width: 84%;
		height: 70%;
		object-fit: contain;
		object-position: center;
	}

	/* Taxonomy archives already represent a selected category/brand; hide redundant discovery rail. */
	.ds-shop-page--taxonomy .ds-discovery {
		display: none;
	}

	.ds-brand-name {
		font-size: 0.8rem;
		font-weight: 600;
		color: var(--ds-text);
		text-align: center;
		text-wrap: balance;
	}

	.ds-brand-item:hover .ds-brand-badge,
	.ds-brand-item:focus-visible .ds-brand-badge {
		transform: translateY(-2px);
		border-color: var(--ds-primary);
		box-shadow: 0 8px 16px rgb(74 125 78 / 0.16);
	}

	.ds-brand-item:hover .ds-brand-name,
	.ds-brand-item:focus-visible .ds-brand-name {
		color: var(--ds-primary-dark);
	}

	.ds-shop-sidebar {
		position: sticky;
		top: calc(var(--ds-banner-height) + var(--ds-header-height) + 1rem);
	}

	.ds-filter-card {
		background: linear-gradient(180deg, var(--ds-surface) 0%, #fcfdfb 100%);
		border: 1px solid var(--ds-border);
		border-radius: 14px;
		padding: 1rem;
		display: grid;
		gap: 0;
		box-shadow: 0 8px 18px rgb(34 34 59 / 0.05);
	}

	.ds-active-filters--inline {
		margin-top: 0.9rem;
		margin-bottom: 0.25rem;
	}

	.ds-filter-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-bottom: 1.2rem;
		border-bottom: none;
		margin-bottom: 1.5rem;
	}

	.ds-filter-header h2 {
		margin: 0;
		font-size: 1.05rem;
		font-weight: 700;
		letter-spacing: -0.01em;
	}

	.ds-filter-header a {
		font-size: 0.75rem;
		color: #666;
		font-weight: 600;
		text-decoration: none;
		transition: color 0.15s ease;
	}

	.ds-filter-header a:hover {
		/* Color inherited from base anchor style */
	}

	.ds-filter-group {
		border: none;
		border-radius: 0;
		padding: 1rem 0;
		background: transparent;
		border-bottom: 1px solid #f0f0ed;
	}

	.ds-filter-group:last-of-type {
		border-bottom: none;
	}

	.ds-filter-group h3,
	.ds-filter-group summary {
		margin: 0 0 0.8rem 0;
		font-size: 0.75rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		color: #666;
	}

	.ds-filter-group summary {
		cursor: pointer;
		list-style: none;
	}

	.ds-filter-group summary::-webkit-details-marker {
		display: none;
	}

	.ds-price-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.65rem;
		margin-top: 0.85rem;
	}

	.ds-price-grid label {
		display: grid;
		gap: 0.4rem;
	}

	.ds-price-grid span {
		font-size: 0.75rem;
		color: #666;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.1em;
	}

	.ds-filter-card input[type="number"],
	.ds-filter-card input[type="search"] {
		width: 100%;
		border-radius: 8px;
		border: 1px solid #e8e6e1;
		padding: 0.65rem 0.75rem;
		font-size: 0.92rem;
		background: #fefdfb;
		color: var(--ds-text);
		transition: border-color 0.15s ease, background 0.15s ease;
	}

	.ds-filter-card input[type="number"]:focus,
	.ds-filter-card input[type="search"]:focus {
		outline: none;
		border-color: var(--ds-accent);
		background: #fff;
	}

	.ds-filter-search {
		display: grid;
		gap: 0.5rem;
		margin-bottom: 1.5rem;
	}

	.ds-filter-search label {
		font-size: 0.75rem;
		color: #666;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.1em;
	}

	.ds-checkbox-list {
		display: grid;
		gap: 0.65rem;
		padding-top: 0;
	}

	.ds-checkbox-list label {
		display: flex;
		gap: 0.65rem;
		align-items: center;
		font-size: 0.92rem;
		color: var(--ds-text);
		cursor: pointer;
		font-weight: 400;
		user-select: none;
	}

	.ds-checkbox-list input[type="checkbox"],
	.ds-checkbox-list input[type="radio"] {
		appearance: none;
		-webkit-appearance: none;
		width: 18px;
		height: 18px;
		cursor: pointer;
		flex-shrink: 0;
		border: 1.75px solid #c8c8c0;
		border-radius: 5px;
		background: #fff;
		transition: border-color 0.15s ease, background 0.15s ease;
	}

	.ds-checkbox-list input[type="radio"] {
		border-radius: 50%;
	}

	.ds-checkbox-list input[type="checkbox"]:checked,
	.ds-checkbox-list input[type="radio"]:checked {
		background: var(--ds-accent);
		border-color: var(--ds-accent);
	}

	.ds-checkbox-list input[type="checkbox"]:checked {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 4'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 10px;
	}

	.ds-checkbox-list input[type="radio"]:checked {
		box-shadow: inset 0 0 0 3.5px #fff;
	}

	.ds-checkbox-list input[type="checkbox"]:focus-visible,
	.ds-checkbox-list input[type="radio"]:focus-visible {
		outline: 2px solid var(--ds-primary);
		outline-offset: 2px;
	}

	.ds-checkbox-list input[type="checkbox"]:hover:not(:checked),
	.ds-checkbox-list input[type="radio"]:hover:not(:checked) {
		border-color: var(--ds-accent);
	}

	.ds-checkbox-list label:hover {
		color: var(--ds-accent);
	}

	.ds-filter-apply {
		border: 0;
		border-radius: 10px;
		background: var(--ds-accent);
		color: #fff;
		font-weight: 700;
		font-size: 0.92rem;
		padding: 0.75rem 1.2rem;
		cursor: pointer;
		transition: background 0.2s ease;
		width: 100%;
		margin-top: 1.5rem;
	}

	.ds-filter-apply:hover,
	.ds-filter-apply:focus-visible {
		background: var(--ds-primary-dark);
	}
	.ds-shop-results {
		background: transparent;
		border: 0;
		border-radius: 0;
		padding: 0;
		box-shadow: none;
		transition: opacity 0.18s ease;
	}

	.ds-shop-results.is-loading {
		opacity: 0.55;
		pointer-events: none;
	}

	.woocommerce nav.woocommerce-pagination ul {
		border: 0 !important;
		display: flex;
		gap: 0.42rem;
		padding-top: 0.5rem;
	}

	.woocommerce nav.woocommerce-pagination ul li {
		border: 0 !important;
	}

	.woocommerce nav.woocommerce-pagination ul li a,
	.woocommerce nav.woocommerce-pagination ul li span {
		border: 1px solid var(--ds-border) !important;
		border-radius: 9px;
		min-width: 2rem;
		height: 2rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.woocommerce nav.woocommerce-pagination ul li span.current {
		background: var(--ds-accent);
		color: #fff;
		border-color: var(--ds-accent) !important;
	}

	@media (max-width: 980px) {
		.ds-shop-layout {
			grid-template-columns: 1fr;
		}

		.ds-shop-sidebar {
			position: static;
			display: none;
		}

		.ds-shop-sidebar.is-open {
			display: block;
		}

		.ds-mobile-filter-toggle {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			border: 1px solid var(--ds-border);
			background: #fff;
			border-radius: 12px;
			padding: 0.72rem;
			margin-bottom: 0.82rem;
			font-weight: 700;
			color: #2b3f30;
		}

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

		.ds-brand-list.ds-brand-carousel {
			display: flex;
			flex-wrap: nowrap;
			justify-content: flex-start;
			gap: 0.55rem;
			overflow-x: auto;
			overflow-y: hidden;
			padding-bottom: 0.25rem;
			-webkit-overflow-scrolling: touch;
			scroll-snap-type: x proximity;
		}

		.ds-brand-list.ds-brand-carousel .ds-brand-item {
			flex: 0 0 auto;
			scroll-snap-align: start;
		}
	}

	@media (max-width: 768px) {
		.ds-shop-page {
			width: calc(100% - 1rem);
			padding: 0.88rem 0 1.7rem;
		}

		.ds-shop-hero,
		.ds-shop-results,
		.ds-filter-card {
			padding: 0.82rem;
		}

		.ds-shop-hero-inner {
			grid-template-columns: 1fr;
		}

		.ds-shop-title {
			font-size: 1.58rem;
		}

		.ds-discovery-head {
			display: grid;
			grid-template-columns: 1fr;
			gap: 0.2rem;
			margin-bottom: 0.45rem;
		}

		.ds-discovery-head h2 {
			font-size: 1rem;
		}

		.ds-discovery-head p {
			display: none;
		}

		.shop-category-banners {
			display: none;
		}

		.mobile-category-chips {
			display: flex;
			flex-wrap: nowrap;
			gap: 0.45rem;
			overflow-x: auto;
			overflow-y: hidden;
			padding-bottom: 0.12rem;
			-webkit-overflow-scrolling: touch;
			scroll-snap-type: x proximity;
		}

		.mobile-category-chip {
			flex: 0 0 auto;
			display: inline-flex;
			align-items: center;
			gap: 0.4rem;
			min-height: 2.05rem;
			padding: 0.35rem 0.72rem;
			border: 1px solid #d6ded0;
			border-radius: 999px;
			background: #f7fbf6;
			color: #2f4735;
			font-size: 0.82rem;
			font-weight: 700;
			text-decoration: none;
			scroll-snap-align: start;
		}

		.mobile-category-chip__dot {
			width: 0.42rem;
			height: 0.42rem;
			border-radius: 999px;
			background: var(--ds-primary);
			flex: 0 0 auto;
		}

		.mobile-category-chip__label {
			white-space: nowrap;
		}

		.ds-brand-badge {
			width: 96px;
			height: 48px;
		}
	}

/* --------------------------------------------------------------------------
 * Shop Stabilization: canonical width/layout overrides.
 * This block intentionally wins over duplicate shop rules in style.css.
 * -------------------------------------------------------------------------- */
body.post-type-archive-product #primary.content-area,
body.tax-product_cat #primary.content-area,
body.tax-product_brand #primary.content-area {
	width: 100% !important;
	max-width: 100% !important;
}

body.post-type-archive-product .content-container.site-container,
body.tax-product_cat .content-container.site-container,
body.tax-product_brand .content-container.site-container {
	width: min(1680px, calc(100vw - 1.5rem)) !important;
	max-width: min(1680px, calc(100vw - 1.5rem)) !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
}

body.post-type-archive-product #main.site-main.woocommerce,
body.tax-product_cat #main.site-main.woocommerce,
body.tax-product_brand #main.site-main.woocommerce {
	width: 100% !important;
	max-width: 100% !important;
}

body.post-type-archive-product .ds-shop-page,
body.tax-product_cat .ds-shop-page,
body.tax-product_brand .ds-shop-page {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: 0 !important;
	padding-inline: 0.35rem !important;
}

@media (max-width: 980px) {
	body.post-type-archive-product .content-container.site-container,
	body.tax-product_cat .content-container.site-container,
	body.tax-product_brand .content-container.site-container {
		width: calc(100vw - 1rem) !important;
		max-width: calc(100vw - 1rem) !important;
	}
}

/* Mega menu: restore JS edge alignment and avoid accidental hover-stuck state */
#site-header .nav-item-mega .mega-menu {
	transform: translateX(calc(-50% + var(--ds-mega-shift, 0px))) translateY(-8px);
}

#site-header .nav-item-mega .mega-menu.active,
#site-header .nav-item-mega:hover .mega-menu,
#site-header .nav-item-mega:focus-within .mega-menu,
#site-header .nav-item-mega > .nav-link[aria-expanded="true"] + .mega-menu,
#site-header .nav-item-mega .mega-menu[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(calc(-50% + var(--ds-mega-shift, 0px))) translateY(0);
}

/* Cart CTA consistency: keep primary action in brand green */
.ds-cart-page .ds-cart-totals .checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: var(--ds-primary) !important;
	border-color: var(--ds-primary) !important;
	color: var(--ds-surface) !important;
}

.ds-cart-page .ds-cart-totals .checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--ds-primary-dark) !important;
	border-color: var(--ds-primary-dark) !important;
}

/* Home content stabilization: features + legal notice sections */
.features-section {
	padding: clamp(2rem, 4vw, 3rem) 0;
	background: var(--ds-surface);
}

.features-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 1.25rem;
}

.features-header h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3.4vw, 2.65rem);
	line-height: 1.08;
	color: var(--ds-text);
	letter-spacing: -0.01em;
}

.features-header p {
	margin: 0.75rem auto 0;
	font-size: 1rem;
	line-height: 1.55;
	color: #657086;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
}

.feature-card {
	padding: 1rem 0.95rem;
	border: 1px solid #e3e8df;
	border-radius: 14px;
	background: linear-gradient(180deg, var(--ds-surface) 0%, #f7faf6 100%);
	box-shadow: 0 6px 16px rgb(34 34 59 / 0.06);
}

.feature-icon {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(74 125 78 / 0.22);
	background: rgb(74 125 78 / 0.1);
	color: var(--ds-primary-dark);
	margin-bottom: 0.6rem;
}

.feature-card h3 {
	margin: 0 0 0.38rem;
	font-size: 1.02rem;
	line-height: 1.2;
	color: var(--ds-text);
}

.feature-card p {
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.5;
	color: #667287;
}

.legal-notice-section {
	padding: clamp(2rem, 4vw, 3rem) 0;
	background: var(--ds-surface);
}

.legal-grid {
	display: grid;
	grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
	gap: 1.1rem;
	align-items: start;
}

.legal-image {
	position: sticky;
	top: calc(var(--ds-header-height, 72px) + 1rem);
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e0e5dc;
	background: #f3f6f2;
}

.legal-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.legal-content h2 {
	margin: 0 0 0.9rem;
	font-size: clamp(1.55rem, 3vw, 2.2rem);
	line-height: 1.12;
	color: var(--ds-text);
}

.legal-items {
	display: grid;
	gap: 0.72rem;
}

.legal-item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 0.72rem;
	padding: 0.78rem 0.82rem;
	border: 1px solid #e1e8df;
	border-radius: 12px;
	background: #fbfcfa;
}

.legal-item .item-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ds-primary-dark);
	background: rgb(74 125 78 / 0.1);
	border: 1px solid rgb(74 125 78 / 0.2);
}

.legal-item h3 {
	margin: 0 0 0.28rem;
	font-size: 1rem;
	color: var(--ds-text);
}

.legal-item p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.52;
	color: #657086;
}

.legal-cta {
	margin-top: 0.85rem;
	padding: 0.9rem;
	border-radius: 12px;
	border: 1px solid #d8e0d7;
	background: linear-gradient(180deg, #f8fbf8 0%, #f1f7f0 100%);
}

.legal-cta .cta-text p {
	margin: 0 0 0.65rem;
	color: #4e5a70;
}

.legal-cta .cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.legal-cta .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
	min-height: 42px;
	padding: 0.58rem 0.95rem;
	border-radius: 10px;
	font-weight: 700;
}

@media (max-width: 1280px) {
	.features-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.legal-grid {
		grid-template-columns: 1fr;
	}

	.legal-image {
		position: static;
	}
}

@media (max-width: 768px) {
	.features-grid {
		grid-template-columns: 1fr;
	}

	.feature-card,
	.legal-item {
		padding: 0.78rem;
	}
}

/* Front-page header/menu stabilization */
#site-header .nav-item-mega::after {
	height: 24px;
}

#site-header .nav-item-mega .mega-menu {
	top: calc(100% + 2px) !important;
	margin-top: 0 !important;
}

#site-header .mega-menu {
	min-width: 340px;
	border-radius: 14px;
}

#site-header .mega-menu-content {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}

#site-header .mega-col {
	padding: 0.55rem 0.6rem;
}

#site-header .mega-menu .mega-col ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

#site-header .mega-menu .mega-col ul li {
	list-style: none !important;
	padding: 0 !important;
}

/* Shop All Products link */
#site-header .mega-shop-all-row {
	padding: 0 0 0.7rem;
	margin-bottom: 0.1rem;
	/* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

#site-header .mega-shop-all-link {
	display: inline-flex !important;
	align-items: center;
	gap: 0.4rem;
	padding: 0.38rem 0.65rem;
	border-radius: 9px;
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease;
}

#site-header .mega-shop-all-link:hover,
#site-header .mega-shop-all-link:focus-visible {
	background: rgba(255, 255, 255, 0.1) !important;
	color: white !important;
}

body.home .categories-carousel-section,
body.home .featured-products-section,
body.home .features-section,
body.home .legal-notice-section,
body.home .faq-section {
	padding-top: clamp(1.8rem, 3vw, 2.6rem);
	padding-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

body.home .categories-carousel-section .section-header,
body.home .features-header,
body.home .faq-section .section-header {
	margin-bottom: 1rem;
}

body.home .features-grid {
	gap: 1rem;
}

body.home .legal-grid {
	gap: 1.25rem;
}


/* Canonical UI overrides: header/mega menu + front-page rhythm */


body.home .categories-carousel-section,
body.home .featured-products-section,
body.home .features-section,
body.home .legal-notice-section,
body.home .faq-section {
	padding-top: var(--ds-home-section-y);
	padding-bottom: var(--ds-home-section-y);
}

/* Header actions consistency: account/search/cart alignment */
#site-header .nav-actions .nav-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-width: 30px;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent;
	color: var(--ds-text) !important;
	text-decoration: none;
	line-height: 1;
}

#site-header .nav-actions .nav-icon-btn:hover,
#site-header .nav-actions .nav-icon-btn:focus-visible {
	background: transparent;
	color: var(--ds-primary-dark) !important;
}

#site-header .nav-actions .cart-btn {
	position: relative;
}

#site-header .nav-actions .cart-btn .cart-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--ds-primary);
	color: var(--ds-surface);
	font-size: 10px;
	line-height: 16px;
	font-weight: 700;
	text-align: center;
	box-shadow: 0 0 0 2px var(--ds-bg);
}

@media (max-width: 980px) {
	#site-header .nav-actions .nav-account-cta span {
		display: inline;
	}

	#site-header .nav-actions .nav-account-cta {
		width: auto;
		min-width: 0;
		padding: 0.35rem 0.85rem;
	}
}

@media (max-width: 640px) {
	#site-header .nav-actions .nav-account-cta span {
		display: none;
	}

	#site-header .nav-actions .nav-account-cta {
		width: 34px;
		min-width: 34px;
		padding: 0;
		justify-content: center;
	}
}

/* Mega menu sync overrides (reference parity) */
#site-header .nav-item-mega::after {
	height: 14px !important;
}

#site-header .nav-item-mega .mega-menu {
	top: 100% !important;
	margin-top: 10px !important;
	--ds-mega-shift: 0px;
	transform: translateX(calc(-50% + var(--ds-mega-shift))) translateY(-10px) !important;
}

#site-header .nav-item-mega .mega-menu.active,
#site-header .nav-item-mega:hover .mega-menu,
#site-header .nav-item-mega:focus-within .mega-menu,
#site-header .nav-item-mega > .nav-link[aria-expanded="true"] + .mega-menu,
#site-header .nav-item-mega .mega-menu[aria-hidden="false"] {
	pointer-events: auto;
	transform: translateX(calc(-50% + var(--ds-mega-shift))) translateY(0) !important;
}

#site-header .mega-menu {
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35) !important;
}

#site-header #shop-mega-menu {
	width: min(980px, calc(100vw - 2rem)) !important;
	max-width: 980px !important;
}

/* Mobile menu parity (style-only): supports current ds-mobile-* and reference utility classes */
#mobile-nav > .ds-mobile-drawer,
#mobile-nav > .flex.flex-col {
	width: min(92vw, 390px) !important;
	max-width: 390px !important;
	background: linear-gradient(180deg, var(--ds-bg) 0%, #f5f6f2 100%) !important;
}

#mobile-nav .ds-mobile-nav-scroll,
#mobile-nav nav.flex-1 {
	padding-top: 0.9rem;
	padding-bottom: max(0.9rem, env(safe-area-inset-bottom));
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

#mobile-nav .ds-mobile-search,
#mobile-nav form.rounded-xl {
	border-radius: 12px;
	background: #fff;
	border-color: #dfe5dc;
}

#mobile-nav .ds-mobile-primary,
#mobile-nav ul.space-y-1 {
	display: grid;
	gap: 0.28rem;
}

#mobile-nav .ds-mobile-primary-link,
#mobile-nav ul.space-y-1 > li > a {
	min-height: 46px;
	padding: 0.64rem 0.85rem;
	border-radius: 12px;
	font-size: 1.03rem;
	font-weight: 700;
}

#mobile-nav .ds-mobile-categories-list,
#mobile-nav .ds-mobile-categories ul.space-y-1 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
}

#mobile-nav .ds-mobile-category-link,
#mobile-nav .ds-mobile-categories ul.space-y-1 > li > a {
	min-height: 40px;
	padding: 0.52rem 0.65rem;
	border: 1px solid #dfe5dc;
	border-radius: 10px;
	background: #fff;
	font-size: 0.9rem;
	font-weight: 600;
}

#mobile-nav .ds-mobile-footer,
#mobile-nav .p-4.border-t.border-border.space-y-3.bg-background {
	padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
}

#mobile-nav .ds-mobile-account-btn,
#mobile-nav .p-4.border-t.border-border.space-y-3.bg-background > a:first-child {
	min-height: 48px;
	border-radius: 11px;
	font-size: 1.03rem;
	box-shadow: 0 10px 18px rgb(61 107 64 / 0.22);
}

@media (max-width: 640px) {
	#mobile-nav > .ds-mobile-drawer,
	#mobile-nav > .flex.flex-col {
		width: 100vw !important;
		max-width: none !important;
		border-left: 0;
	}

	#mobile-nav .ds-mobile-categories-list,
	#mobile-nav .ds-mobile-categories ul.space-y-1 {
		grid-template-columns: 1fr;
	}
}

/* Hero CTA final fix (wins over duplicate hero blocks) */
.home .hero .hero-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-top: 0.4rem;
}


/* Mobile menu UX final fix */
#mobile-nav {
	background: rgba(17, 24, 39, 0.56) !important;
	backdrop-filter: blur(6px);
}

#mobile-nav > .ds-mobile-drawer,
#mobile-nav > .flex.flex-col {
	background: linear-gradient(180deg, var(--ds-bg) 0%, #f3f5f2 100%) !important;
	border-left: 1px solid #dfe5dc;
	box-shadow: -12px 0 30px rgba(16, 24, 36, 0.2);
}

#mobile-nav ul,
#mobile-nav ol,
#mobile-nav .ds-mobile-primary,
#mobile-nav .ds-mobile-categories-list,
#mobile-nav ul.space-y-1 {
	list-style: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
}

#mobile-nav li {
	list-style: none !important;
}

#mobile-nav .ds-mobile-primary-link,
#mobile-nav ul.space-y-1 > li > a {
	display: flex !important;
	align-items: center;
	min-height: 48px;
	background: var(--ds-surface);
	border: 1px solid #e5e7eb;
	color: var(--ds-text) !important;
}

#mobile-nav .ds-mobile-primary-arrow {
	margin-left: auto;
	color: var(--ds-muted);
	font-size: 1rem;
}

#mobile-nav .ds-mobile-search,
#mobile-nav form.rounded-xl {
	background: var(--ds-surface) !important;
	border: 1px solid #dfe5dc !important;
}

#mobile-nav .ds-mobile-search input[type="search"],
#mobile-nav form.rounded-xl input[type="search"] {
	height: 40px;
	border: 1px solid #d6ddd2 !important;
	border-radius: 10px;
	background: #fff;
	color: var(--ds-text);
	font-size: 16px;
}

#mobile-nav .ds-mobile-search button[type="submit"],
#mobile-nav form.rounded-xl button[type="submit"] {
	height: 40px;
	padding: 0 0.8rem;
	border: 1px solid var(--ds-primary);
	border-radius: 10px;
	background: var(--ds-primary) !important;
	color: var(--ds-surface) !important;
	font-weight: 700;
}

#mobile-nav .ds-mobile-search button[type="submit"]:hover,
#mobile-nav .ds-mobile-search button[type="submit"]:focus-visible,
#mobile-nav form.rounded-xl button[type="submit"]:hover,
#mobile-nav form.rounded-xl button[type="submit"]:focus-visible {
	background: var(--ds-primary-dark) !important;
	border-color: var(--ds-primary-dark);
}

#mobile-nav .ds-mobile-categories h3 {
	color: #6b7280;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	font-weight: 700;
}

#mobile-nav .ds-mobile-category-link,
#mobile-nav .ds-mobile-categories ul.space-y-1 > li > a {
	background: var(--ds-surface);
	border: 1px solid #dfe5dc;
	color: #4b5563 !important;
	min-height: 42px;
}

#mobile-nav .ds-mobile-footer,
#mobile-nav .p-4.border-t.border-border.space-y-3.bg-background {
	background: linear-gradient(180deg, rgba(245, 246, 242, 0.95) 0%, rgba(245, 246, 242, 1) 100%);
	border-top-color: #e5e7eb !important;
}

#mobile-nav .ds-mobile-account-btn,
#mobile-nav .p-4.border-t.border-border.space-y-3.bg-background > a:first-child {
	min-height: 48px;
	background: var(--ds-primary) !important;
	color: var(--ds-surface) !important;
	border-radius: 11px;
	box-shadow: 0 8px 16px rgb(61 107 64 / 0.22);
}

#mobile-nav .ds-mobile-account-btn:hover,
#mobile-nav .ds-mobile-account-btn:focus-visible,
#mobile-nav .p-4.border-t.border-border.space-y-3.bg-background > a:first-child:hover,
#mobile-nav .p-4.border-t.border-border.space-y-3.bg-background > a:first-child:focus-visible {
	background: var(--ds-primary-dark) !important;
}

/* Hero final lock: readability + CTA styling */
.home .hero .hero-content {
	background: linear-gradient(135deg, rgba(14, 17, 20, 0.56) 0%, rgba(14, 17, 20, 0.3) 100%) !important;
}

.home .hero .hero-title {
	font-size: clamp(2rem, 4.1vw, 3.25rem) !important;
	line-height: 1.05 !important;
	margin-bottom: 0.65rem !important;
}

.home .hero .hero-subtitle {
	font-size: clamp(1rem, 1.45vw, 1.2rem) !important;
	line-height: 1.5 !important;
	/* max-width: 52ch; */
}

.home .hero .hero-cta {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.65rem !important;
}


@media (max-width: 640px) {
	.home .hero .hero-title {
		font-size: clamp(1.22rem, 5.2vw, 1.58rem) !important;
	}

	.home .hero .hero-subtitle {
		font-size: 0.8rem !important;
	}

	.home .hero .hero-cta {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 0.5rem !important;
	}

}

/* Hero visual target match (final) */
.home .hero {
	position: relative;
	min-height: clamp(460px, 62vh, 620px);
}

.home .hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(7, 12, 10, 0.34) 0%, transparent 55%),
		linear-gradient(100deg, rgba(10, 16, 14, 0.62) 0%, rgba(10, 16, 14, 0.42) 42%, rgba(10, 16, 14, 0.2) 100%);
	pointer-events: none;
	z-index: 1;
}

.home .hero .container {
	position: relative;
	z-index: 2;
}

.home .hero .hero-content {
	max-width: 760px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: clamp(1.2rem, 2.4vw, 2rem) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.home .hero .hero-badge {
	display: inline-flex !important;
	align-items: center;
	gap: 0.45rem;
	min-height: 42px;
	padding: 0.52rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(195, 222, 198, 0.55) !important;
	background: rgb(74 125 78 / 0.42) !important;
	backdrop-filter: blur(3px);
	color: #f7fbf6 !important;
	font-size: 0.9rem;
	font-weight: 700;
}

.home .hero .hero-title {
	font-size: clamp(2.55rem, 6.2vw, 4.75rem) !important;
	line-height: 0.98 !important;
	letter-spacing: -0.03em !important;
	font-weight: 800 !important;
	color: var(--ds-surface) !important;
	margin: 1rem 0 0.95rem !important;
	/* max-width: 15ch; */
}

.home .hero .hero-subtitle {
	font-size: clamp(1.22rem, 2.05vw, 1.98rem) !important;
	line-height: 1.35 !important;
	color: rgba(245, 250, 245, 0.92) !important;
	/* max-width: 32ch !important; */
	margin-bottom: 1.5rem !important;
}

.home .hero .hero-cta {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.72rem !important;
	margin-top: 0.25rem !important;
}






.home .hero .hero-scroll {
	right: clamp(1rem, 3vw, 2.4rem) !important;
	left: auto !important;
	bottom: clamp(0.6rem, 2vw, 1.35rem) !important;
	opacity: 0.9;
}

.home .hero .hero-scroll span {
	font-size: 0.84rem !important;
	letter-spacing: 0.14em !important;
	font-weight: 700;
}

@media (max-width: 980px) {
	.home .hero {
		min-height: 420px;
	}

	.home .hero .hero-content {
		max-width: 96% !important;
	}

	.home .hero .hero-title {
		font-size: clamp(2.2rem, 9.2vw, 3.35rem) !important;
	}

	.home .hero .hero-subtitle {
		font-size: clamp(1rem, 3.9vw, 1.4rem) !important;
	}

}

@media (max-width: 640px) {
	.home .hero {
		min-height: 360px;
	}

	.home .hero .hero-content {
		padding: 0.9rem !important;
	}

	.home .hero .hero-badge {
		min-height: 36px;
		padding: 0.38rem 0.78rem;
		font-size: 0.82rem !important;
	}

	.home .hero .hero-title {
		font-size: clamp(1.75rem, 8.1vw, 2.35rem) !important;
		margin: 0.65rem 0 0.6rem !important;
	}

	.home .hero .hero-subtitle {
		font-size: 0.95rem !important;
		max-width: 100% !important;
		margin-bottom: 0.9rem !important;
	}

	.home .hero .hero-cta {
		grid-template-columns: 1fr !important;
	}

}

/* Homepage visual polish: curated tabs, trust cards, steps, legal section */
body.home .ds-featured-products-section .section-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

body.home .ds-featured-products-section .section-title {
	font-size: clamp(2rem, 4vw, 3.8rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--ds-text);
}

body.home .ds-featured-products-section .section-label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin: 0 auto 0.6rem;
	padding: 0.28rem 0.8rem;
	border-radius: 999px;
	background: #eef4ee;
	color: var(--ds-primary);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

body.home .features-section {
	background: #3f7844;
	padding-top: clamp(3rem, 5vw, 4.4rem);
	padding-bottom: clamp(3rem, 5vw, 4.8rem);
}

body.home .features-section .features-header h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.08;
	color: #f3f8f2;
}

body.home .features-section .features-header p {
	font-size: clamp(1rem, 1.5vw, 1.18rem);
	color: rgba(241, 247, 240, 0.92);
	/* max-width: 40ch; */
	margin-left: auto;
	margin-right: auto;
}

body.home .features-section .features-grid {
	gap: 1.2rem;
}

body.home .features-section .feature-card {
	padding: 1.7rem 1.3rem;
	border-radius: 14px;
	border: 1px solid rgba(205, 226, 206, 0.25);
	background: rgba(255, 255, 255, 0.13);
	box-shadow: none;
}

body.home .features-section .feature-icon {
	width: 76px;
	height: 76px;
	margin-bottom: 0.95rem;
	background: rgba(186, 204, 150, 0.3);
	color: #d6be93;
}

body.home .features-section .feature-card h3 {
	font-size: 1.9rem;
	color: #f6faf5;
}

body.home .features-section .feature-card p {
	font-size: 1.08rem;
	line-height: 1.55;
	color: rgba(237, 245, 236, 0.92);
}

body.home .how-it-works-section {
	background: #f1f3ee;
	padding-top: clamp(3rem, 5vw, 4.5rem);
	padding-bottom: clamp(3rem, 5vw, 4.8rem);
}

body.home .how-it-works-section .section-header h2 {
	font-size: clamp(2.4rem, 4vw, 4rem);
	line-height: 1.08;
	color: var(--ds-text);
}

body.home .how-it-works-section .section-header p {
	font-size: clamp(1rem, 1.45vw, 1.2rem);
	color: #667287;
}

body.home .how-it-works-section .steps-grid {
	gap: 1.4rem;
}

body.home .how-it-works-section .step-card {
	padding: 3rem 2rem 2.6rem;
	border-radius: 18px;
	border: 1px solid #e1e6dd;
	background: var(--ds-surface);
	box-shadow: 0 8px 22px rgb(34 34 59 / 0.06);
}

body.home .how-it-works-section .step-number {
	width: 58px;
	height: 58px;
	font-size: 1.95rem;
	background: var(--ds-primary);
	color: var(--ds-surface);
	box-shadow: 0 8px 16px rgb(61 107 64 / 0.25);
}

body.home .how-it-works-section .step-title {
	font-size: 1.9rem;
	color: var(--ds-text);
}

body.home .how-it-works-section .step-description {
	font-size: 1.08rem;
	color: #667287;
	line-height: 1.62;
}

body.home .legal-notice-section {
	background: #f1f3ee;
	padding-top: clamp(3rem, 5vw, 4.5rem);
	padding-bottom: clamp(3rem, 5vw, 4.8rem);
}

body.home .legal-notice-section .legal-grid {
	gap: 1.7rem;
	grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.35fr);
}

body.home .legal-notice-section .legal-image {
	border-radius: 0;
	box-shadow: none;
}

body.home .legal-notice-section .legal-image img {
	min-height: 100%;
	max-height: 560px;
	object-fit: cover;
}

body.home .legal-notice-section .legal-content h2 {
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	line-height: 1.1;
	color: var(--ds-text);
}

body.home .legal-notice-section .legal-item {
	padding: 1.2rem 1.25rem;
	border-radius: 14px;
	border-color: #dfe5dd;
	background: var(--ds-surface);
}

body.home .legal-notice-section .legal-item .item-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #eef4ef;
	color: var(--ds-primary);
}

body.home .legal-notice-section .legal-item h3 {
	font-size: 1.75rem;
	color: #2a3043;
}

body.home .legal-notice-section .legal-item p {
	font-size: 1.03rem;
	line-height: 1.58;
	color: #667287;
}

body.home .legal-notice-section .legal-cta {
	margin-top: 1.15rem;
	padding: 1.2rem 1.3rem;
	border-radius: 14px;
	border: 1px solid #dfe5dd;
	background: var(--ds-surface);
}

body.home .legal-notice-section .legal-cta .cta-text p {
	font-size: 1.12rem;
	color: #2a3043;
}

body.home .legal-notice-section .legal-cta .btn {
	min-height: 48px;
	padding: 0.7rem 1.35rem;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 700;
}

body.home .legal-notice-section .legal-cta .btn.btn-primary {
	background: var(--ds-primary);
	border-color: var(--ds-primary);
	color: var(--ds-surface);
}

body.home .legal-notice-section .legal-cta .btn.btn-dark {
	background: var(--ds-text);
	border-color: var(--ds-text);
	color: var(--ds-surface);
}

@media (max-width: 1024px) {
	body.home .features-section .feature-card,
	body.home .how-it-works-section .step-card {
		padding: 1.25rem 1rem;
	}

	body.home .legal-notice-section .legal-grid {
		grid-template-columns: 1fr;
	}

	body.home .legal-notice-section .legal-image img {
		max-height: 420px;
	}
}

@media (max-width: 640px) {
	body.home .ds-featured-products-section .section-title {
		font-size: clamp(1.8rem, 8vw, 2.35rem);
	}

	body.home .features-section .features-header h2,
	body.home .how-it-works-section .section-header h2,
	body.home .legal-notice-section .legal-content h2 {
		font-size: clamp(1.8rem, 8vw, 2.45rem);
	}

	body.home .how-it-works-section .step-number {
		width: 50px;
		height: 50px;
		font-size: 1.4rem;
	}

	body.home .legal-notice-section .legal-cta {
		padding: 1rem;
	}

	body.home .legal-notice-section .legal-cta .cta-buttons {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr;
	}

	body.home .legal-notice-section .legal-cta .btn {
		width: 100%;
		justify-content: center;
	}
}

/* FAQ refinement: no green fill, green border accent */
body.home .faq-section {
	background: #f1f3ee;
}

body.home .faq-accordion {
	max-width: 980px;
}

body.home .faq-item {
	border: 1px solid #dfe5dd;
	border-radius: 12px;
	background: var(--ds-surface);
	box-shadow: none;
}

body.home .faq-item.active {
	border-color: var(--ds-primary);
	box-shadow: 0 0 0 1px rgb(74 125 78 / 0.08);
	background: var(--ds-surface);
}

body.home .faq-question {
	background: var(--ds-surface);
	color: var(--ds-text);
}

body.home .faq-item.active .faq-question {
	background: var(--ds-surface);
	color: var(--ds-text);
	border-bottom: 1px solid #dfe5dd;
}

body.home .faq-question-text {
	color: var(--ds-text);
	font-size: clamp(1.25rem, 1.7vw, 1.9rem);
	font-weight: 700;
}

body.home .faq-icon {
	color: var(--ds-primary);
}

body.home .faq-answer {
	background: var(--ds-surface);
	border-top-color: transparent;
}

body.home .faq-item.active .faq-answer {
	border-top-color: #dfe5dd;
}

body.home .faq-answer p {
	color: #3d4459;
	font-size: clamp(1rem, 1.12vw, 1.25rem);
	line-height: 1.58;
}

@media (max-width: 640px) {
	body.home .faq-question-text {
		font-size: 1.08rem;
	}

	body.home .faq-answer p {
		font-size: 0.98rem;
	}
}

/* Hero final failsafe: apply even when body class is not `home` */
body .hero {
	position: relative;
}

body .hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(7, 12, 10, 0.34) 0%, transparent 55%),
		linear-gradient(100deg, rgba(10, 16, 14, 0.62) 0%, rgba(10, 16, 14, 0.42) 42%, rgba(10, 16, 14, 0.2) 100%);
	pointer-events: none;
	z-index: 1;
}

body .hero .container,
body .hero .hero-content {
	position: relative;
	z-index: 2;
}

body .hero .hero-badge,
body .hero .hero-title,
body .hero .hero-subtitle {
	color: var(--ds-surface) !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body .hero .hero-title {
	font-size: clamp(2.3rem, 6vw, 4.5rem) !important;
	line-height: 0.98 !important;
	letter-spacing: -0.03em !important;
	font-weight: 800 !important;
	/* max-width: 15ch; */
}

body .hero .hero-subtitle {
	font-size: clamp(1.05rem, 2vw, 1.9rem) !important;
	line-height: 1.35 !important;
	/* max-width: 32ch !important; */
}


@media (max-width: 640px) {
	body .hero .hero-title {
		font-size: clamp(1.75rem, 8.1vw, 2.35rem) !important;
	}

	body .hero .hero-subtitle {
		font-size: 0.95rem !important;
	}
}

/* Front-page shortcode sections final lock (Elementor-safe, no body class dependency) */
.ds-featured-products-section .section-title {
	font-size: clamp(2rem, 4vw, 3.8rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--ds-text);
}

.features-section {
	background: #3f7844;
	padding-top: clamp(3rem, 5vw, 4.4rem);
	padding-bottom: clamp(3rem, 5vw, 4.8rem);
}

.features-section .features-header h2,
.features-section .features-header p,
.features-section .feature-card h3,
.features-section .feature-card p {
	color: #f3f8f2 !important;
}

.features-section .features-header h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.08;
}

.features-section .features-header p {
	font-size: clamp(1rem, 1.5vw, 1.18rem);
	/* max-width: 40ch; */
	margin-left: auto;
	margin-right: auto;
}

.features-section .feature-card {
	padding: 1.4rem 1.2rem;
	border-radius: 14px;
	border: 1px solid rgba(205, 226, 206, 0.25);
	background: rgba(255, 255, 255, 0.13);
	box-shadow: none;
}

.features-section .feature-icon {
	background: rgba(186, 204, 150, 0.3);
	color: #d6be93;
}

.how-it-works-section {
	background: #f1f3ee;
	padding-top: clamp(3rem, 5vw, 4.5rem);
	padding-bottom: clamp(3rem, 5vw, 4.8rem);
}

.how-it-works-section .section-header h2 {
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	line-height: 1.08;
	color: var(--ds-text);
}

.how-it-works-section .section-header p {
	font-size: clamp(1rem, 1.45vw, 1.2rem);
	color: #667287;
}

.how-it-works-section .step-card {
	padding: 2.3rem 1.6rem 2.1rem;
	border-radius: 18px;
	border: 1px solid #e1e6dd;
	background: var(--ds-surface);
	box-shadow: 0 8px 22px rgb(34 34 59 / 0.06);
}

.how-it-works-section .step-number {
	background: var(--ds-primary);
	color: var(--ds-surface);
}

.how-it-works-section .step-title {
	color: var(--ds-text);
}

.how-it-works-section .step-description {
	color: #667287;
}

.legal-notice-section {
	background: #f1f3ee;
	padding-top: clamp(3rem, 5vw, 4.5rem);
	padding-bottom: clamp(3rem, 5vw, 4.8rem);
}

.legal-notice-section .legal-content h2 {
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	line-height: 1.1;
	color: var(--ds-text);
}

.legal-notice-section .legal-item {
	padding: 1.1rem 1.15rem;
	border-radius: 14px;
	border-color: #dfe5dd;
	background: var(--ds-surface);
}

.legal-notice-section .legal-item .item-icon {
	background: #eef4ef;
	color: var(--ds-primary);
}

.legal-notice-section .legal-item h3 {
	color: #2a3043;
}

.legal-notice-section .legal-item p {
	color: #667287;
}

.legal-notice-section .legal-cta {
	border: 1px solid #dfe5dd;
	background: var(--ds-surface);
}

.legal-notice-section .legal-cta .btn.btn-primary {
	background: var(--ds-primary);
	border-color: var(--ds-primary);
	color: var(--ds-surface);
}

.legal-notice-section .legal-cta .btn.btn-dark {
	background: var(--ds-text);
	border-color: var(--ds-text);
	color: var(--ds-surface);
}

.faq-section {
	background: #f1f3ee;
}

.faq-item {
	border: 1px solid #dfe5dd;
	background: var(--ds-surface);
}

.faq-item.active {
	border-color: var(--ds-primary);
}

.faq-question {
	background: var(--ds-surface);
	color: var(--ds-text);
}

.faq-question-text {
	color: var(--ds-text);
}

.faq-icon {
	color: var(--ds-primary);
}

.faq-answer p {
	color: #3d4459;
}

@media (max-width: 1024px) {
	.legal-notice-section .legal-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ds-featured-products-section .section-title,
	.features-section .features-header h2,
	.how-it-works-section .section-header h2,
	.legal-notice-section .legal-content h2 {
		font-size: clamp(1.8rem, 8vw, 2.45rem);
	}
}

/* Page.php spacing parity for front-page shortcode sections (1600px content cap) */
.categories-carousel-section > .container,
.features-section > .container,
.how-it-works-section > .container,
.legal-notice-section > .container,
.faq-section > .container {
	width: min(1600px, calc(100% - 2rem)) !important; /* page.php-like px-4 */
	max-width: min(1600px, calc(100% - 2rem)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

/* page.php-like py-10 rhythm for standard front sections (hero excluded/full-bleed kept) */
.categories-carousel-section,
.ds-featured-products-section,
.features-section,
.how-it-works-section,
.legal-notice-section,
.faq-section {
	padding-top: 2.5rem !important;
	padding-bottom: 2.5rem !important;
}

@media (max-width: 980px) {
	.categories-carousel-section > .container,
	.features-section > .container,
	.how-it-works-section > .container,
	.legal-notice-section > .container,
	.faq-section > .container {
		width: min(1600px, calc(100% - 1.5rem)) !important;
		max-width: min(1600px, calc(100% - 1.5rem)) !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	.categories-carousel-section,
	.ds-featured-products-section,
	.features-section,
	.how-it-works-section,
	.legal-notice-section,
	.faq-section {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}
}

/* Absolute hero content fallback: works even if parent `.hero` class is missing */
.hero-content {
	position: relative;
	z-index: 2;
	max-width: 760px !important;
	padding: clamp(1.1rem, 2.2vw, 1.9rem) !important;
	border-radius: 16px;
	background: linear-gradient(140deg, rgba(10, 15, 13, 0.52), rgba(10, 15, 13, 0.24)) !important;
	border: 1px solid rgba(232, 241, 232, 0.24) !important;
	box-shadow: 0 14px 34px rgba(4, 8, 7, 0.3) !important;
}

.hero-content .hero-badge,
.hero-content .hero-title,
.hero-content .hero-subtitle {
	color: var(--ds-surface) !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-content .hero-title {
	font-size: clamp(2.2rem, 5.8vw, 4.4rem) !important;
	line-height: 0.98 !important;
	letter-spacing: -0.03em !important;
	font-weight: 800 !important;
	margin: 0.95rem 0 0.85rem !important;
	/* max-width: 15ch; */
}

.hero-content .hero-subtitle {
	font-size: clamp(1.05rem, 1.9vw, 1.85rem) !important;
	line-height: 1.34 !important;
	max-width: 32ch !important;
	margin-bottom: 1.35rem !important;
}

.hero-content .hero-cta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.72rem !important;
}




@media (max-width: 640px) {
	.hero-content {
		padding: 0.9rem !important;
	}

	.hero-content .hero-title {
		font-size: clamp(1.75rem, 8.1vw, 2.35rem) !important;
	}

	.hero-content .hero-subtitle {
		font-size: 0.95rem !important;
		max-width: 100% !important;
	}

	.hero-content .hero-cta {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

}

/* Canonical hero style (screenshot target) */
.hero .ds-hero-content,
.ds-hero-content {
	/* max-width: 780px !important; */
	padding: clamp(1.2rem, 2.3vw, 2rem) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.hero .ds-hero-badge,
.ds-hero-badge {
	display: inline-flex !important;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 1.15rem;
	border-radius: 999px;
	border: 1px solid rgba(210, 230, 210, 0.46) !important;
	background: rgb(74 125 78 / 0.5) !important;
	color: #f8fbf8 !important;
	font-size: 0.95rem;
	font-weight: 700;
}

.hero .ds-hero-title,
.ds-hero-title {
	margin: 0.95rem 0 0.85rem !important;
	font-size: clamp(2.9rem, 6.1vw, 4.9rem) !important;
	line-height: 0.95 !important;
	letter-spacing: -0.03em !important;
	font-weight: 800 !important;
	color: var(--ds-surface) !important;
	/* max-width: 14ch; */
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
}

.hero .ds-hero-subtitle,
.ds-hero-subtitle {
	margin: 0 0 1.45rem !important;
	font-size: clamp(1.15rem, 2vw, 1.85rem) !important;
	line-height: 1.35 !important;
	color: rgba(247, 251, 248, 0.96) !important;
	/* max-width: 34ch !important; */
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
}


.hero .ds-hero-scroll,
.ds-hero-scroll {
	right: clamp(1rem, 3vw, 2.4rem) !important;
	left: auto !important;
	bottom: clamp(0.5rem, 2vw, 1.25rem) !important;
	opacity: 0.9;
}

@media (max-width: 980px) {
	.hero .ds-hero-title,
	.ds-hero-title {
		font-size: clamp(2.5rem, 9vw, 4.1rem) !important;
	}

	.hero .ds-hero-subtitle,
	.ds-hero-subtitle {
		font-size: clamp(1.05rem, 3.9vw, 1.55rem) !important;
	}

}

/* md: 768px — tablet fill between 980px and 640px */
@media (max-width: 768px) {
	.hero .ds-hero-title,
	.ds-hero-title {
		/* clamp: 2.2rem @ 375px → fluid → 3.2rem @ 768px */
		font-size: clamp(2.2rem, 5.5vw + 1rem, 3.2rem) !important;
		line-height: 1.08 !important;
	}

	.hero .ds-hero-subtitle,
	.ds-hero-subtitle {
		font-size: clamp(1rem, 3.5vw, 1.35rem) !important;
		line-height: 1.55 !important;
	}

}

@media (max-width: 640px) {
	.hero .ds-hero-content,
	.ds-hero-content {
		padding: 0.9rem !important;
	}

	.hero .ds-hero-badge,
	.ds-hero-badge {
		min-height: 36px;
		padding: 0.35rem 0.72rem;
		font-size: 0.82rem !important;
	}

	/* Skill standard: hero H1 minimum = 2rem (≈ 32px) */
	.hero .ds-hero-title,
	.ds-hero-title {
		font-size: clamp(2rem, 8vw, 2.4rem) !important;
		line-height: 1.1 !important;
	}

	/* Skill standard: body text minimum = 1rem */
	.hero .ds-hero-subtitle,
	.ds-hero-subtitle {
		font-size: clamp(1rem, 4vw, 1.1rem) !important;
		line-height: 1.6 !important;
		max-width: 100% !important;
	}


	/* Hide scroll indicator on mobile — content priority */
	.hero .ds-hero-scroll,
	.ds-hero-scroll {
		display: none !important;
	}
}

/* Product card style target: cleaner premium card + bottom-anchored CTA row */

/* Header on scroll: force solid readable state */
body.header-scrolled #site-header.navbar,
body.header-scrolled .navbar {
	background: rgba(255, 255, 255, 0.98) !important;
	border-bottom: 1px solid #e4e8e2 !important;
	box-shadow: 0 10px 24px rgba(18, 26, 21, 0.12) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	mix-blend-mode: normal !important;
}

body.header-scrolled #site-header .logo-text,
body.header-scrolled #site-header .nav-link,
body.header-scrolled #site-header .nav-icon-btn,
body.header-scrolled #site-header .nav-arrow,
body.header-scrolled #site-header .cart-btn {
	color: var(--ds-text) !important;
}

body.header-scrolled #site-header .nav-link:hover,
body.header-scrolled #site-header .nav-link:focus-visible,
body.header-scrolled #site-header .nav-icon-btn:hover,
body.header-scrolled #site-header .nav-icon-btn:focus-visible {
	color: var(--ds-primary-dark) !important;
}

.ds-featured-products-section .section-footer .btn,
.ds-featured-products-section .section-footer .btn:visited {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 46px !important;
	padding: 0.72rem 1.3rem !important;
	border-radius: 10px !important;
	border: 1px solid var(--ds-primary) !important;
	background: var(--ds-primary) !important;
	color: var(--ds-surface) !important;
	font-size: 0.96rem !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.ds-featured-products-section .section-footer .btn:hover,
.ds-featured-products-section .section-footer .btn:focus-visible {
	background: var(--ds-primary-dark) !important;
	border-color: var(--ds-primary-dark) !important;
	color: var(--ds-surface) !important;
}

/* Features cards: center icon and text content */
.features-section .feature-card {
	text-align: center !important;
}

.features-section .feature-icon {
	margin-left: auto !important;
	margin-right: auto !important;
}

.features-section .feature-card h3,
.features-section .feature-card p {
	text-align: center !important;
}

/* Mega menu final lock: dark premium hierarchy */
@media (min-width: 981px) {
	#site-header .nav-item-mega > .mega-menu,
	#site-header .mega-menu {
		padding: 0.85rem !important;
		border: 1px solid rgba(255, 255, 255, 0.08) !important;
		border-radius: 16px !important;
		background: #2c3e50 !important;
		box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35) !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}

	#site-header #shop-mega-menu {
		width: min(940px, calc(100vw - 2.2rem)) !important;
		max-width: 940px !important;
	}

	#site-header #resources-mega-menu {
		width: min(360px, calc(100vw - 2rem)) !important;
		max-width: 360px !important;
	}

	#site-header .mega-menu-content {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.9rem !important;
	}

	#site-header .mega-col {
		padding: 0.62rem 0.68rem !important;
		background: linear-gradient(180deg, var(--ds-surface) 0%, #f9fbf8 100%);
	}

	#site-header .mega-col h3 {
		margin: 0 0 0.6rem !important;
		padding-bottom: 0.52rem !important;
		border-bottom: 1px solid #e6ece3 !important;
		font-size: 0.83rem !important;
		letter-spacing: 0.1em !important;
		text-transform: uppercase !important;
		color: var(--ds-primary-dark) !important;
		font-weight: 800 !important;
	}

	#site-header .mega-col h3::before {
		content: "\2022";
		margin-right: 0.45rem;
		color: var(--ds-primary);
		font-size: 0.9em;
	}

	#site-header .mega-menu .mega-col ul li a,
	#site-header .mega-menu-simple-content a {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		min-height: 36px !important;
		padding: 0.42rem 0.55rem !important;
		border-radius: 9px !important;
		color: var(--ds-text) !important;
		font-size: 0.95rem !important;
		font-weight: 600 !important;
		line-height: 1.25 !important;
		transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
	}

	#site-header .mega-menu .mega-col ul li a::after,
	#site-header .mega-menu-simple-content a::after {
		content: "\203A";
		opacity: 0;
		transform: translateX(-4px);
		transition: opacity 0.16s ease, transform 0.16s ease;
		color: var(--ds-primary-dark);
		font-size: 1rem;
	}

	#site-header .mega-menu .mega-col ul li a:hover,
	#site-header .mega-menu .mega-col ul li a:focus-visible,
	#site-header .mega-menu-simple-content a:hover,
	#site-header .mega-menu-simple-content a:focus-visible {
		background: rgb(74 125 78 / 0.1) !important;
		color: #2f5f35 !important;
		transform: translateX(2px);
		outline: none;
	}

	#site-header .mega-menu .mega-col ul li a:hover::after,
	#site-header .mega-menu .mega-col ul li a:focus-visible::after,
	#site-header .mega-menu-simple-content a:hover::after,
	#site-header .mega-menu-simple-content a:focus-visible::after {
		opacity: 1;
		transform: translateX(0);
	}

	#site-header .mega-menu .mega-col ul li a.is-active,
	#site-header .mega-menu-simple-content a.is-active {
		background: rgb(74 125 78 / 0.14) !important;
		color: #2f5f35 !important;
		font-weight: 700 !important;
	}
}

/* Card media hard fix: prevent top clipping / offset rendering */

/* Motion refinement lock: simple, minimal, sophisticated */

.ds-motion-ready .ds-reveal,
.ds-reveal {
	opacity: 0;
	transform: translate3d(0, 12px, 0) scale(0.988);
	filter: blur(2px);
	transition:
		opacity var(--ds-motion-base) var(--ds-motion-ease),
		transform var(--ds-motion-base) var(--ds-motion-ease),
		filter var(--ds-motion-base) var(--ds-motion-ease);
	transition-delay: var(--ds-reveal-delay, 0ms);
	will-change: opacity, transform, filter;
}

.ds-motion-ready .ds-reveal.is-visible,
.ds-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
	filter: blur(0);
}

/* Keep interactions crisp and understated. */
#site-header .mega-menu,
#site-header .mega-menu .mega-col ul li a {
	transition-timing-function: var(--ds-motion-ease) !important;
}

@media (prefers-reduced-motion: reduce) {
	.ds-motion-ready .ds-reveal,
	.ds-reveal,
	.ds-motion-ready .ds-reveal.is-visible,
	.ds-reveal.is-visible {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		transition: none !important;
	}
}

/* Header + footer horizontal alignment lock */

#site-header > .container,
.footer > .container {
	width: 100%;
	max-width: var(--ds-shell-max-width) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--ds-shell-gutter) !important;
	padding-right: var(--ds-shell-gutter) !important;
	box-sizing: border-box;
}

@media (max-width: 980px) {
	:root {
		--ds-shell-gutter: 0.875rem;
	}
}

@media (max-width: 640px) {
	:root {
		--ds-shell-gutter: 0.75rem;
	}
}

/* Landing page FAQ final lock: white surface + green border accent */
body.home .faq-section {
	background: #f1f3ee !important;
	padding-top: clamp(3rem, 5vw, 4.5rem) !important;
	padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
}

body.home .faq-section .section-header p {
	display: none !important;
}

body.home .faq-accordion {
	max-width: min(980px, 100%) !important;
	margin: 0 auto !important;
	display: grid !important;
	gap: 0.9rem !important;
}

.ds-faq-page .card-base + .card-base {
	margin-top: 1rem;
}

.ds-faq-page .faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	max-width: 920px;
	margin: 0 auto;
}

.ds-faq-page .faq-item {
	border: 1px solid #d6e1d3;
	border-radius: 14px;
	background: var(--ds-surface);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-faq-page .faq-item:hover {
	border-color: #b7cdb8;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.ds-faq-page .faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: transparent;
	border: 0;
	color: var(--ds-text);
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	letter-spacing: -0.01em;
}

.ds-faq-page .faq-question:focus-visible {
	outline: 2px solid var(--ds-primary);
	outline-offset: 2px;
}

.ds-faq-page .faq-icon {
	width: 20px;
	height: 20px;
	transition: transform 0.2s ease;
	color: var(--ds-primary);
}

.ds-faq-page .faq-item.active .faq-icon {
	transform: rotate(180deg);
}

.ds-faq-page .faq-answer {
	padding: 0 16px 16px;
	color: #41475a;
	font-size: 0.98rem;
	line-height: 1.6;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.25s ease;
}

.ds-faq-page .faq-item.active .faq-answer {
	max-height: 640px;
}

/* Branded WooCommerce notices */
.ds-alert-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0 0 1rem;
}

.ds-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--ds-border, #e0e0d8);
	border-radius: 12px;
	background: #f7f9f6;
	color: var(--ds-text, #22223b);
	box-shadow: 0 6px 18px rgb(34 34 59 / 0.06);
}

.ds-alert__icon {
	color: var(--ds-primary, #4a7d4e);
	margin-top: 2px;
	display: inline-flex;
}

.ds-alert__content {
	font-size: 0.95rem;
	line-height: 1.55;
}

.ds-alert--success {
	border-color: #bcd8c2;
	background: #eff7f0;
}

.ds-alert--error {
	border-color: #f2c4c4;
	background: #fdf4f4;
	color: #6c1d1d;
}
.ds-alert--error .ds-alert__icon {
	color: #d32f2f;
}

.ds-alert--info {
	border-color: #c8d9c9;
	background: #f4f7f3;
}

body.home .faq-item {
	border: 1px solid #c8d9c9 !important;
	border-radius: 12px !important;
	background: var(--ds-surface) !important;
	box-shadow: 0 3px 10px rgba(21, 30, 24, 0.04) !important;
	overflow: hidden !important;
}

body.home .faq-item.active {
	border-color: var(--ds-primary) !important;
	box-shadow: 0 8px 20px rgb(61 107 64 / 0.12) !important;
}

body.home .faq-question,
body.home .faq-item.active .faq-question {
	background: var(--ds-surface) !important;
	color: var(--ds-text) !important;
	padding: 1.08rem 1.2rem !important;
}

body.home .faq-question-text {
	color: var(--ds-text) !important;
	font-size: clamp(1.02rem, 1.25vw, 1.18rem) !important;
	font-weight: 700 !important;
}

body.home .faq-icon,
body.home .faq-item.active .faq-icon {
	color: var(--ds-primary) !important;
	opacity: 1 !important;
}

body.home .faq-answer {
	background: var(--ds-surface) !important;
	border-top: 1px solid transparent !important;
	padding: 0 1.2rem !important; /* closed: no top/bottom padding — avoids visible gap */
}

body.home .faq-item.active .faq-answer {
	border-top-color: #e3ebe2 !important;
	padding: 0.75rem 1.2rem 1.05rem !important; /* open: restore vertical padding */
	opacity: 1 !important;
}

body.home .faq-answer p {
	color: #30384e !important;
	font-size: clamp(1rem, 1.05vw, 1.1rem) !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}

@media (max-width: 640px) {
	body.home .faq-question,
	body.home .faq-item.active .faq-question {
		padding: 0.95rem 1rem !important;
	}

	body.home .faq-answer {
		padding: 0 1rem !important; /* closed mobile: no top/bottom */
	}

	body.home .faq-item.active .faq-answer {
		padding: 0.6rem 1rem 0.9rem !important; /* open mobile: with vertical padding */
	}
}

/* Landing legal section final lock: stable proportions + readable scale */
body.home .legal-notice-section {
	background: linear-gradient(145deg, var(--ds-bg) 0%, #ffffff 70%) !important;
	padding-top: clamp(3rem, 4.5vw, 4.25rem) !important;
	padding-bottom: clamp(3rem, 4.8vw, 4.5rem) !important;
}

body.home .legal-notice-section .legal-grid {
	display: grid !important;
	grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.32fr) !important;
	gap: clamp(1rem, 2vw, 1.55rem) !important;
	align-items: start !important;
}

body.home .legal-notice-section .legal-image {
	position: relative !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	border: 1px solid var(--ds-border) !important;
	background: linear-gradient(135deg, rgba(74, 125, 78, 0.06) 0%, rgba(196, 167, 125, 0.06) 50%, #eef3ed 100%) !important;
	box-shadow: 0 12px 26px rgba(74, 125, 78, 0.14) !important;
}

body.home .legal-notice-section .legal-image .glow-effect {
	display: none !important;
}

body.home .legal-notice-section .legal-image img {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 4 / 3 !important;
	height: auto !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center !important;
}

.legal-title-overlay {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 10px;
	text-align: center;
}

.legal-title-overlay span {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(34, 34, 59, 0.55);
	backdrop-filter: blur(8px);
	color: var(--ds-surface);
	font-weight: 800;
	font-size: clamp(1.6rem, 5vw, 2.1rem);
	line-height: 1.1;
}

body.home .legal-notice-section .legal-content h2 {
	margin: 0 0 0.95rem !important;
	font-size: clamp(2rem, 3.1vw, 3rem) !important;
	line-height: 1.14 !important;
	letter-spacing: -0.01em !important;
	color: var(--ds-text) !important;
}

body.home .legal-notice-section .legal-items {
	display: grid !important;
	gap: 0.9rem !important;
}

body.home .legal-notice-section .legal-item {
	display: grid !important;
	grid-template-columns: auto 1fr !important;
	align-items: start !important;
	column-gap: 0.88rem !important;
	padding: 1rem 1.05rem !important;
	border-radius: 12px !important;
	border: 1px solid var(--ds-border) !important;
	background: var(--ds-surface) !important;
}

body.home .legal-notice-section .legal-item .item-icon {
	width: 44px !important;
	height: 44px !important;
	border-radius: 11px !important;
	background: linear-gradient(135deg, rgba(74, 125, 78, 0.1) 0%, rgba(196, 167, 125, 0.12) 100%) !important;
	border: 1px solid rgba(74, 125, 78, 0.18) !important;
	color: var(--ds-primary) !important;
}

body.home .legal-notice-section .legal-item h3 {
	margin: 0 0 0.36rem !important;
	font-size: clamp(1.05rem, 1.2vw, 1.35rem) !important;
	line-height: 1.3 !important;
	color: var(--ds-text) !important;
}

body.home .legal-notice-section .legal-item p {
	margin: 0 !important;
	font-size: clamp(0.98rem, 1.02vw, 1.08rem) !important;
	line-height: 1.58 !important;
	color: var(--ds-muted) !important;
}

body.home .legal-notice-section .legal-cta {
	margin-top: 0.95rem !important;
	padding: 1rem 1.1rem !important;
	border-radius: 12px !important;
	border: 1px solid var(--ds-border) !important;
	background: var(--ds-surface) !important;
}

body.home .legal-notice-section .legal-cta .cta-text p {
	font-size: clamp(1rem, 1.02vw, 1.08rem) !important;
	color: var(--ds-text) !important;
}

body.home .legal-notice-section .legal-cta .cta-buttons {
	display: flex !important;
	align-items: center !important;
	gap: 0.7rem !important;
	flex-wrap: wrap !important;
}

body.home .legal-notice-section .legal-cta .btn {
	min-height: 46px !important;
	padding: 0.68rem 1.2rem !important;
	border-radius: 10px !important;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
}

@media (max-width: 1024px) {
	body.home .legal-notice-section .legal-grid {
		grid-template-columns: 1fr !important;
	}

	body.home .legal-notice-section .legal-content h2 {
		display: none !important;
	}

	body.home .legal-notice-section .legal-content {
		margin-top: 1rem !important;
		position: relative !important;
		z-index: 2 !important;
	}

	body.home .legal-notice-section .legal-image {
		position: relative !important;
		z-index: 0 !important;
	}

	body.home .legal-notice-section .legal-image img {
		aspect-ratio: 16 / 10 !important;
	}

	body.home .legal-notice-section .legal-title-overlay {
		display: flex !important;
	}
}

@media (max-width: 640px) {
	body.home .legal-notice-section .legal-item {
		padding: 0.9rem !important;
	}

	body.home .legal-notice-section .legal-item .item-icon {
		width: 40px !important;
		height: 40px !important;
	}

	body.home .legal-notice-section .legal-cta {
		padding: 0.9rem !important;
	}
}

/* Landing how-it-works final lock */
body.home .how-it-works-section {
	background: #f1f3ee !important;
	padding-top: clamp(4.25rem, 7vw, 6rem) !important;
	padding-bottom: clamp(4.25rem, 7vw, 6rem) !important;
}

body.home .how-it-works-section .section-header {
	text-align: center !important;
	max-width: 760px !important;
	margin: 0 auto 2.5rem !important;
}

body.home .how-it-works-section .section-header h2 {
	margin: 0 0 0.65rem !important;
	font-size: clamp(2rem, 3.2vw, 2.9rem) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.015em !important;
	color: var(--ds-text) !important;
}

body.home .how-it-works-section .section-header p {
	margin: 0 auto !important;
	font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
	line-height: 1.58 !important;
	color: #667287 !important;
}

body.home .how-it-works-section .steps-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(1.1rem, 1.8vw, 1.6rem) !important;
	max-width: 1180px !important;
	margin: 0 auto !important;
	align-items: stretch !important;
}

body.home .how-it-works-section .step-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	min-height: 320px !important;
	padding: 3.15rem 2rem 2.2rem !important;
	border-radius: 18px !important;
	border: 1px solid #e0e5dd !important;
	background: var(--ds-surface) !important;
	box-shadow: 0 8px 20px rgba(24, 31, 26, 0.07) !important;
}

body.home .how-it-works-section .step-number {
	width: 56px !important;
	height: 56px !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 0 1.55rem !important;
	font-size: 1.6rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: var(--ds-surface) !important;
	background: var(--ds-primary) !important;
	box-shadow: 0 8px 16px rgb(61 107 64 / 0.24) !important;
}

body.home .how-it-works-section .step-title {
	margin: 0 0 0.7rem !important;
	font-size: clamp(1.7rem, 1.4vw, 2rem) !important;
	line-height: 1.2 !important;
	color: var(--ds-text) !important;
}

body.home .how-it-works-section .step-description {
	margin: 0 !important;
	font-size: clamp(1rem, 0.95vw, 1.06rem) !important;
	line-height: 1.62 !important;
	color: #667287 !important;
	max-width: 30ch !important;
}

@media (max-width: 1024px) {
	body.home .how-it-works-section .steps-grid {
		grid-template-columns: 1fr !important;
		max-width: 760px !important;
	}

	body.home .how-it-works-section .step-card {
		min-height: 0 !important;
		padding: 2.5rem 1.4rem 1.6rem !important;
	}
}

@media (max-width: 640px) {
	body.home .how-it-works-section {
		padding-top: 3.2rem !important;
		padding-bottom: 3.2rem !important;
	}

	body.home .how-it-works-section .section-header {
		margin-bottom: 1.4rem !important;
	}

	body.home .how-it-works-section .section-header h2 {
		font-size: clamp(1.85rem, 8.4vw, 2.3rem) !important;
	}

	body.home .how-it-works-section .step-number {
		width: 52px !important;
		height: 52px !important;
		font-size: 1.45rem !important;
		margin-bottom: 1.1rem !important;
	}
}



/* Product card final lock rules live in assets/css/components/product-card.css */

/* Keep page-headline crumbs; hide only extra Woo breadcrumb row below headline */
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_brand .woocommerce-breadcrumb,
body.single-product .woocommerce-breadcrumb {
	display: none !important;
}

/* Mobile drawer header polish: proper brand icon + close button */
#mobile-nav .ds-mobile-brand-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#mobile-nav #mobile-menu-close {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ds-text);
	border-color: #cfd8cf;
}

#mobile-nav #mobile-menu-close svg {
	width: 18px;
	height: 18px;
}

#mobile-nav #mobile-menu-close:hover,
#mobile-nav #mobile-menu-close:focus-visible {
	background: #f3f6f3;
	border-color: var(--ds-primary);
	color: #2f5f35;
}


/* Categories carousel: keep nav controls outside image cards */
.categories-carousel-section .categories-carousel-shell {
	--ds-carousel-control-space: 52px;
	padding-left: var(--ds-carousel-control-space) !important;
	padding-right: var(--ds-carousel-control-space) !important;
}

.categories-carousel-section .categories-carousel {
	width: 100% !important;
}

.categories-carousel-section .categories-carousel-nav {
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.categories-carousel-section .categories-carousel-nav.prev {
	left: 8px !important;
}

.categories-carousel-section .categories-carousel-nav.next {
	right: 8px !important;
}

.categories-carousel-section .category-card > img {
	aspect-ratio: 4 / 3; /* height controlled by aspect-ratio on base rule */
}

@media (max-width: 1280px) {
	.categories-carousel-section .categories-carousel-shell {
		--ds-carousel-control-space: 42px;
	}

	.categories-carousel-section .category-card > img {
		aspect-ratio: 4 / 3; /* unchanged at 1100px */
	}
}

@media (max-width: 768px) {
	.categories-carousel-section .categories-carousel-shell {
		--ds-carousel-control-space: 0px;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.categories-carousel-section .categories-carousel-nav {
		top: calc(50% - 12px) !important;
	}

	.categories-carousel-section .categories-carousel-nav.prev {
		left: -4px !important;
	}

	.categories-carousel-section .categories-carousel-nav.next {
		right: -4px !important;
	}

	.categories-carousel-section .category-card > img {
		aspect-ratio: 4 / 3; /* unchanged at 680px */
	}
}

/* Non-home page width lock: keep headline + content inside one lane.
 * Uses --ds-content-max-width (1400px) NOT shell-max-width (1600px).
 * Shell width is for header/footer only; content lane is narrower. */
body:not(.home) .content-container.site-container,
body:not(.home) #main-content > .container,
body:not(.home) #main-content > .content-container,
body:not(.home) #primary > .content-container.site-container {
	width: 100% !important;
	max-width: min(var(--ds-content-max-width, 1400px), calc(100% - 2rem)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	box-sizing: border-box !important;
}

@media (max-width: 980px) {
	body:not(.home) .content-container.site-container,
	body:not(.home) #main-content > .container,
	body:not(.home) #main-content > .content-container,
	body:not(.home) #primary > .content-container.site-container {
		max-width: calc(100% - 1.5rem) !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}
}

@media (max-width: 640px) {
	body:not(.home) .content-container.site-container,
	body:not(.home) #main-content > .container,
	body:not(.home) #main-content > .content-container,
	body:not(.home) #primary > .content-container.site-container {
		max-width: calc(100% - 1rem) !important;
		padding-left: 0.5rem !important;
		padding-right: 0.5rem !important;
	}
}

/* Product card layout/visual rules live in assets/css/components/product-card.css */

/* 3) Checkout grid, spacing, order review, and stepper polish */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout {
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr) !important;
	gap: 0 1.35rem !important;
}

.ds-checkout-page .ds-checkout-heading {
	padding: 1rem 1.1rem !important;
	border: 1px solid #dfe5dd !important;
	border-radius: 12px !important;
	background: var(--ds-surface) !important;
	margin-bottom: 0.85rem !important;
}

.ds-checkout-page .ds-checkout-heading h1,
.ds-checkout-page .ds-checkout-heading h2,
.ds-checkout-page .ds-checkout-heading .entry-title {
	margin: 0 !important;
	font-size: clamp(1.55rem, 2vw, 2rem) !important;
	line-height: 1.15 !important;
}

.ds-checkout-page .ds-checkout-progress {
	margin-bottom: 0.9rem !important;
	padding: 0.8rem 0.9rem !important;
	border-radius: 12px !important;
	border: 1px solid #e2e7de !important;
	background: #f9fbf8 !important;
}

.ds-checkout-page .ds-checkout-progress-list {
	gap: 0.45rem !important;
}

.ds-checkout-page .ds-checkout-progress-list li {
	font-size: 0.82rem !important;
}

.ds-checkout-page #order_review_heading,
.ds-checkout-page #order_review {
	border: 1px solid #dfe5dd !important;
	border-radius: 14px !important;
	background: var(--ds-surface) !important;
}

.ds-checkout-page #order_review_heading {
	padding: 0.9rem 1rem !important;
	margin-bottom: 0.5rem !important;
}

.ds-checkout-page #order_review {
	padding: 0.85rem 1rem 1rem !important;
}

.ds-checkout-page .woocommerce-checkout-review-order-table {
	border: 1px solid #ecf1ea !important;
	border-radius: 10px !important;
	overflow: hidden !important;
}

.ds-checkout-page .woocommerce-checkout-review-order-table thead th {
	background: #f5f8f3 !important;
	font-size: 0.76rem !important;
}

.ds-checkout-page .woocommerce-checkout-review-order-table th,
.ds-checkout-page .woocommerce-checkout-review-order-table td {
	padding: 0.72rem 0.55rem !important;
	font-size: 0.9rem !important;
}

@media (max-width: 980px) {
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout {
		grid-template-columns: 1fr !important;
		gap: 0.85rem !important;
	}

	.ds-checkout-page #order_review_heading,
	.ds-checkout-page #order_review {
		grid-column: 1 !important;
	}
}

/* ==========================================================================
 * COMPACT PRODUCT CARD SYSTEM
 * Unified sizing for all product card contexts (shop, front-page, related,
 * cart recommendations). Compact layout inspired by e-commerce best practice:
 * edge-to-edge square images, tight content area, 2-line title, hidden
 * description. This block intentionally sits last and uses !important
 * to override the scattered legacy rules above.
 * ========================================================================== */

/* -- Home page: hero flush with header --------------------------------------
   Removes the global #main-content padding-top on the front page so the hero
   background fills flush behind the frosted header. The .hero element takes
   over the header-clearance offset so text content stays below the header.
   All other pages are completely unaffected (body.home selector only).
   --------------------------------------------------------------------------- */
body.home #main-content {
	padding-top: 0 !important;
	padding-bottom: 0;
}

body.home #main-content > *:first-child {
	margin-top: 0;
}

/* Hero takes over the header-clearance offset */
body.home .hero {
	padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 60px)) !important;
	margin-top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
	body.home .hero {
		transition: none !important;
	}
}

/* Home hero: consistent content bounds */
body.home .hero > .container {
	width: min(1600px, calc(100% - 2rem)) !important;
	max-width: min(1600px, calc(100% - 2rem)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

@media (max-width: 980px) {
	body.home .hero > .container {
		width: min(1600px, calc(100% - 1.5rem)) !important;
		max-width: min(1600px, calc(100% - 1.5rem)) !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}
}

/* Mobile header gap hotfix: use live banner/admin-bar height vars, no hard-coded 46px offset */


/* Footer layout → Tailwind utilities in template-parts/footer/site-footer.php */

/* Checkout left-column flow lock: prevent age card overlap with billing details. */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review_heading {
	align-self: start !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1 {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1 .ds-age-verification {
	order: 1 !important;
	position: relative !important;
	z-index: 1 !important;
	margin: 0 0 30px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1 .woocommerce-billing-fields {
	order: 2 !important;
	position: relative !important;
	z-index: 0 !important;
	clear: both !important;
	margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1 .woocommerce-billing-fields h3 {
	margin-top: 0 !important;
}

@media (max-width: 1280px) {
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1 .ds-age-verification {
		margin: 0 0 30px !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1 .ds-age-verification p,
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1 .ds-age-verification label {
		white-space: normal !important;
		overflow-wrap: anywhere !important;
	}
}

/* Mobile header-banner final lock: keep promo banner visible and smooth. */
@media (max-width: 1280px) {
	#site-header.navbar,
	.navbar {
		transition: top 220ms ease, background-color 220ms ease, box-shadow 220ms ease !important;
	}

	body.header-scrolled #site-header.navbar,
	body.header-scrolled .navbar {
		top: var(--ds-admin-bar-height, 0px) !important;
	}
}

/* Hero content lock: proportional CTAs + 2-line max heading/subheading. */
body .hero .ds-hero-title,
body .ds-hero-title {
	display: block !important;
	overflow: visible !important;
	text-wrap: balance;
}
/* body.home .ds-hero-subtitle 2-line clamp removed here — superseded by the
   explicit unclamp rules later in the file (search "Home Hero: Subtitle Visibility"). */

/* Search autocomplete dropdown */
.ds-search-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1200;
	margin-top: 6px;
	padding: 6px;
	border-radius: 10px;
	background: var(--ds-surface);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
	border: 1px solid #e6e8eb;
	display: grid;
	gap: 6px;
	max-height: 320px;
	overflow-y: auto;
}

.ds-search-suggestions.hidden {
	display: none;
}

.ds-search-suggestion {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	color: #1f2a32;
	text-decoration: none;
	transition: background-color 160ms ease, transform 160ms ease;
}

.ds-search-suggestion img {
	width: 42px;
	height: 42px;
	object-fit: cover;
	border-radius: 6px;
	background: #f5f5f5;
}

.ds-search-suggestion:hover,
.ds-search-suggestion:focus-visible,
.ds-search-suggestion.is-keyboard-active {
	background: #f2f7f2;
	transform: translateY(-1px);
}

.ds-search-suggestion.is-keyboard-active {
	outline: 2px solid var(--ds-primary);
	outline-offset: -2px;
}

.ds-search-highlight {
	background: transparent;
	color: inherit;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--ds-accent);
	text-underline-offset: 2px;
	text-decoration-thickness: 1.5px;
}

.ds-search-suggestion--all {
	font-weight: 700;
	justify-content: center;
	grid-template-columns: 1fr;
	text-align: center;
}

/* Search results header */
.ds-search-results-head {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: baseline;
	margin-bottom: 12px;
}

.ds-search-query {
	font-weight: 700;
	color: #1f2a32;
}

.ds-search-count {
	color: var(--ds-primary);
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	body.home .hero .ds-hero-badge,
	body.home .hero .ds-hero-title,
	body.home .hero .ds-hero-subtitle,
	body.home .hero .ds-hero-cta,
	body.home .ds-hero-badge,
	body.home .ds-hero-title,
	body.home .ds-hero-subtitle,
	body.home .ds-hero-cta,
	body.home .hero .ds-hero-btn,
	body.home .ds-hero-btn {
		animation: none !important;
		transition: none !important;
	}
}

/* HERO CTA IMPROVEMENTS (desktop + mobile final lock). */
body.home .hero .ds-hero-title,
body.home .ds-hero-title {
	/* max-width: 12.4ch !important; */
	margin: 0.8rem 0 0.68rem !important;
	line-height: 0.96 !important;
	letter-spacing: -0.028em !important;
	text-wrap: balance;
}

/* body.home .ds-hero-subtitle 2-line clamp removed here — superseded by the
   explicit unclamp rules later in the file (search "Home Hero: Subtitle Visibility"). */

body.home .hero .ds-hero-cta,
body.home .ds-hero-cta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	max-width: 100%;
}

body.home .hero .ds-hero-btn,
body.home .ds-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 56px;
	padding: 0.78rem 1.75rem;
	border-radius: 999px;
	font-size: 1.03rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	border: 1px solid transparent;
	color: var(--ds-text);
	transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease, opacity 200ms ease;
	box-shadow: none;
	width: auto;
	min-width: 160px;
	flex: 0 0 auto;
}

body.home .hero .ds-hero-btn svg,
body.home .ds-hero-btn svg {
	flex-shrink: 0;
}

body.home .hero .ds-hero-btn-primary,
body.home .hero .ds-hero-btn-primary:visited,
body.home .ds-hero-btn-primary,
body.home .ds-hero-btn-primary:visited {
	background: linear-gradient(135deg, var(--ds-primary), var(--ds-primary-dark));
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(74, 125, 78, 0.45);
}

body.home .hero .ds-hero-btn-primary svg,
body.home .ds-hero-btn-primary svg {
	stroke-width: 2.5 !important;
}

body.home .hero .ds-hero-btn-primary:hover,
body.home .hero .ds-hero-btn-primary:focus-visible,
body.home .ds-hero-btn-primary:hover,
body.home .ds-hero-btn-primary:focus-visible {
	transform: translateY(-2px);
	background: linear-gradient(135deg, var(--ds-primary), var(--ds-primary-dark));
	box-shadow: 0 10px 26px rgba(74, 125, 78, 0.55);
	color: #ffffff;
}

body.home .hero .ds-hero-btn-primary:hover svg,
body.home .hero .ds-hero-btn-primary:focus-visible svg,
body.home .ds-hero-btn-primary:hover svg,
body.home .ds-hero-btn-primary:focus-visible svg {
	stroke: #ffffff !important;
}

body.home .hero .ds-hero-btn-secondary,
body.home .hero .ds-hero-btn-secondary:visited,
body.home .ds-hero-btn-secondary,
body.home .ds-hero-btn-secondary:visited {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(240, 247, 241, 0.62);
	color: #ffffff;
	backdrop-filter: blur(2px);
	opacity: 1;
}

body.home .hero .ds-hero-btn-secondary:hover,
body.home .hero .ds-hero-btn-secondary:focus-visible,
body.home .ds-hero-btn-secondary:hover,
body.home .ds-hero-btn-secondary:focus-visible {
	opacity: 1;
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(240, 247, 241, 0.86);
}

body.home .hero .ds-hero-btn:focus-visible,
body.home .ds-hero-btn:focus-visible {
	outline: 2px solid rgba(74, 125, 78, 0.32);
	outline-offset: 2px;
}

/* Banner + header consolidated rules are defined in main header section (lines 273-330) */
#site-header.navbar,
.navbar {
	position: fixed !important;
	top: calc(var(--ds-admin-bar-height, 0px) + var(--ds-banner-height, 44px));
	left: 0;
	right: 0;
	z-index: 1200;
	transition: top 220ms ease, background-color 220ms ease, box-shadow 220ms ease !important;
}
/* FEATURED PRODUCTS CARD IMPROVEMENTS (desktop + mobile final lock). */

@media (max-width: 768px) {
	body.home .hero .ds-hero-cta,
	body.home .ds-hero-cta {
		flex-direction: row; /* keep row on tablet */
		gap: 10px;
	}

	body.home .hero .ds-hero-btn,
	body.home .ds-hero-btn {
		min-height: 48px;
		font-size: 1rem;
	}

	body.home .hero .ds-hero-btn-primary,
	body.home .ds-hero-btn-primary {
		padding: 1rem 1.35rem;
	}

	body.home .hero .ds-hero-btn-secondary,
	body.home .ds-hero-btn-secondary {
		padding: 0.9rem 1.2rem;
		font-size: 0.95rem;
	}
}

@media (max-width: 440px) {
	body.home .hero .ds-hero-cta,
	body.home .ds-hero-cta {
		flex-direction: column;
		gap: 12px;
	}

	body.home .hero .ds-hero-btn,
	body.home .ds-hero-btn {
		width: 100%;
	}
}

/* ===== Header + Footer UX Refresh (2026-02) ===== */

@media (max-width: 980px) {
  #site-header .mobile-search-btn {
    display: inline-flex !important;
  }

  #site-header .nav-action-mobile-hide {
    display: none !important;
  }

  #site-header .nav-actions {
    gap: 0.42rem;
  }

}

body.header-scrolled #site-header.navbar,
body.header-scrolled .navbar {
  top: var(--ds-admin-bar-height, 0px) !important;
}

/* ?? DO NOT CONSOLIDATE - Authoritative override layer */
/* Final banner/header lock (authoritative override) */
#site-header.navbar,
.navbar {
  top: calc(var(--ds-admin-bar-height, 0px) + var(--ds-banner-height, 0px)) !important;
  z-index: 1200 !important;
}

body.header-scrolled #site-header.navbar,
body.header-scrolled .navbar {
  top: var(--ds-admin-bar-height, 0px) !important;
}

/* Review modal styles are centralized in assets/css/components/review-modal.css. */

/* Support/internal pages: button, form, and layout consistency */
.ds-info-page .card-base {
	border-radius: 16px;
}

.ds-info-page .card-base h2,
.ds-info-page .card-base h3,
.ds-info-page .card-base h4 {
	line-height: 1.2;
}

.ds-info-page .card-base p {
	line-height: 1.6;
}

.ds-info-page a.btn,
.ds-info-page button.btn,
.ds-info-page input[type="submit"],
.ds-info-page input[type="button"],
.ds-info-page .wpforms-submit,
.ds-info-page .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.625rem 1.125rem;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
}

.ds-info-page .btn.btn-primary,
.ds-info-page .wpforms-submit,
.ds-info-page .wpcf7-submit,
.ds-info-page input[type="submit"] {
	background: var(--ds-primary);
	border: 1px solid var(--ds-primary);
	color: var(--ds-surface);
}

.ds-info-page .btn.btn-primary:hover,
.ds-info-page .btn.btn-primary:focus-visible,
.ds-info-page .wpforms-submit:hover,
.ds-info-page .wpforms-submit:focus-visible,
.ds-info-page .wpcf7-submit:hover,
.ds-info-page .wpcf7-submit:focus-visible,
.ds-info-page input[type="submit"]:hover,
.ds-info-page input[type="submit"]:focus-visible {
	background: var(--ds-primary-dark);
	border-color: var(--ds-primary-dark);
	color: var(--ds-surface);
}

.ds-info-page .btn.btn-ghost {
	background: var(--ds-surface);
	border: 1px solid #d2ddd2;
	color: #2f5a33;
}

.ds-info-page .btn.btn-ghost:hover,
.ds-info-page .btn.btn-ghost:focus-visible {
	background: #f3f8f3;
	border-color: #b8cfba;
	color: #2f5a33;
}

.ds-info-page form label,
.ds-info-page .wpforms-field-label,
.ds-info-page .wpcf7-form label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ds-text);
}

.ds-info-page form input[type="text"],
.ds-info-page form input[type="email"],
.ds-info-page form input[type="tel"],
.ds-info-page form input[type="number"],
.ds-info-page form input[type="url"],
.ds-info-page form input[type="search"],
.ds-info-page form input[type="password"],
.ds-info-page form select,
.ds-info-page form textarea,
.ds-info-page .wpforms-field input,
.ds-info-page .wpforms-field select,
.ds-info-page .wpforms-field textarea,
.ds-info-page .wpcf7-form input[type="text"],
.ds-info-page .wpcf7-form input[type="email"],
.ds-info-page .wpcf7-form input[type="tel"],
.ds-info-page .wpcf7-form select,
.ds-info-page .wpcf7-form textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid #d2ddd2;
	border-radius: 10px;
	background: var(--ds-surface);
	color: var(--ds-text);
	padding: 0.625rem 0.75rem;
	font-size: 0.95rem;
	line-height: 1.35;
	box-sizing: border-box;
}

.ds-info-page form textarea,
.ds-info-page .wpforms-field textarea,
.ds-info-page .wpcf7-form textarea {
	min-height: 160px;
}

.ds-info-page form input[type="text"]:focus,
.ds-info-page form input[type="email"]:focus,
.ds-info-page form input[type="tel"]:focus,
.ds-info-page form input[type="number"]:focus,
.ds-info-page form input[type="url"]:focus,
.ds-info-page form input[type="search"]:focus,
.ds-info-page form input[type="password"]:focus,
.ds-info-page form select:focus,
.ds-info-page form textarea:focus,
.ds-info-page .wpforms-field input:focus,
.ds-info-page .wpforms-field select:focus,
.ds-info-page .wpforms-field textarea:focus,
.ds-info-page .wpcf7-form input[type="text"]:focus,
.ds-info-page .wpcf7-form input[type="email"]:focus,
.ds-info-page .wpcf7-form input[type="tel"]:focus,
.ds-info-page .wpcf7-form select:focus,
.ds-info-page .wpcf7-form textarea:focus {
	border-color: var(--ds-primary);
	box-shadow: 0 0 0 2px rgb(74 125 78 / 0.15);
	outline: none;
}

.ds-contact-page .ds-contact-form-shortcode .wpforms-container,
.ds-contact-page .ds-contact-form-shortcode .wpforms-container-full,
.ds-contact-page .ds-contact-form-shortcode .wpcf7 {
	margin: 0;
}

.ds-contact-page .ds-contact-form-shortcode .wpforms-form,
.ds-contact-page .ds-contact-form-shortcode .wpcf7-form {
	display: grid;
	gap: 0.9rem;
}

.ds-contact-page .ds-contact-form-shortcode .wpforms-field,
.ds-contact-page .ds-contact-form-shortcode .wpcf7-form p {
	margin: 0;
	padding: 0;
}

.ds-contact-page .ds-contact-form-shortcode .wpforms-submit-container,
.ds-contact-page .ds-contact-form-shortcode .wpcf7-form .wpcf7-submit {
	margin-top: 0.25rem;
}

@media (max-width: 768px) {
	.ds-info-page a.btn,
	.ds-info-page button.btn,
	.ds-info-page .wpforms-submit,
	.ds-info-page .wpcf7-submit {
		width: 100%;
	}
}

/* About page split-story layout */
.ds-about-page {
	padding-top: clamp(1.5rem, 2.8vw, 2.4rem);
	padding-bottom: clamp(2rem, 3.2vw, 3rem);
}

.ds-about-page .ds-about-page__container {
	display: flex;
	flex-direction: column;
	gap: clamp(1.15rem, 2.4vw, 2rem);
	max-width: var(--ds-content-max-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.ds-about-page .ds-about-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1rem, 2.1vw, 1.7rem);
	padding: clamp(1rem, 2vw, 1.5rem);
	background: #fbfcfb;
}

.ds-about-page .ds-about-story__intro {
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
}

.ds-about-page .ds-about-story__eyebrow {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #2f8b58;
}

.ds-about-page .ds-about-story__title {
	margin: 0;
	font-size: clamp(2rem, 3.65vw, 3.35rem);
	line-height: 1.02;
	letter-spacing: -0.015em;
	color: var(--ds-text);
	/* max-width: 13ch; */
}

.ds-about-page .ds-about-story__copy {
	margin: 0;
	/* max-width: 62ch; */
	font-size: 1rem;
	line-height: 1.7;
	color: #5f6677;
}

.ds-about-page .ds-about-story__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	padding-top: 0.4rem;
}

.ds-about-page .ds-about-story__media {
	display: grid;
	grid-template-rows: minmax(240px, 1fr) auto;
	gap: 0.85rem;
}

.ds-about-page .ds-about-story__image-wrap {
	margin: 0;
	border: 1px solid #dfe5e0;
	border-radius: 16px;
	overflow: hidden;
	background: #eff4f1;
	min-height: 240px;
}

.ds-about-page .ds-about-story__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ds-about-page .ds-about-story__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
}

.ds-about-page .ds-about-story__stat {
	background: #f3f7f4;
	border: 1px solid #d9e2da;
	border-radius: 12px;
	padding: 0.9rem 0.9rem 0.85rem;
	min-height: 102px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ds-about-page .ds-about-story__stat-value {
	margin: 0;
	font-size: clamp(1.55rem, 2vw, 2.1rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #1e2b27;
}

.ds-about-page .ds-about-story__stat-label {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	line-height: 1.38;
	color: #5f6677;
}

@media (max-width: 1280px) {
	.ds-about-page .ds-about-story__title {
		max-width: none;
	}
}

@media (max-width: 900px) {
	.ds-about-page .ds-about-story {
		grid-template-columns: 1fr;
	}

	.ds-about-page .ds-about-story__media {
		grid-template-rows: minmax(220px, auto) auto;
	}
}

@media (max-width: 640px) {
	.ds-about-page .ds-about-story {
		padding: 0.9rem;
	}

	.ds-about-page .ds-about-story__title {
		font-size: clamp(1.72rem, 8.3vw, 2.35rem);
		line-height: 1.05;
	}

	.ds-about-page .ds-about-story__copy {
		font-size: 0.95rem;
		line-height: 1.6;
	}

	.ds-about-page .ds-about-story__stats {
		grid-template-columns: 1fr;
	}
}

/* About page values band (mission + vision cards) */
.ds-about-page .ds-about-values {
	background: #dbe8ff;
	border: 1px solid #ccdaf6;
	border-radius: 18px;
	padding: clamp(1rem, 2vw, 1.4rem);
}

.ds-about-page .ds-about-values__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.7rem, 1.5vw, 1rem);
}

.ds-about-page .ds-about-value-card {
	background: #f7f8fb;
	border: 1px solid #e4e8f0;
	border-radius: 14px;
	padding: clamp(0.85rem, 1.4vw, 1.15rem);
	min-height: 172px;
	display: flex;
	flex-direction: column;
}

.ds-about-page .ds-about-value-card__eyebrow {
	margin: 0;
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #d37a37;
}

.ds-about-page .ds-about-value-card__title {
	margin: 0.4rem 0 0;
	font-size: clamp(1.55rem, 2.1vw, 2rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: #161b2a;
	/* max-width: 18ch; */
}

.ds-about-page .ds-about-value-card__text {
	margin: auto 0 0;
	padding-top: 0.7rem;
	font-size: 0.86rem;
	line-height: 1.55;
	color: #5f6677;
}

.ds-about-page .ds-about-pillars,
.ds-about-page .ds-about-categories {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.7rem, 1.5vw, 1rem);
}

.ds-about-page .ds-about-pillars .card-base,
.ds-about-page .ds-about-categories .card-base {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	min-height: 164px;
	padding: clamp(0.9rem, 1.6vw, 1.2rem);
}

.ds-about-page .ds-about-card-title {
	margin: 0;
	font-size: clamp(1.08rem, 1.3vw, 1.2rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ds-text);
}

.ds-about-page .ds-about-card-kicker {
	margin: 0;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2f5a33;
}

.ds-about-page .ds-about-card-copy {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #5f6677;
}

.ds-about-page .ds-about-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	padding: 0.95rem 1.1rem;
	background: #f3f7f4;
	border-color: #d9e2da;
	color: #2f5a33;
}

.ds-about-page .ds-about-trust > span {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.9rem;
	line-height: 1.25;
}

.ds-about-page .ds-about-trust a {
	color: #2f5a33;
	text-underline-offset: 2px;
}

.ds-about-page .ds-about-trust svg {
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.ds-about-page .ds-about-values__grid {
		grid-template-columns: 1fr;
	}

	.ds-about-page .ds-about-value-card {
		min-height: 0;
	}

	.ds-about-page .ds-about-pillars,
	.ds-about-page .ds-about-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ds-about-page .ds-about-values {
		padding: 0.85rem;
		border-radius: 14px;
	}

	.ds-about-page .ds-about-value-card {
		padding: 0.8rem;
		border-radius: 12px;
	}

	.ds-about-page .ds-about-value-card__title {
		font-size: clamp(1.32rem, 6.2vw, 1.65rem);
	}

	.ds-about-page .ds-about-pillars,
	.ds-about-page .ds-about-categories {
		grid-template-columns: 1fr;
	}

	.ds-about-page .ds-about-pillars .card-base,
	.ds-about-page .ds-about-categories .card-base {
		min-height: 0;
	}

	.ds-about-page .ds-about-trust {
		align-items: flex-start;
		justify-content: flex-start;
	}
}

/* Contact page split layout (form + map) */
.ds-contact-page .ds-contact-shell {
	padding: 0;
	overflow: hidden;
}

.ds-contact-page .ds-contact-split {
	display: grid;
	grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
	align-items: stretch;
}

.ds-contact-page .ds-contact-split__left {
	padding: clamp(1.35rem, 2vw, 2rem);
	background: #f6f8f6;
}

.ds-contact-page .ds-contact-split__right {
	border-left: 1px solid var(--ds-border);
	background: #f1f3f4;
}

.ds-contact-page .ds-contact-title {
	margin: 0.75rem 0 0.35rem;
	font-size: clamp(2rem, 3vw, 2.75rem);
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -0.015em;
	color: var(--ds-text);
}

.ds-contact-page .ds-contact-subtitle {
	margin: 0;
	font-size: 1rem;
	color: #5f6677;
}

.ds-contact-page .ds-contact-meta {
	margin-top: 1rem;
	display: grid;
	gap: 0.22rem;
	font-size: 0.92rem;
	color: #46506a;
}

.ds-contact-page .ds-contact-meta p {
	margin: 0;
}

.ds-contact-page .ds-contact-meta a {
	color: #2f5a33;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ds-contact-page .ds-contact-form-panel {
	margin-top: 1rem;
	/* padding: 0.95rem;
	border-radius: 14px;
	border: 1px solid #dbe5d9;
	background: var(--ds-surface); */
}

.ds-contact-page .ds-contact-form-panel .btn.btn-primary {
	width: 100%;
	min-height: 46px;
}

.ds-contact-page .ds-contact-form-shortcode .wpforms-submit,
.ds-contact-page .ds-contact-form-shortcode .wpcf7-submit {
	width: 100%;
}

.ds-contact-page .ds-contact-map {
	position: relative;
	min-height: 620px;
	height: 100%;
}

.ds-contact-page .ds-contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 620px;
	filter: grayscale(0.12);
}

.ds-contact-page .ds-contact-map-link {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.44rem 0.72rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #d8dfd5;
	font-size: 0.82rem;
	font-weight: 600;
	color: #2f5a33;
	text-decoration: none;
}

.ds-contact-page .ds-contact-map-link:hover,
.ds-contact-page .ds-contact-map-link:focus-visible {
	background: var(--ds-surface);
	border-color: #b8cfba;
	color: #2f5a33;
}

/* Contact page second block */
.ds-contact-page .ds-contact-locations {
	display: grid;
	grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
	gap: clamp(1rem, 2vw, 1.75rem);
	padding: clamp(1.05rem, 1.8vw, 1.55rem);
}

.ds-contact-page .ds-contact-locations__intro {
	align-self: start;
	padding-right: 0.5rem;
}

.ds-contact-page .ds-contact-locations__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.76rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ds-primary);
	font-weight: 700;
}

.ds-contact-page .ds-contact-locations__intro h2 {
	margin: 0;
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	color: var(--ds-text);
}

.ds-contact-page .ds-contact-locations__intro p {
	margin: 0.55rem 0 0;
	color: #5f6677;
	/* max-width: 34ch; */
}

.ds-contact-page .ds-contact-locations__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.ds-contact-page .ds-contact-location-card {
	padding: 0.82rem 0.9rem;
	border: 1px solid var(--ds-border);
	border-radius: 12px;
	background: var(--ds-surface);
}

.ds-contact-page .ds-contact-location-card h3 {
	margin: 0;
	font-size: 1rem;
	color: var(--ds-text);
}

.ds-contact-page .ds-contact-location-card p {
	margin: 0.3rem 0 0;
	font-size: 0.88rem;
	color: #5f6677;
}

.ds-contact-page .ds-contact-location-card .ds-contact-location-meta {
	margin-top: 0.45rem;
	font-size: 0.82rem;
	color: #3f4a63;
}

.ds-contact-page .ds-contact-location-card .ds-contact-location-link {
	margin-top: 0.5rem;
}

.ds-contact-page .ds-contact-location-card .ds-contact-location-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0;
	font-size: 0.84rem;
	font-weight: 600;
	color: #2f5a33;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ds-contact-page .ds-contact-location-card .ds-contact-location-link a:hover,
.ds-contact-page .ds-contact-location-card .ds-contact-location-link a:focus-visible {
	color: #244b29;
}

@media (max-width: 1280px) {
	.ds-contact-page .ds-contact-map,
	.ds-contact-page .ds-contact-map iframe {
		min-height: 560px;
	}
}

@media (max-width: 1024px) {
	.ds-contact-page .ds-contact-split {
		grid-template-columns: 1fr;
	}

	.ds-contact-page .ds-contact-split__right {
		border-left: 0;
		border-top: 1px solid var(--ds-border);
	}

	.ds-contact-page .ds-contact-map,
	.ds-contact-page .ds-contact-map iframe {
		min-height: 420px;
	}

	.ds-contact-page .ds-contact-locations {
		grid-template-columns: 1fr;
	}

	.ds-contact-page .ds-contact-locations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ds-contact-page .ds-contact-split__left {
		padding: 1rem;
	}

	.ds-contact-page .ds-contact-form-panel {
		padding: 0.8rem;
	}

	.ds-contact-page .ds-contact-map,
	.ds-contact-page .ds-contact-map iframe {
		min-height: 320px;
	}

	.ds-contact-page .ds-contact-locations__grid {
		grid-template-columns: 1fr;
	}
}

#site-header .mobile-menu-btn {
	width: var(--mobile-action-size, 2.75rem);
	height: var(--mobile-action-size, 2.75rem);
	min-width: var(--mobile-action-size, 2.75rem);
	background: transparent !important;
	color: var(--ds-text) !important;
}

#site-header .mobile-menu-btn .menu-icon-lines span {
	background: currentColor;
}

.ds-search-suggestion__badge {
	width: 42px;
	height: 42px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eef4ef;
	color: #2f5a33;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.ds-search-suggestion__text {
	display: grid;
	gap: 2px;
}

.ds-search-suggestion__text strong {
	font-size: 0.86rem;
	line-height: 1.25;
}

.ds-search-suggestion__meta {
	color: #6e7784;
	font-size: 0.75rem;
	line-height: 1.25;
}

.ds-search-suggestion--category .ds-search-suggestion__badge,
.ds-search-suggestion--brand .ds-search-suggestion__badge {
	background: #f4f7fb;
	color: #44536b;
}

.ds-search-suggestion--empty {
	grid-template-columns: 1fr;
	color: #5f6677;
	font-size: 0.83rem;
}

.ds-shop-page {
	display: flex;
	flex-direction: column;
}

.ds-shop-page > #ds-active-filters-wrap {
	order: 1;
}

.ds-shop-page > .ds-shop-layout {
	order: 2;
}

.ds-shop-page > .ds-discovery {
	order: 3;
	margin-top: 1rem;
}

.ds-category-hero {
	margin: 0.2rem 0 1rem;
	padding: clamp(0.9rem, 2vw, 1.5rem);
	border: 1px solid #d7e4d8;
	border-radius: 14px;
	background:
		radial-gradient(120% 120% at 100% 0%, rgb(74 125 78 / 0.14) 0%, transparent 58%),
		var(--ds-surface);
}

.ds-category-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #2f5a33;
	text-decoration: none;
}

.ds-category-hero__back:hover,
.ds-category-hero__back:focus-visible {
	text-decoration: underline;
}

.ds-category-hero__eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ds-primary);
}

.ds-category-hero__title {
	margin: 0.32rem 0 0.4rem;
	font-size: clamp(1.45rem, 2.4vw, 2.25rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: #1f2a32;
}

.ds-category-hero__description {
	margin: 0;
	/* max-width: 66ch; */
	color: #5f6677;
	line-height: 1.55;
}

.ds-category-hero__count {
	margin: 0.55rem 0 0;
	font-size: 0.86rem;
	font-weight: 700;
	color: #2f5a33;
}

.ds-brand-strip-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.ds-brand-strip-link {
	font-size: 0.8rem;
	font-weight: 700;
	color: #2f5a33;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ds-filter-price-display {
	margin: 0.45rem 0 0.65rem;
	color: #2f5a33;
	font-size: 0.82rem;
	font-weight: 700;
}

.ds-price-slider-wrap {
	display: grid;
	gap: 0.45rem;
}

.ds-price-slider-wrap label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6a727f;
}

.ds-price-slider-wrap input[type="range"] {
	width: 100%;
	accent-color: var(--ds-primary);
}

.ds-shop-empty-state {
	border: 1px solid #d8e2d8;
	border-radius: 14px;
	background: var(--ds-surface);
	padding: 1.1rem;
	text-align: center;
}

.ds-shop-empty-state h2 {
	margin: 0;
	color: #1f2a32;
	font-size: 1.2rem;
}

.ds-shop-empty-state p {
	margin: 0.5rem auto 0;
	/* max-width: 52ch; */
	color: #5f6677;
}

.ds-shop-empty-state__actions {
	margin-top: 0.9rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	justify-content: center;
}

.ds-shop-empty-state__actions .button {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 42px !important;
	padding: 0.55rem 1rem !important;
	border-radius: 9px !important;
	border: 1px solid #d5ddd0 !important;
	background: #f3f5f2 !important;
	color: #2b3542 !important;
	font-size: 0.97rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ds-shop-empty-state__actions .button:hover,
.ds-shop-empty-state__actions .button:focus-visible {
	background: #e9ede6 !important;
	border-color: #c7d3c3 !important;
	color: #1f2a32 !important;
	transform: translateY(-1px);
}

.ds-shop-empty-state__actions .button.alt {
	border-color: var(--ds-primary-dark) !important;
	background: var(--ds-primary) !important;
	color: var(--ds-surface) !important;
}

.ds-shop-empty-state__actions .button.alt:hover,
.ds-shop-empty-state__actions .button.alt:focus-visible {
	border-color: #2f5a33 !important;
	background: var(--ds-primary-dark) !important;
	color: var(--ds-surface) !important;
}

@media (max-width: 980px) {
	body.ds-shop-filters-open {
		overflow: hidden;
	}

	.ds-shop-sidebar {
		position: fixed !important;
		inset: 0 !important;
		z-index: 1350;
		padding: 0.75rem;
		background: rgba(20, 24, 22, 0.45);
		display: none !important;
	}

	.ds-shop-sidebar.is-open {
		display: flex !important;
		align-items: flex-start;
		justify-content: flex-end;
	}

	.ds-shop-sidebar .ds-filter-card {
		width: min(94vw, 420px);
		max-height: calc(100vh - 1.5rem);
		overflow-y: auto;
	}

	.ds-mobile-filter-toggle {
		position: sticky;
		top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 56px) + 8px);
		z-index: var(--ds-z-header-mobile, 1150);
	}
}

@media (max-width: 640px) {
	.ds-brand-strip-head {
		flex-wrap: wrap;
	}

	.ds-shop-empty-state {
		padding: 0.9rem;
	}
}

.ds-pagination-context {
	margin: 0.7rem 0 0;
	color: #5f6677;
	font-size: 0.86rem;
	font-weight: 600;
	text-align: center;
}

.ds-filter-actions-mobile {
	display: none;
}

.ds-shop-empty-state__hint {
	margin-top: 0.45rem;
	color: #4d5b6f;
	font-size: 0.88rem;
}

.ds-shop-empty-state__hint a {
	color: var(--ds-primary-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ds-checkout-page .ds-checkout-progress-list li.is-complete {
	color: var(--ds-primary-dark);
	opacity: 0.92;
}

.ds-checkout-page .ds-checkout-progress-list li.is-complete .ds-step-index {
	background: var(--ds-primary-dark);
	color: var(--ds-surface);
	box-shadow: inset 0 0 0 1px var(--ds-primary-dark);
}

@media (max-width: 980px) {
	.ds-filter-actions-mobile {
		position: sticky;
		bottom: 0;
		z-index: 4;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.6rem;
		padding: 0.7rem 0 0;
		margin-top: 0.7rem;
		border-top: 1px solid #dbe3db;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, var(--ds-surface) 36%);
	}

	.ds-filter-actions-mobile__clear,
	.ds-filter-actions-mobile__apply {
		min-height: 44px;
		border-radius: 10px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 0.9rem;
		font-weight: 700;
		text-decoration: none;
		border: 1px solid #bfd1bf;
	}

	.ds-filter-actions-mobile__clear {
		color: #2f5a33;
		background: var(--ds-surface);
	}

	.ds-filter-actions-mobile__apply {
		color: var(--ds-surface);
		background: #2f5a33;
		border-color: #2f5a33;
	}

}

/* Breakpoint stability guardrails (final cascade layer) */
@media (min-width: 981px) {
	#site-header .nav-links-center {
		display: flex !important; /* was: grid — corrected to match canonical desktop flex layout */
	}

	#site-header .nav-action-mobile-hide {
		display: inline-flex !important;
	}

	#site-header .mobile-search-btn,
	#site-header .mobile-menu-btn,
	#mobile-nav {
		display: none !important;
	}

	.ds-shop-page .ds-shop-layout {
		display: grid !important;
		grid-template-columns: minmax(248px, 280px) minmax(0, 1fr) !important;
		align-items: start;
		gap: 1rem;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
		grid-template-columns: minmax(0, 1.52fr) minmax(320px, 0.9fr) !important;
		align-items: start;
	}

}

@media (max-width: 980px) {
	:root {
		--ds-header-height: 56px;
	}

	#site-header .nav-links-center,
	#site-header .nav-action-mobile-hide {
		display: none !important;
	}

	#site-header .mobile-search-btn,
	#site-header .mobile-menu-btn {
		display: inline-flex !important;
	}

	.ds-shop-page .ds-shop-layout {
		grid-template-columns: 1fr !important;
		gap: 0.75rem;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 640px) {
	#site-header .nav-actions {
		gap: 0.35rem !important;
	}
}

/* Header spacing tune (compact, consistent vertical rhythm) */
@media (min-width: 981px) {
	:root {
		--ds-header-height: 60px;
	}

	#site-header .container {
		height: 100%;
	}
}

@media (max-width: 980px) {
	:root {
		--ds-header-height: 56px;
	}
}

/* Mega menu visibility fix (desktop) */
@media (min-width: 981px) {
	#site-header.navbar,
	.navbar,
	body.header-scrolled #site-header.navbar,
	body.header-scrolled .navbar {
		overflow: visible !important;
	}

	#site-header .nav-content,
	#site-header .nav-item-mega {
		overflow: visible !important;
	}

	#site-header .nav-item-mega > .mega-menu,
	#site-header .nav-item-mega .mega-menu {
		z-index: 1600 !important;
	}
}

/* Banner hides on scroll — handled by header.css transition rules */

#site-header.navbar,
.navbar {
	position: fixed !important;
	left: 0;
	right: 0;
	width: 100% !important;
	z-index: 1290 !important;
	transform: translateZ(0);
}

body.header-scrolled #site-header.navbar,
body.header-scrolled .navbar {
	top: var(--ds-admin-bar-height, 0px) !important;
}

/* Header cart badge vertical safety: keep count badge within navbar row */
#site-header .nav-actions .cart-btn .cart-badge {
	top: -2px !important;
	right: -4px !important;
}

/* Cart summary visibility lock: prevent duplicate desktop/mobile order summaries */
.ds-cart-page .ds-cart-summary-toggle-wrap {
	display: none !important;
}

.ds-cart-page #cart-summary-offcanvas {
	display: none !important;
}

@media (max-width: 980px) {
	.ds-cart-page .ds-cart-summary {
		display: none !important;
	}

	.ds-cart-page .ds-cart-summary-toggle-wrap {
		display: block !important;
	}

	.ds-cart-page #cart-summary-offcanvas {
		display: block !important;
		position: fixed !important;
		inset: 0 !important;
		z-index: 9999 !important;
		background: rgb(34 34 59 / 0.45) !important;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		transition: opacity 200ms ease, visibility 200ms ease !important;
	}

	.ds-cart-page #cart-summary-offcanvas .ds-cart-offcanvas__panel {
		position: absolute !important;
		top: 0 !important;
		right: 0 !important;
		height: 100% !important;
		width: min(92vw, 420px) !important;
		background: var(--ds-surface) !important;
		padding: 1rem !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		transform: translateX(100%) !important;
		transition: transform 220ms ease !important;
		box-shadow: -12px 0 30px rgb(34 34 59 / 0.2) !important;
	}

	.ds-cart-page #cart-summary-offcanvas .ds-cart-offcanvas__header {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0.75rem !important;
		margin-bottom: 0.85rem !important;
		padding-bottom: 0.75rem !important;
		border-bottom: 1px solid var(--ds-border) !important;
	}

	.ds-cart-page #cart-summary-offcanvas .ds-cart-totals > h2 {
		display: none !important;
	}

	.ds-cart-page #cart-summary-offcanvas.is-open {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}

	.ds-cart-page #cart-summary-offcanvas.is-open .ds-cart-offcanvas__panel {
		transform: translateX(0) !important;
	}
}

@media (min-width: 981px) {
	.ds-cart-page .ds-cart-summary {
		display: block !important;
	}

	.ds-cart-page #cart-summary-offcanvas,
	.ds-cart-page .ds-cart-summary-toggle-wrap {
		display: none !important;
	}
}

/* Checkout consistency lock (single final source across breakpoints) */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
	width: min(var(--ds-content-max-width), calc(100% - 1.25rem)) !important;
	max-width: min(var(--ds-content-max-width), calc(100% - 1.25rem)) !important;
	margin-inline: auto !important;
	padding: 1rem clamp(0.75rem, 2vw, 1.5rem) 2.25rem !important;
	box-sizing: border-box !important;
	display: block !important;
	grid-template-columns: none !important;
	gap: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.9fr) !important;
	gap: 1rem 1.1rem !important;
	align-items: start !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-form-login-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-form-coupon-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-NoticeGroup,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout_coupon,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-form-login,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .ds-checkout-heading,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .ds-checkout-progress {
	grid-column: 1 / -1 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details {
	grid-column: 1 !important;
	grid-row: auto !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review_heading {
	grid-column: 2 !important;
	grid-row: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 1.4rem !important;
	line-height: 1.2 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
	grid-column: 2 !important;
	grid-row: auto !important;
	position: sticky !important;
	top: calc(var(--ds-header-height, 56px) + 0.75rem) !important;
	border: 1px solid var(--ds-border) !important;
	border-radius: 14px !important;
	background: #fff !important;
	padding: 1.1rem !important;
	box-shadow: 0 4px 18px rgb(34 34 59 / 0.06) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review .woocommerce-checkout-review-order-table {
	margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table th {
	text-align: left !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table td {
	text-align: right !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table td.product-name,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table .shipping td {
	text-align: left !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table .shipping td #shipping_method {
	justify-content: flex-start !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #payment {
	margin-top: 0.75rem !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #payment #place_order,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #payment .button.alt {
	min-height: 3rem !important;
}

@media (max-width: 1280px) {
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout {
		grid-template-columns: 1fr !important;
		gap: 0.9rem !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details,
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review_heading,
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
		grid-column: 1 !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
		position: static !important;
		top: auto !important;
	}
}

@media (max-width: 640px) {
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
		width: calc(100% - 0.75rem) !important;
		max-width: calc(100% - 0.75rem) !important;
		padding: 0.75rem 0.25rem 1.5rem !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
		padding: 0.85rem !important;
		border-radius: 12px !important;
	}
}

/* Cart mobile consistency lock */
@media (max-width: 980px) {
	body.woocommerce-cart .woocommerce,
	.ds-cart-page .woocommerce {
		width: calc(100% - 0.75rem) !important;
		max-width: calc(100% - 0.75rem) !important;
		margin-inline: auto !important;
		padding: 0.75rem 0.25rem 1.5rem !important;
	}

	.ds-cart-page .ds-cart-layout {
		grid-template-columns: 1fr !important;
		gap: 0.9rem !important;
	}

	.ds-cart-page .ds-cart-milestones {
		grid-template-columns: 1fr !important;
		gap: 0.55rem !important;
		margin-bottom: 0.7rem !important;
	}

	.ds-cart-page .ds-cart-steps {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ds-cart-page .ds-cart-steps::-webkit-scrollbar {
		display: none;
	}

	.ds-cart-page .ds-cart-steps span {
		flex: 0 0 auto;
	}

	.ds-cart-page .ds-cart-summary {
		display: none !important;
	}

	.ds-cart-page .ds-cart-summary-toggle-wrap {
		display: block !important;
		clear: both !important;
		position: relative;
		z-index: 2;
		margin: 0.05rem 0 0.85rem !important;
	}

	.ds-cart-page .ds-cart-summary-toggle {
		width: 100%;
		display: flex;
		align-items: center;
		gap: 0.55rem;
		padding: 0.72rem 0.85rem;
		border-radius: 10px;
		border: 1px solid #dbe3d8;
		background: var(--ds-surface);
		color: var(--ds-text);
		font-weight: 700;
	}

	.ds-cart-page .ds-cart-summary-toggle__label {
		font-size: 0.92rem;
		color: var(--ds-text);
	}

	.ds-cart-page .ds-cart-summary-toggle__total {
		margin-left: auto;
		font-size: 0.96rem;
		font-weight: 800;
		color: var(--ds-primary-dark);
	}

	.ds-cart-page .ds-cart-summary-toggle__cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0.2rem 0.5rem;
		border-radius: 999px;
		background: #edf4ee;
		color: var(--ds-primary-dark);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.03em;
		text-transform: uppercase;
	}

	.ds-cart-page .ds-cart-actions-row {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.ds-cart-page .ds-cart-actions-row .coupon {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 0.5rem !important;
		width: 100% !important;
	}

	.ds-cart-page .ds-cart-actions-row .input-text,
	.ds-cart-page .ds-cart-actions-row .button {
		width: 100% !important;
		min-width: 0 !important;
		min-height: 44px !important;
	}

	.ds-cart-page .woocommerce-notices-wrapper .woocommerce-message,
	.ds-cart-page .woocommerce-notices-wrapper .woocommerce-error,
	.ds-cart-page .woocommerce-notices-wrapper .woocommerce-info {
		margin: 0 0 0.55rem !important;
		padding: 0.72rem 0.82rem !important;
		font-size: 0.88rem !important;
		line-height: 1.45 !important;
		overflow-wrap: anywhere !important;
	}
}

@media (min-width: 981px) {
	.ds-cart-page .ds-cart-layout {
		grid-template-columns: minmax(0, 1.62fr) minmax(320px, 1fr) !important;
		gap: 1.25rem !important;
		align-items: start !important;
	}

	.ds-cart-page .ds-cart-summary {
		display: block !important;
		position: sticky !important;
		top: calc(var(--ds-header-height, 56px) + 0.75rem) !important;
	}

	.ds-cart-page .ds-cart-summary-toggle-wrap,
	.ds-cart-page #cart-summary-offcanvas {
		display: none !important;
	}
}

@media (min-width: 641px) and (max-width: 980px) {
	.ds-cart-page .ds-cart-item {
		grid-template-columns: 76px minmax(0, 1fr) auto !important;
	}

	.ds-cart-page .ds-cart-item__media img {
		width: 76px !important;
		height: 76px !important;
	}
}

@media (max-width: 640px) {
	.ds-cart-page .ds-cart-item {
		grid-template-columns: 68px minmax(0, 1fr) !important;
		gap: 0.6rem !important;
		padding: 0.72rem !important;
	}

	.ds-cart-page .ds-cart-item__media img {
		width: 68px !important;
		height: 68px !important;
	}

	.ds-cart-page .ds-cart-item__pricing {
		grid-column: 1 / -1 !important;
		display: flex !important;
		align-items: baseline !important;
		gap: 0.5rem !important;
		text-align: left !important;
		min-width: 0 !important;
	}

	.ds-cart-page .ds-cart-summary-toggle,
	.ds-cart-page .ds-cart-totals .checkout-button,
	.ds-cart-page .ds-cart-continue {
		min-height: 44px !important;
	}

	.ds-cart-page .ds-cart-continue {
		line-height: 44px !important;
	}
}

/* Cart mobile overlap hardening: keep milestones stacked and summary toggle stable */
@media (max-width: 1280px) {
	body.woocommerce-cart .ds-cart-milestones,
	.ds-cart-page .ds-cart-milestones {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 0.55rem !important;
	}

	body.woocommerce-cart .ds-cart-steps,
	.ds-cart-page .ds-cart-steps {
		width: 100% !important;
		overflow-x: auto !important;
		flex-wrap: nowrap !important;
	}

	body.woocommerce-cart .ds-cart-steps span,
	.ds-cart-page .ds-cart-steps span {
		flex: 0 0 auto !important;
	}

	body.woocommerce-cart .ds-cart-shipping-progress,
	.ds-cart-page .ds-cart-shipping-progress {
		width: 100% !important;
	}

	body.woocommerce-cart .ds-cart-shipping-progress__label,
	.ds-cart-page .ds-cart-shipping-progress__label {
		display: block !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
	}

	body.woocommerce-cart .ds-cart-summary-toggle-wrap,
	.ds-cart-page .ds-cart-summary-toggle-wrap {
		clear: both !important;
		position: relative !important;
		z-index: 2 !important;
		margin: 0.2rem 0 0.85rem !important;
	}

	body.woocommerce-cart button[data-cart-summary-toggle],
	.ds-cart-page button[data-cart-summary-toggle] {
		width: 100% !important;
		display: flex !important;
		align-items: center !important;
		gap: 0.55rem !important;
		padding: 0.72rem 0.85rem !important;
		border-radius: 10px !important;
		border: 1px solid #dbe3d8 !important;
		background: #fff !important;
		color: var(--ds-text) !important;
		font-weight: 700 !important;
	}

	body.woocommerce-cart button[data-cart-summary-toggle] .ds-cart-summary-toggle__total,
	.ds-cart-page button[data-cart-summary-toggle] .ds-cart-summary-toggle__total {
		margin-left: auto !important;
		color: var(--ds-primary-dark) !important;
		font-weight: 800 !important;
	}

	body.woocommerce-cart button[data-cart-summary-toggle] .ds-cart-summary-toggle__cta,
	.ds-cart-page button[data-cart-summary-toggle] .ds-cart-summary-toggle__cta {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0.2rem 0.5rem !important;
		border-radius: 999px !important;
		background: #edf4ee !important;
		color: var(--ds-primary-dark) !important;
		font-size: 0.72rem !important;
		font-weight: 700 !important;
		letter-spacing: 0.03em !important;
		text-transform: uppercase !important;
	}
}

/* ==========================================================================
   Cart Page UI/UX Fixes - March 2026
   Fixes for remove link hover, update cart button, image links, coupon layout, and mobile CTA
   ========================================================================== */

/* Issue 1: Remove link hover fix - Override WooCommerce's icon sizing */
/* WC OVERRIDE: WooCommerce applies height: 1em; width: 1em to a.remove, making clickable area tiny.
   On hover, WC applies color: white !important, making text invisible against white background.
   This override ensures the text-based remove link works correctly. */
.ds-cart-page .ds-cart-item .remove {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ds-muted);
	text-decoration: none;
	/* Override WooCommerce's icon sizing — this element uses text, not an × symbol */
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	height: auto !important;
	line-height: normal !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 2px 0;
}

.ds-cart-page .ds-cart-item .remove:hover {
	color: var(--ds-error, #a00) !important;        /* Override WooCommerce's white !important using error token */
	background: transparent !important;
	text-decoration: underline;
}

/* Issue 2: Update cart button brand styling */
/* WC OVERRIDE: Default WooCommerce update cart button lacks brand styling */
.ds-cart-page .woocommerce-cart-form .button[name="update_cart"] {
	color: var(--ds-muted) !important;
	font-size: 0.88rem;
	font-weight: 600;
	border: 1px solid var(--ds-border);
	background: transparent;
	border-radius: 8px;
	opacity: 1;
	transition: color 180ms, border-color 180ms;
}

.ds-cart-page .woocommerce-cart-form .button[name="update_cart"]:not([disabled]):hover {
    color: var(--ds-primary) !important;
    border-color: var(--ds-primary);
}

.ds-cart-page .woocommerce-cart-form .button[name="update_cart"][disabled] {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Issue 3: Product image link clickable area fix */
/* WC OVERRIDE: Image wrapper defaults to display: inline, causing collapsed height */
.ds-cart-page .ds-cart-item__media a {
    display: block !important;
    line-height: 0; /* Removes inline gap below image */
}

/* Issue 4: Coupon + Apply button inline layout (desktop) */
/* WC OVERRIDE: Default grid layout stacks coupon input and button vertically */
.ds-cart-page .coupon.ds-cart-coupon {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center;
}

.ds-cart-page .coupon.ds-cart-coupon input#coupon_code {
    flex: 1 1 auto;
    min-width: 0;
}

.ds-cart-page .coupon.ds-cart-coupon .button[name="apply_coupon"] {
    flex: 0 0 auto;
    width: auto !important;
    white-space: nowrap;
    padding: 0 1.2rem;
}

/* Revert to vertical layout on small mobile */
@media (max-width: 480px) {
    .ds-cart-page .coupon.ds-cart-coupon {
        flex-direction: column !important;
    }
    .ds-cart-page .coupon.ds-cart-coupon .button[name="apply_coupon"] {
        width: 100% !important;
    }
}

/* Issue 5: Mobile summary toggle as primary CTA */
/* Make the "Order Summary / VIEW" toggle prominent on mobile for better checkout visibility */
@media (max-width: 980px) {
    .ds-cart-page .woocommerce-cart-form {
        margin-bottom: 1px; /* spacer - avoid empty ::after pseudo-element */
    }

    /* Make the summary toggle button more prominent on mobile */
    .ds-cart-page .ds-cart-summary-toggle,
    .ds-cart-page button[data-cart-summary-toggle] {
        background: var(--ds-primary) !important;
        color: var(--ds-surface) !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        border-color: var(--ds-primary) !important;
    }

    .ds-cart-page .ds-cart-summary-toggle__label,
    .ds-cart-page .ds-cart-summary-toggle__total,
    .ds-cart-page .ds-cart-summary-toggle__cta,
    .ds-cart-page button[data-cart-summary-toggle] .ds-cart-summary-toggle__label,
    .ds-cart-page button[data-cart-summary-toggle] .ds-cart-summary-toggle__total,
    .ds-cart-page button[data-cart-summary-toggle] .ds-cart-summary-toggle__cta {
        color: var(--ds-surface) !important;
    }
}

/* Checkout: remove legacy "Your order" heading block entirely */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review_heading,
.ds-checkout-page #order_review_heading {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	border: 0 !important;
}

/* Checkout content offset lock: always respect banner + header heights. */
body.woocommerce-checkout:not(.woocommerce-order-received) #main-content {
	padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 56px)) !important;
}

/* Checkout canonical lock: single source for layout and spacing across breakpoints */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
	width: min(1280px, calc(100% - 1rem)) !important;
	max-width: min(1280px, calc(100% - 1rem)) !important;
	margin-inline: auto !important;
	padding: 1rem clamp(0.5rem, 2vw, 1.25rem) 2rem !important;
	box-sizing: border-box !important;
	display: block !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.95fr) !important;
	gap: 1rem 1.1rem !important;
	align-items: start !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-form-login-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-form-coupon-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-NoticeGroup,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout_coupon,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-form-login,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .ds-checkout-heading,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .ds-checkout-progress {
	grid-column: 1 / -1 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details {
	grid-column: 1 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details.col2-set,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .col2-set#customer_details {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 0.95rem !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-1,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details .col-2 {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
	grid-column: 2 !important;
	width: 100% !important;
	position: sticky !important;
	top: calc(var(--ds-admin-bar-height, 0px) + var(--ds-header-height, 56px) + 0.75rem) !important;
	border: 1px solid var(--ds-border) !important;
	border-radius: 14px !important;
	background: var(--ds-surface) !important;
	padding: 1rem !important;
	box-shadow: 0 4px 16px rgb(34 34 59 / 0.07) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #payment {
	margin-top: 0.7rem !important;
	padding: 0.9rem !important;
	border: 1px solid #dbe7d7 !important;
	border-radius: 12px !important;
	background: #f7fbf5 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #payment #place_order,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #payment .button.alt {
	width: 100% !important;
	min-height: 48px !important;
	border-radius: 10px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table {
	margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-checkout-review-order-table td {
	padding: 0.8rem 0.85rem !important;
	font-size: 0.92rem !important;
}

@media (max-width: 1280px) {
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
		width: calc(100% - 0.75rem) !important;
		max-width: calc(100% - 0.75rem) !important;
		padding: 0.85rem 0.25rem 1.5rem !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout {
		grid-template-columns: 1fr !important;
		gap: 0.85rem !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #customer_details,
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
		grid-column: 1 !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
		position: static !important;
		top: auto !important;
	}
}

@media (max-width: 640px) {
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
		width: calc(100% - 0.5rem) !important;
		max-width: calc(100% - 0.5rem) !important;
		padding: 0.7rem 0.15rem 1.25rem !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #order_review,
	body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce #payment {
		padding: 0.8rem !important;
		border-radius: 12px !important;
	}
}


/* ==========================================================================
   UI/UX Enhancement � Wave 1�2: New components & polished styles
   ========================================================================== */

/* -- Section kicker / eyebrow --------------------------------------------- */
.ds-section-kicker {
	display: inline-flex;
	align-items: center;
	padding: 0.24rem 0.72rem;
	margin: 0 0 0.55rem;
	border-radius: 999px;
	border: 1px solid rgb(74 125 78 / 0.28);
	background: rgb(74 125 78 / 0.1);
	color: var(--ds-primary-dark, #3d6b40);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

/* On green-background features section the kicker needs inverted treatment */
body.home .features-section .ds-section-kicker,
.features-section .ds-section-kicker {
	border-color: rgba(230, 255, 230, 0.35);
	background: rgba(255, 255, 255, 0.15);
	color: rgba(230, 255, 220, 0.95);
}

/* -- Hero social proof row ------------------------------------------------ */
.ds-hero-social-proof {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.4rem;
	padding: 0.42rem 0.9rem 0.42rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.ds-hero-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	color: var(--ds-gold, #c4a77d);
}

.ds-hero-stars svg {
	width: 14px;
	height: 14px;
}

.ds-hero-rating {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ds-surface);
}

.ds-hero-proof-divider {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
}

.ds-hero-proof-text {
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 480px) {
	.ds-hero-social-proof {
		font-size: 0.8rem;
		padding: 0.35rem 0.7rem 0.35rem 0.6rem;
	}
}

/* -- Feature card hover enhancement -------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.feature-card {
		transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
	}

	.feature-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 14px 30px rgb(34 34 59 / 0.12);
		border-color: rgb(74 125 78 / 0.32);
	}
}

/* -- How-it-works: step number inner span --------------------------------- */
.step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.step-number span {
	display: block;
	line-height: 1;
}

/* -- Trust badges: home-page stacking context and spacing ----------------- */
body.home .ds-trust-badges {
	padding: 0.45rem 0 0.95rem;
	position: relative;
	z-index: 2;
	isolation: isolate;
}

body.home .ds-trust-badges > .container {
	width: min(100%, 44rem);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0.9rem;
	padding-right: 0.9rem;
}

@media (max-width: 640px) {
	body.home .ds-trust-badges {
		margin-top: 0.35rem;
		padding-top: 0.35rem;
		padding-bottom: 0.75rem;
	}

	body.home .ds-trust-badges > .container {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
}

@media (min-width: 641px) {
	body.home .ds-trust-badges > .container {
		width: min(100%, 58rem);
		padding-left: 1.2rem;
		padding-right: 1.2rem;
	}
}

@media (min-width: 981px) {
	body.home .ds-trust-badges > .container {
		padding-left: 1.35rem;
		padding-right: 1.35rem;
	}
}

/* ==========================================================================
   End UI/UX Enhancement � Wave 1�2
   ========================================================================== */

/* ==========================================================================
   UI/UX Enhancement � Wave 3: Shop grid + motion prefs
   ========================================================================== */

.ds-filter-chip:focus-within {
	outline: 2px solid var(--ds-primary, #4a7d4e);
	outline-offset: 2px;
}

/* ==========================================================================
   UI/UX Enhancement � Wave 4: Product page mobile improvements
   ========================================================================== */

@media (max-width: 640px) {
	.ds-product-mobile-cta-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 100;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.75rem 1rem;
		padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
		background: var(--ds-surface);
		border-top: 1px solid var(--ds-border, #e0e0d8);
		box-shadow: 0 -4px 16px rgb(34 34 59 / 0.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ds-product-page .woocommerce div.product form.cart .single_add_to_cart_button,
	body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
		transition: none !important;
	}
}

/* ==========================================================================
   UI/UX Enhancement � Wave 5: Cart & checkout polish
   ========================================================================== */

.ds-cart-page input[type="text"],
.ds-cart-page input[type="email"],
.ds-cart-page input[type="number"],
.ds-cart-page select,
.ds-checkout-page input[type="text"],
.ds-checkout-page input[type="email"],
.ds-checkout-page input[type="tel"],
.ds-checkout-page input[type="password"],
.ds-checkout-page select {
	min-height: 44px;
}

.ds-cart-page .cart_totals,
.ds-checkout-page .woocommerce-checkout-review-order {
	border: 1px solid var(--ds-border, #e0e0d8);
	border-radius: var(--ds-radius-lg, 12px);
	background: var(--ds-surface);
	overflow: hidden;
}

@media (max-width: 480px) {
	.ds-checkout-page .checkout_coupon,
	.ds-cart-page .coupon {
		display: flex;
		flex-direction: column;
		gap: 0.65rem;
	}
	.ds-checkout-page .checkout_coupon input,
	.ds-cart-page .coupon input {
		width: 100% !important;
	}
	.ds-checkout-page .checkout_coupon button,
	.ds-cart-page .coupon button {
		width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ds-cart-page *,
	.ds-checkout-page * {
		transition: none !important;
	}
}

/* ==========================================================================
   UI/UX Enhancement � Wave 6: Account page polish
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
	.ds-account-dashboard-cards .ds-account-card {
		transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
	}
	.ds-account-dashboard-cards .ds-account-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 22px rgb(34 34 59 / 0.1);
		border-color: rgb(74 125 78 / 0.3);
	}
}

.woocommerce-account:not(.logged-in) .woocommerce {
	display: flex;
	justify-content: center;
}

.woocommerce-account:not(.logged-in) .ds-auth-card {
	width: 100%;
	max-width: 460px;
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account select {
	min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
		transition: none !important;
	}
	.ds-account-dashboard-cards .ds-account-card {
		transition: none !important;
	}
}

@media (max-width: 980px) {
	#site-header .mobile-search-btn,
	#site-header .mobile-menu-btn,
	#site-header .cart-btn {
		width: var(--mobile-action-size, 2.75rem) !important;
		height: var(--mobile-action-size, 2.75rem) !important;
		min-width: var(--mobile-action-size, 2.75rem) !important;
		min-height: var(--mobile-action-size, 2.75rem) !important;
	}
}

/* ==========================================================================
   End UI/UX Enhancement � Waves 3�7
   ========================================================================== */

/* ==========================================================================
   Product Card Standards Audit � canonical overrides
   Applied after the existing canonical lock block (~line 12810)
   ========================================================================== */

/* ==========================================================================
   End Product Card Standards Audit
   ========================================================================== */

/* ==========================================================================
   WooCommerce Cart ? Checkout Workflow Fixes
   ========================================================================== */

/* Fix A: Reduce cart page top gap to match checkout page spacing */
/* .ds-cart-page #main-content {
    padding-top: calc(var(--ds-banner-height) + var(--ds-header-height) - 14px) !important;
} */

/* .admin-bar.ds-cart-page #main-content {
    padding-top: calc(var(--ds-banner-height) + var(--ds-header-height) - 6px) !important;
} */

/* .ds-cart-page .woocommerce {
    padding-top: 1rem !important;
} */

/* Fix D: Checkout progress � pill stepper matching cart page ds-cart-steps style */
.ds-checkout-page .ds-checkout-progress {
    margin: 0 0 1.25rem !important;
}

.ds-checkout-page .ds-cart-steps {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.52rem 0.65rem !important;
    border: 1px solid var(--ds-border, #e0e0d8) !important;
    border-radius: 10px !important;
    background: var(--ds-surface) !important;
}

.ds-checkout-page .ds-cart-steps span {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 1.8rem !important;
    padding: 0.24rem 0.65rem !important;
    border-radius: 999px !important;
    background: #f5f6f1 !important;
    color: var(--ds-muted, #7c7c8a) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
}

.ds-checkout-page .ds-cart-steps span.is-active {
    background: #e8f2e8 !important;
    color: var(--ds-primary-dark, #3d6b40) !important;
}

/* ==========================================================================
   End WooCommerce Cart ? Checkout Workflow Fixes
   ========================================================================== */

/* ==========================================================================
   Home Hero: Subtitle Visibility, Layout Centering & Scroll Indicator
   ========================================================================== */

/* 1. Remove 2-line clamp � show full subtitle text */
body.home .hero .ds-hero-subtitle,
body.home .ds-hero-subtitle {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    max-width: 44ch !important;
    font-size: clamp(1rem, 1.75vw, 1.42rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 1.1rem !important;
}

/* 2. Vertically center hero content in the hero section */
body.home .hero {
    display: flex !important;
    flex-direction: column !important;
}

body.home .hero > .container,
body.home .hero > div.container {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* 3. Ease title line-height � 0.96 is very tight for multi-line display */
body.home .hero .ds-hero-title,
body.home .ds-hero-title {
    line-height: 1.02 !important;
}

/* 4. Social proof � tighten gap so it reads as part of the subtitle block */
.ds-hero-social-proof {
    margin-top: 0.85rem !important;
}

/* 5. Scroll indicator: missing position:absolute base + full visual styling */
.hero .hero-scroll,
.hero .ds-hero-scroll {
    position: absolute !important;
    z-index: 3 !important;
    bottom: clamp(1rem, 2.5vw, 1.8rem) !important;
    right: clamp(1.2rem, 3vw, 2.4rem) !important;
    left: auto !important;
    display: flex !important;
    align-items: center !important;
    opacity: 0.85;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.scroll-indicator > span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: rgb(249 249 246 / 0.9);
}

.scroll-line {
    width: 1px;
    height: 2.8rem;
    background: linear-gradient(to bottom, rgb(249 249 246 / 0.88), rgb(249 249 246 / 0));
    animation: ds-scroll-pulse 2.2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes ds-scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.35; transform: scaleY(0.55); }
}

/* Reinforce: hide scroll indicator on mobile */
@media (max-width: 980px) {
    .hero .hero-scroll,
    .hero .ds-hero-scroll {
        display: none !important;
    }
}

/* Reduced motion: no scroll pulse animation */
@media (prefers-reduced-motion: reduce) {
    .scroll-line {
        animation: none !important;
    }
}

/* ==========================================================================
   End Home Hero Layout Fixes
   ========================================================================== */

/* ==========================================================================
   Unified Front-Page Section Header Standard
   Reference: How It Works (.section-header > .ds-section-kicker + h2 + p)
   ========================================================================== */

/* Container: centered, capped width, consistent bottom margin */
.section-header,
.features-header {
    text-align: center !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: clamp(1.4rem, 3vw, 2.2rem) !important;
}

/* Kicker: centered inline pill */
.section-header .ds-section-kicker,
.features-header .ds-section-kicker {
    display: inline-flex !important;
    margin: 0 auto 0.6rem !important;
}

/* Heading: large, bold, dark */
.section-header h2,
.section-header > h2,
.features-header h2 {
    margin: 0 !important;
    font-size: clamp(1.9rem, 3.2vw, 2.72rem) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
    color: var(--ds-text, #22223b) !important;
    text-wrap: balance;
}

/* Override so accent word stays sage green inside section headings */
.section-header h2 .ds-headline-accent,
.section-header > h2 .ds-headline-accent {
    color: var(--ds-primary) !important;
}

/* Subtitle: muted, readable, constrained line length */
.section-header > p,
.features-header > p {
    margin: 0.65rem auto 0 !important;
    font-size: clamp(0.95rem, 1.3vw, 1.08rem) !important;
    line-height: 1.62 !important;
    color: var(--ds-muted, #7c7c8a) !important;
    max-width: 58ch !important;
}

/* Fix: features section is white bg � reset the incorrectly inverted kicker */
body.home .features-section .ds-section-kicker,
.features-section .ds-section-kicker {
    border-color: rgb(74 125 78 / 0.28) !important;
    background: rgb(74 125 78 / 0.08) !important;
    color: var(--ds-primary, #4a7d4e) !important;
}

/* ==========================================================================
   End Unified Section Header Standard
   ========================================================================== */

/* ==========================================================================
   Product Card Standardization � Audit Fixes
   ========================================================================== */

/* ==========================================================================
   End Product Card Standardization � Audit Fixes
   ========================================================================== */

/* ==========================================================================
   Shop Filter Sidebar � UX Improvements
   ========================================================================== */

/* Visually hide redundant labels (SEARCH PRODUCTS / SEARCH BRANDS) �
   placeholder + section context already communicate the input's purpose;
   labels remain in the DOM for screen readers                              */
.ds-filter-search label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Remove the gap that existed because of the now-hidden label */
.ds-filter-search {
    gap: 0 !important;
    margin-bottom: 1.2rem !important;
}

/* Brand search sits inside a filter group � tighten top margin */
.ds-filter-search--brand {
    margin-bottom: 0.8rem !important;
}

/* Make "Clear all filters" use brand primary so it reads as an action */
.ds-filter-header a {
    color: var(--ds-primary, #4a7d4e) !important;
    font-weight: 600 !important;
}
.ds-filter-header a:hover {
    text-decoration: none !important;
}

/* ==========================================================================
   End Shop Filter Sidebar � UX Improvements
   ========================================================================== */

/* ==========================================================================
   Hero Section � Content & UX Enhancements
   ========================================================================== */

/* 1. Title: prevent orphan words + accent span for "High" */
.hero .ds-hero-title,
.ds-hero-title {
    text-wrap: balance !important;
}

.ds-hero-title-accent {
    display: inline-block;
    color: var(--ds-gold, #c4a77d);
}

/* 2. Subtitle: text-pretty prevents single-word last lines */
.hero .ds-hero-subtitle,
.ds-hero-subtitle {
    text-wrap: pretty !important;
}

/* 3. Social proof � remove pill/button appearance; render as flat inline text.
      The pill styling caused users to perceive it as a clickable button.      */
.ds-hero-social-proof {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin-top: 0.55rem !important;
    margin-bottom: 1.1rem !important;
    gap: 0.45rem !important;
}

/* 4. Stat strip � three trust signals (Products � Lab Tested � Ships) */
.ds-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 1.1rem 0 0.9rem;
    flex-wrap: wrap;
}

.ds-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding-right: 1.35rem;
}

.ds-hero-stat__num {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 800;
    color: var(--ds-surface);
    line-height: 1;
    letter-spacing: -0.02em;
}

.ds-hero-stat__label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

.ds-hero-stat-divider {
    display: block;
    width: 1px;
    height: 1.9rem;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 1.35rem;
    flex-shrink: 0;
    align-self: center;
}

@media (max-width: 480px) {
    .ds-hero-stats {
        gap: 0;
        margin: 0.85rem 0 0.7rem;
    }
    .ds-hero-stat {
        padding-right: 0.9rem;
    }
    .ds-hero-stat-divider {
        margin-right: 0.9rem;
        height: 1.5rem;
    }
    .ds-hero-stat__num {
        font-size: 0.95rem;
    }
    .ds-hero-stat__label {
        font-size: 0.65rem;
    }
}

/* 5. Scroll indicator � remove any unintended box/capsule appearance */
.scroll-indicator > span {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* ==========================================================================
   End Hero Section � Content & UX Enhancements
   ========================================================================== */

/* ==========================================================================
   Hero � Breathing Room & Readability Pass
   ========================================================================== */

/* Badge: more space beneath it before the title lands */
body.home .hero .ds-hero-badge,
body.home .ds-hero-badge {
    margin-bottom: 1.55rem !important;
}

/* Title: looser line-height (0.96 causes lines to nearly touch on 3 lines),
   and more bottom margin before the subtitle                                 */
body.home .hero .ds-hero-title,
body.home .ds-hero-title {
    line-height: 1.04 !important;
    margin: 0 0 1.4rem !important;
}

/* Subtitle: unclamp + explicit prose line-height + more bottom air */
body.home .hero .ds-hero-subtitle,
body.home .ds-hero-subtitle {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    line-height: 1.65 !important;
    margin: 0 0 2rem !important;
}

/* Stat strip: larger gap between number and label, more air around the row */
.ds-hero-stats {
    margin: 0 0 1.6rem !important;
}
.ds-hero-stat {
    gap: 0.28rem !important;
}
.ds-hero-stat__num {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem) !important;
}
.ds-hero-stat__label {
    font-size: 0.78rem !important;
    letter-spacing: 0.07em !important;
}
.ds-hero-stat-divider {
    height: 2.2rem !important;
}

/* Social proof: more space above (after stats) and below (before CTAs) */
.ds-hero-social-proof {
    margin-top: 0.25rem !important;
    margin-bottom: 1.7rem !important;
}
.ds-hero-rating {
    font-size: 0.95rem !important;
}
.ds-hero-proof-text {
    font-size: 0.9rem !important;
}

/* -- Mobile = 640px ------------------------------------------------------- */
@media (max-width: 640px) {
    body.home .ds-hero-badge {
        margin-bottom: 1.1rem !important;
    }
    body.home .ds-hero-title {
        line-height: 1.06 !important;
        margin: 0 0 1.1rem !important;
    }
    body.home .ds-hero-subtitle {
        /* Skill standard: text-base minimum = 1rem */
        font-size: clamp(1rem, 4vw, 1.1rem) !important;
        line-height: 1.6 !important;
        margin: 0 0 1.5rem !important;
    }
    .ds-hero-stats {
        margin: 0 0 1.2rem !important;
    }
    .ds-hero-stat {
        gap: 0.22rem !important;
        padding-right: 0.85rem !important;
    }
    .ds-hero-stat-divider {
        height: 1.7rem !important;
        margin-right: 0.85rem !important;
    }
    .ds-hero-stat__num {
        font-size: 1.05rem !important;
    }
    .ds-hero-stat__label {
        font-size: 0.7rem !important;
    }
    .ds-hero-social-proof {
        margin-bottom: 1.3rem !important;
    }
}

/* -- Very small phones = 400px: stat strip wraps, dividers removed --------- */
@media (max-width: 400px) {
    .ds-hero-stats {
        flex-wrap: wrap !important;
        row-gap: 0.9rem !important;
    }
    .ds-hero-stat-divider {
        display: none !important;
    }
    .ds-hero-stat {
        padding-right: 1.4rem !important;
        flex: 0 0 auto;
    }
}

/* ==========================================================================
   End Hero � Breathing Room & Readability Pass
   ========================================================================== */

/* ==========================================================================
   Discovery Section � Sage Green Brand Background
   ========================================================================== */

/* Section background: soft sage gradient consistent with the shop panel style */
.ds-discovery {
    background: linear-gradient(
        145deg,
        rgb(74 125 78 / 0.09) 0%,
        rgb(74 125 78 / 0.04) 60%,
        rgb(74 125 78 / 0.06) 100%
    ) !important;
    border-color: rgb(74 125 78 / 0.2) !important;
}

/* "Shop by Category" heading � primary green for visual cohesion */
.ds-discovery-head h2 {
    color: var(--ds-primary, #4a7d4e) !important;
}

/* Brand strip divider � green-tinted hairline */
.ds-brand-strip {
    border-top-color: rgb(74 125 78 / 0.15) !important;
}

/* Brand badges � white so initials pop against the green-washed background */
.ds-brand-badge {
    background: var(--ds-surface) !important;
}

/* ==========================================================================
   End Discovery Section � Sage Green Brand Background
   ========================================================================== */

/* ==========================================================================
   Hero � Layout, Dark Glass Background, Horizontal Scroll
   ========================================================================== */

/* 1. Content block: wider + centered + dark frosted glass panel
      Overrides the earlier `background: transparent !important` rule at
      `.hero .ds-hero-content` by using higher specificity (body.home prefix). */
body.home .hero .ds-hero-content,
body.home .ds-hero-content {
    max-width: min(860px, 88vw) !important;
    margin: 0 auto !important;
    background: rgba(6, 12, 6, 0.54) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(2.2rem, 5vw, 4rem) !important;
}

/* Flex-center the content block inside the hero outer container */
body.home .hero .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* 2. Scroll indicator � switch from vertical column to horizontal row
      Guidelines: animate transform/opacity only (compositor-friendly)        */
.scroll-indicator {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.65rem !important;
}

.scroll-indicator > span {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    white-space: nowrap;
}

/* Scroll line: now a horizontal bar fading to the right */
.scroll-line {
    width: 2.8rem !important;
    height: 1px !important;
    background: linear-gradient(to right, rgb(249 249 246 / 0.88), rgb(249 249 246 / 0)) !important;
    transform-origin: left !important;
}

/* Re-key animation to scaleX for horizontal line */
@keyframes ds-scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50%       { opacity: 0.35; transform: scaleX(0.55); }
}

/* Mobile: keep glass panel, reduce padding + radius */
@media (max-width: 640px) {
    body.home .hero .ds-hero-content,
    body.home .ds-hero-content {
        max-width: 96vw !important;
        /* reduce inner padding to prevent double-padding with outer container */
        padding: clamp(1.2rem, 4.5vw, 1.6rem) clamp(1rem, 3.5vw, 1.4rem) !important;
        border-radius: 14px !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    /* Reduce outer container side padding so glass panel has more content width */
    body.home .hero .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* ==========================================================================
   End Hero � Layout, Dark Glass Background, Horizontal Scroll
   ========================================================================== */

/* ==========================================================================
   Order Confirmation (Thank You) Page
   ========================================================================== */

/* -- Page wrapper ---------------------------------------------------------- */
.ds-order-received-page .woocommerce {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 1.5rem);
}

.ds-order-received-page .woocommerce-order,
.ds-order-received {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* -- Progress stepper on order-received: all complete + Confirmation active -- */
.ds-order-received-page .ds-checkout-progress,
.ds-order-progress {
    background: var(--ds-surface);
    border: 1px solid var(--ds-border, #e0e0d8);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgb(34 34 59 / 0.04);
}

.ds-order-received-page .ds-checkout-progress-list .is-complete .ds-step-index {
    background: var(--ds-primary, #4a7d4e) !important;
    border-color: var(--ds-primary, #4a7d4e) !important;
    color: var(--ds-surface) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -- Success / failed hero ------------------------------------------------- */
.ds-order-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 16px;
    gap: 0.85rem;
}

.ds-order-hero--success {
    background: linear-gradient(145deg, rgb(74 125 78 / 0.07) 0%, rgb(74 125 78 / 0.03) 100%);
    border: 1px solid rgb(74 125 78 / 0.18);
}

.ds-order-hero--failed {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.18);
}

.ds-order-hero__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin-bottom: 0.4rem;
}

.ds-order-hero--success .ds-order-hero__icon {
    background: var(--ds-primary, #4a7d4e);
    color: var(--ds-surface);
    box-shadow: 0 8px 24px rgb(74 125 78 / 0.3);
}

.ds-order-hero--failed .ds-order-hero__icon {
    background: #dc2626;
    color: var(--ds-surface);
}

.ds-order-hero__title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--ds-text, #22223b);
    margin: 0;
    line-height: 1.1;
}

.ds-order-hero--success .ds-order-hero__title {
    color: var(--ds-primary-dark, #3d6b40);
}

.ds-order-hero__sub {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    color: var(--ds-muted, #7c7c8a);
    /* max-width: 52ch; */
    line-height: 1.6;
    margin: 0;
}

.ds-order-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

/* -- Order meta strip ------------------------------------------------------ */
.ds-order-meta {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 1px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--ds-border, #e0e0d8);
    border: 1px solid var(--ds-border, #e0e0d8);
    border-radius: 12px;
    overflow: hidden;
}

.ds-order-meta__item {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
    padding: 1.15rem 1.3rem !important;
    background: var(--ds-surface);
    margin: 0 !important;
}

.ds-order-meta__item::before {
    display: none !important;
}

.ds-order-meta__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ds-muted, #7c7c8a);
    display: block;
}

.ds-order-meta__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ds-text, #22223b);
    display: block;
    line-height: 1.3;
}

.ds-order-meta__value--total {
    font-size: 1.1rem;
    color: var(--ds-primary-dark, #3d6b40);
}

/* -- Continue shopping / account CTAs ------------------------------------- */
.ds-order-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.ds-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.ds-order-btn--primary {
    background: var(--ds-primary, #4a7d4e);
    color: var(--ds-surface);
    border-color: var(--ds-primary, #4a7d4e);
}
.ds-order-btn--primary:hover {
    background: var(--ds-primary-dark, #3d6b40);
    border-color: var(--ds-primary-dark, #3d6b40);
    color: var(--ds-surface);
}

.ds-order-btn--secondary {
    background: transparent;
    color: var(--ds-primary, #4a7d4e);
    border-color: var(--ds-primary, #4a7d4e);
}
.ds-order-btn--secondary:hover {
    background: var(--ds-primary, #4a7d4e);
    color: var(--ds-surface);
}

.ds-order-btn--ghost {
    background: transparent;
    color: var(--ds-muted, #7c7c8a);
    border-color: var(--ds-border, #e0e0d8);
}
.ds-order-btn--ghost:hover {
    color: var(--ds-text, #22223b);
    border-color: var(--ds-text, #22223b);
}

.ds-order-btn:focus-visible {
    outline: 2px solid var(--ds-primary, #4a7d4e);
    outline-offset: 2px;
}

/* -- WooCommerce order details table (product list below meta strip) ------- */
.ds-order-received-page .woocommerce-table--order-details,
.ds-order-received-page .shop_table.order_details {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--ds-border, #e0e0d8);
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.92rem;
}

.ds-order-received-page .woocommerce-table--order-details thead th {
    background: #f5f7f4;
    padding: 0.85rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ds-muted, #7c7c8a);
    text-align: left;
    border-bottom: 1px solid var(--ds-border, #e0e0d8);
}

.ds-order-received-page .woocommerce-table--order-details thead th.product-total {
    text-align: right;
}

.ds-order-received-page .woocommerce-table--order-details tbody td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #f0f0ed;
    color: var(--ds-text, #22223b);
    vertical-align: middle;
}

.ds-order-received-page .woocommerce-table--order-details tbody td.product-total {
    text-align: right;
    font-weight: 600;
}

.ds-order-received-page .woocommerce-table--order-details tfoot tr {
    border-top: 1px solid var(--ds-border, #e0e0d8);
}

.ds-order-received-page .woocommerce-table--order-details tfoot th,
.ds-order-received-page .woocommerce-table--order-details tfoot td {
    padding: 0.75rem 1.1rem;
    font-size: 0.9rem;
    color: var(--ds-text, #22223b);
}

.ds-order-received-page .woocommerce-table--order-details tfoot .order-total th,
.ds-order-received-page .woocommerce-table--order-details tfoot .order-total td {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ds-primary-dark, #3d6b40);
    border-top: 2px solid var(--ds-border, #e0e0d8);
    padding-top: 1rem;
}

.ds-order-received-page .woocommerce-table--order-details tfoot td {
    text-align: right;
}

/* -- Billing / shipping address cards -------------------------------------- */
.ds-order-received-page .woocommerce-customer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ds-order-received-page .woocommerce-customer-details address {
    background: var(--ds-surface);
    border: 1px solid var(--ds-border, #e0e0d8);
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ds-text, #22223b);
}

.ds-order-received-page .woocommerce-customer-details h2 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ds-muted, #7c7c8a);
    margin: 0 0 0.7rem;
}

/* -- Mobile ---------------------------------------------------------------- */
@media (max-width: 640px) {
    .ds-order-received-page .woocommerce-customer-details {
        grid-template-columns: 1fr;
    }
    .ds-order-meta {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .ds-order-hero {
        padding: 1.8rem 1.2rem;
    }
    .ds-order-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .ds-order-btn {
        justify-content: center;
    }
}

/* ==========================================================================
   End Order Confirmation (Thank You) Page
   ========================================================================== */

/* Review modal styles are centralized in assets/css/components/review-modal.css. */

/* ==========================================================================
   Home Hero Mobile-First Consolidation
   Keeps the shortcode layout stable despite earlier duplicate hero rules.
   ========================================================================== */
/* body.home #main-content {
	padding-top: 0 !important;
} */

body.home .hero {
	height: 80vh !important;
	min-height: 550px !important;
	padding-top: calc(var(--ds-banner-height, 36px) + var(--ds-header-height, 56px)) !important;
	padding-bottom: clamp(0.65rem, 1.8vw, 1.1rem) !important;
	overflow: visible !important;
	display: flex;
	align-items: center;
}

body.home .hero > .container,
body.home .hero > div.container {
	flex: 0 0 auto !important;
	display: block !important;
	justify-content: initial !important;
}

body.home .hero .ds-hero-shell,
body.home .ds-hero-shell {
	width: min(100%, 44rem);
	margin: 0 auto;
	padding: 0.9rem 0.9rem 0.72rem !important;
	display: flex;
	justify-content: center;
	align-items: stretch;
}

body.home .hero .ds-hero-content,
body.home .ds-hero-content {
	width: 100%;
	max-width: 100% !important;
	padding: 1.1rem 1rem 1.2rem !important;
	border-radius: 14px !important;
}

body.home .hero .ds-hero-badge,
body.home .ds-hero-badge {
	margin: 0 0 0.9rem !important;
}

body.home .hero .ds-hero-title,
body.home .ds-hero-title {
	font-size: clamp(1.55rem, 8.2vw, 2.05rem) !important;
	line-height: 1.1 !important;
	margin: 0 0 0.85rem !important;
}

body.home .hero .ds-hero-subtitle,
body.home .ds-hero-subtitle {
	max-width: 34ch;
	font-size: 0.95rem !important;
	line-height: 1.58 !important;
	margin: 0 0 1rem !important;
}

body.home .hero .ds-hero-stats,
body.home .ds-hero-stats {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 0.8rem;
	row-gap: 0.7rem;
	margin: 0 0 1rem !important;
}

body.home .hero .ds-hero-stat,
body.home .ds-hero-stat {
	min-width: 0;
	padding-right: 0 !important;
	gap: 0.2rem !important;
}

body.home .hero .ds-hero-stat--shipping,
body.home .ds-hero-stat--shipping {
	grid-column: 1 / -1;
}

body.home .hero .ds-hero-stat__num,
body.home .ds-hero-stat__num {
	font-size: 1.02rem !important;
}

body.home .hero .ds-hero-stat__label,
body.home .ds-hero-stat__label {
	font-size: 0.68rem !important;
	line-height: 1.35;
	white-space: normal;
}

body.home .hero .ds-hero-stat-divider,
body.home .ds-hero-stat-divider {
	display: none !important;
}

body.home .hero .ds-hero-social-proof,
body.home .ds-hero-social-proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem !important;
	margin: 0 0 1.05rem !important;
}

body.home .hero .ds-hero-proof-divider,
body.home .ds-hero-proof-divider {
	display: none;
}

body.home .hero .ds-hero-rating,
body.home .ds-hero-rating {
	font-size: 0.9rem !important;
}

body.home .hero .ds-hero-proof-text,
body.home .ds-hero-proof-text {
	font-size: 0.85rem !important;
	line-height: 1.4;
}

body.home .hero .ds-hero-scroll,
body.home .ds-hero-scroll {
	display: none !important;
}

@media (min-width: 641px) {
	body.home .hero .ds-hero-shell,
	body.home .ds-hero-shell {
		padding: 1.2rem 1.2rem 0.78rem !important;
	}

	body.home .hero .ds-hero-content,
	body.home .ds-hero-content {
		padding: 1.45rem 1.35rem 1.55rem !important;
		border-radius: 16px !important;
	}

	body.home .hero .ds-hero-title,
	body.home .ds-hero-title {
		font-size: clamp(1.9rem, 5.5vw, 2.45rem) !important;
	}

	body.home .hero .ds-hero-subtitle,
	body.home .ds-hero-subtitle {
		max-width: 48ch;
		font-size: 1rem !important;
		margin-bottom: 1.15rem !important;
	}

	body.home .hero .ds-hero-stats,
	body.home .ds-hero-stats {
		display: flex !important;
		align-items: center;
		gap: 0 !important;
		margin-bottom: 1.15rem !important;
	}

	body.home .hero .ds-hero-stat,
	body.home .ds-hero-stat {
		padding-right: 1rem !important;
	}

	body.home .hero .ds-hero-stat--shipping,
	body.home .ds-hero-stat--shipping {
		grid-column: auto;
	}

	body.home .hero .ds-hero-stat-divider,
	body.home .ds-hero-stat-divider {
		display: block !important;
		height: 1.65rem !important;
		margin-right: 1rem !important;
	}

	body.home .hero .ds-hero-social-proof,
	body.home .ds-hero-social-proof {
		gap: 0.45rem !important;
		margin-bottom: 1.2rem !important;
	}

	body.home .hero .ds-hero-proof-divider,
	body.home .ds-hero-proof-divider {
		display: inline !important;
	}
}

@media (min-width: 981px) {
	body.home .hero .ds-hero-shell,
	body.home .ds-hero-shell {
		width: min(100%, 58rem);
		padding: 1.35rem 1.35rem 0.92rem !important;
	}

	body.home .hero .ds-hero-content,
	body.home .ds-hero-content {
		padding: clamp(1.9rem, 3.1vw, 2.8rem) clamp(2rem, 4vw, 3.2rem) !important;
		border-radius: 18px !important;
	}

	body.home .hero .ds-hero-title,
	body.home .ds-hero-title {
		font-size: clamp(2.35rem, 4vw, 3.45rem) !important;
		line-height: 1.04 !important;
	}

	body.home .hero .ds-hero-subtitle,
	body.home .ds-hero-subtitle {
		font-size: 1.04rem !important;
		max-width: 56ch;
		margin-bottom: 1.35rem !important;
	}

	body.home .hero .ds-hero-stat__num,
	body.home .ds-hero-stat__num {
		font-size: clamp(1.1rem, 1.5vw, 1.32rem) !important;
	}

	body.home .hero .ds-hero-stat__label,
	body.home .ds-hero-stat__label {
		font-size: 0.72rem !important;
	}

	body.home .hero .ds-hero-cta,
	body.home .ds-hero-cta {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 1rem;
	}

	/* Restore tighter gap on desktop — the 1rem buffer is only needed on mobile */
	body.home .hero {
		padding-top: calc(var(--ds-banner-height, 36px) + var(--ds-header-height, 60px) + 0.25rem) !important;
	}
}

/* ==========================================================================
   Front Page Categories Carousel - Mobile Image Height Tuning
   ========================================================================== */
@media (max-width: 768px) {
	body.home .categories-carousel-section .category-card > img {
		aspect-ratio: 4 / 3;
		height: auto;
	}
}

@media (max-width: 480px) {
	body.home .categories-carousel-section .category-card > img {
		aspect-ratio: 4 / 3; /* consistent across breakpoints */
	}
}

/* ==========================================================================
   Front Page Categories Carousel - Mobile Cleanup
   ========================================================================== */
@media (max-width: 768px) {
	body.home .categories-carousel-section {
		padding-top: 1.4rem !important;
		padding-bottom: 1.5rem !important;
	}

	body.home .categories-carousel-section .section-header {
		margin: 0 auto 0.8rem !important;
	}

	body.home .categories-carousel-section .section-header > h2 {
		font-size: clamp(1.45rem, 6.8vw, 1.95rem) !important;
		line-height: 1.12 !important;
	}

	body.home .categories-carousel-section .section-header > p {
		font-size: 0.9rem !important;
		line-height: 1.48 !important;
		margin-top: 0.45rem !important;
		max-width: 34ch !important;
	}

	body.home .categories-carousel-section .categories-carousel {
		--carousel-gap: 0.72rem;
	}

	body.home .categories-carousel-section .category-card {
		border-radius: 14px !important;
	}

	body.home .categories-carousel-section .category-content {
		padding: 0.8rem !important;
		gap: 0.28rem !important;
	}

	body.home .categories-carousel-section .category-content h3 {
		font-size: clamp(1.35rem, 6vw, 1.7rem) !important;
		line-height: 1.08 !important;
	}

	body.home .categories-carousel-section .category-count {
		font-size: 0.76rem !important;
	}

	body.home .categories-carousel-section .category-description {
		font-size: 0.84rem !important;
		line-height: 1.35 !important;
		max-width: 30ch;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	body.home .categories-carousel-section .category-link {
		padding: 0.3rem 0.58rem !important;
		font-size: 0.86rem !important;
		gap: 0.32rem !important;
		margin-top: 0.14rem !important;
	}

	body.home .categories-carousel-section .category-link svg {
		width: 15px;
		height: 15px;
	}

	body.home .categories-carousel-section .categories-carousel-nav {
		width: 32px !important;
		height: 32px !important;
	}

	body.home .categories-carousel-section .categories-carousel-dots {
		margin-top: 0.62rem !important;
		gap: 0.35rem !important;
	}
}

@media (max-width: 480px) {
	body.home .categories-carousel-section .section-header > h2 {
		font-size: clamp(1.34rem, 7.4vw, 1.65rem) !important;
	}

	body.home .categories-carousel-section .section-header > p {
		font-size: 0.84rem !important;
		line-height: 1.42 !important;
	}

	body.home .categories-carousel-section .category-content {
		padding: 0.72rem !important;
	}

	body.home .categories-carousel-section .category-content h3 {
		font-size: clamp(1.2rem, 7.2vw, 1.44rem) !important;
	}

	body.home .categories-carousel-section .category-description {
		font-size: 0.8rem !important;
		-webkit-line-clamp: 1;
		line-clamp: 1;
	}

	body.home .categories-carousel-section .category-link {
		font-size: 0.8rem !important;
		padding: 0.28rem 0.5rem !important;
	}
}

/* ==========================================================================
   Cart Totals - Mobile Cleanup (single final source)
   ========================================================================== */
@media (max-width: 980px) {
	body.woocommerce-cart .ds-cart-summary .ds-cart-totals,
	body.woocommerce-cart #cart-summary-offcanvas .ds-cart-totals,
	.ds-cart-page .ds-cart-summary .ds-cart-totals,
	.ds-cart-page #cart-summary-offcanvas .ds-cart-totals {
		padding: 0.82rem !important;
		border-radius: 12px !important;
	}

	body.woocommerce-cart .ds-cart-totals h2,
	.ds-cart-page .ds-cart-totals h2 {
		font-size: clamp(1.3rem, 5.4vw, 1.55rem) !important;
		margin-bottom: 0.28rem !important;
	}

	body.woocommerce-cart .ds-cart-summary-caption,
	.ds-cart-page .ds-cart-summary-caption {
		font-size: 0.78rem !important;
		line-height: 1.35 !important;
	}

	body.woocommerce-cart .ds-cart-summary-kpis,
	.ds-cart-page .ds-cart-summary-kpis {
		margin: 0.48rem 0 0.62rem !important;
		gap: 0.3rem !important;
	}

	body.woocommerce-cart .ds-cart-summary-kpis span,
	.ds-cart-page .ds-cart-summary-kpis span {
		min-height: 1.5rem !important;
		padding: 0.16rem 0.46rem !important;
		font-size: 0.63rem !important;
		letter-spacing: 0.02em !important;
	}

	body.woocommerce-cart .ds-cart-totals table,
	.ds-cart-page .ds-cart-totals table {
		margin-bottom: 0.62rem !important;
	}

	body.woocommerce-cart .ds-cart-totals table tr th,
	body.woocommerce-cart .ds-cart-totals table tr td,
	.ds-cart-page .ds-cart-totals table tr th,
	.ds-cart-page .ds-cart-totals table tr td {
		font-size: 0.84rem !important;
		padding: 0.28rem 0 !important;
	}

	body.woocommerce-cart .ds-cart-totals .order-total th,
	.ds-cart-page .ds-cart-totals .order-total th {
		font-size: 0.98rem !important;
	}

	body.woocommerce-cart .ds-cart-totals .order-total td,
	.ds-cart-page .ds-cart-totals .order-total td {
		font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
	}

	body.woocommerce-cart .ds-cart-totals .checkout-button,
	body.woocommerce-cart .ds-cart-continue,
	.ds-cart-page .ds-cart-totals .checkout-button,
	.ds-cart-page .ds-cart-continue {
		min-height: 46px !important;
	}

	body.woocommerce-cart .ds-cart-continue,
	.ds-cart-page .ds-cart-continue {
		line-height: 44px !important;
	}

	body.woocommerce-cart .ds-cart-benefits-list,
	.ds-cart-page .ds-cart-benefits-list {
		display: none !important;
	}

	body.woocommerce-cart .ds-cart-summary-footnote,
	.ds-cart-page .ds-cart-summary-footnote {
		margin-top: 0.48rem !important;
		font-size: 0.7rem !important;
		line-height: 1.35 !important;
	}
}

@media (max-width: 480px) {
	body.woocommerce-cart #cart-summary-offcanvas .ds-cart-offcanvas__panel,
	.ds-cart-page #cart-summary-offcanvas .ds-cart-offcanvas__panel {
		width: min(94vw, 380px) !important;
		padding: 0.85rem !important;
	}
}

/* ==========================================================================
   Woo Page Top Spacing Cleanup
   ========================================================================== */
/* body.woocommerce-cart #main-content,
.ds-cart-page #main-content {
	padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 56px) - 22px) !important;
} */

/* body.woocommerce-cart .woocommerce,
.ds-cart-page .woocommerce {
	padding-top: 0.5rem !important;
} */

/* body.woocommerce-checkout:not(.woocommerce-order-received) #main-content,
.ds-checkout-page #main-content,
body.woocommerce-account #main-content,
.ds-product-page #main-content {
	padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 56px) - 20px) !important;
} */
/* 
@media (max-width: 980px) {
	body.woocommerce-cart #main-content,
	.ds-cart-page #main-content,
	body.woocommerce-checkout:not(.woocommerce-order-received) #main-content,
	.ds-checkout-page #main-content,
	body.woocommerce-account #main-content,
	.ds-product-page #main-content {
		padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 56px) - 14px) !important;
	}
} */

/* ==========================================================================
   Shop Archive Responsive Cleanup (final canonical pass)
   Scope: Shop + product taxonomy pages only
   ========================================================================== */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_brand {
	overflow-x: clip;
}

/* body.post-type-archive-product #main-content,
body.tax-product_cat #main-content,
body.tax-product_brand #main-content {
	padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 56px) - 12px) !important;
	overflow-x: clip;
} */

body.post-type-archive-product #primary.content-area,
body.tax-product_cat #primary.content-area,
body.tax-product_brand #primary.content-area,
body.post-type-archive-product #main.site-main.woocommerce,
body.tax-product_cat #main.site-main.woocommerce,
body.tax-product_brand #main.site-main.woocommerce,
body.post-type-archive-product .content-container.site-container,
body.tax-product_cat .content-container.site-container,
body.tax-product_brand .content-container.site-container {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.post-type-archive-product .ds-shop-page,
body.tax-product_cat .ds-shop-page,
body.tax-product_brand .ds-shop-page {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0.9rem 0.7rem 1.45rem !important;
}

body.post-type-archive-product .ds-shop-layout,
body.tax-product_cat .ds-shop-layout,
body.tax-product_brand .ds-shop-layout {
	grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) !important;
	gap: 0.95rem !important;
}

body.post-type-archive-product .ds-discovery,
body.tax-product_cat .ds-discovery,
body.tax-product_brand .ds-discovery,
body.post-type-archive-product .ds-shop-controls,
body.tax-product_cat .ds-shop-controls,
body.tax-product_brand .ds-shop-controls,
body.post-type-archive-product .ds-shop-results,
body.tax-product_cat .ds-shop-results,
body.tax-product_brand .ds-shop-results {
	min-width: 0 !important;
	max-width: 100% !important;
}

body.post-type-archive-product .ds-shop-controls,
body.tax-product_cat .ds-shop-controls,
body.tax-product_brand .ds-shop-controls {
	padding: 0.74rem 0.8rem !important;
	gap: 0.6rem !important;
}

body.post-type-archive-product .ds-shop-controls__count,
body.tax-product_cat .ds-shop-controls__count,
body.tax-product_brand .ds-shop-controls__count {
	font-size: 0.92rem !important;
	line-height: 1.35 !important;
}

body.post-type-archive-product .ds-shop-controls__actions,
body.tax-product_cat .ds-shop-controls__actions,
body.tax-product_brand .ds-shop-controls__actions {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem !important;
	width: 100% !important;
	min-width: 0 !important;
}

body.post-type-archive-product .ds-shop-controls__actions label,
body.tax-product_cat .ds-shop-controls__actions label,
body.tax-product_brand .ds-shop-controls__actions label {
	min-width: 0 !important;
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 0.25rem !important;
	align-items: start !important;
}

body.post-type-archive-product .ds-shop-controls select,
body.tax-product_cat .ds-shop-controls select,
body.tax-product_brand .ds-shop-controls select {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

body.post-type-archive-product .ds-shop-results #productsGrid,
body.tax-product_cat .ds-shop-results #productsGrid,
body.tax-product_brand .ds-shop-results #productsGrid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0.72rem !important;
}

@media (max-width: 1280px) {
	body.post-type-archive-product .ds-shop-results #productsGrid,
	body.tax-product_cat .ds-shop-results #productsGrid,
	body.tax-product_brand .ds-shop-results #productsGrid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 980px) {
	/* body.post-type-archive-product #main-content,
	body.tax-product_cat #main-content,
	body.tax-product_brand #main-content {
		padding-top: calc(var(--ds-banner-height, 0px) + var(--ds-header-height, 56px) - 8px) !important;
	} */

	body.post-type-archive-product .ds-shop-page,
	body.tax-product_cat .ds-shop-page,
	body.tax-product_brand .ds-shop-page {
		padding: 0.8rem 0.55rem 1.2rem !important;
	}

	body.post-type-archive-product .ds-shop-layout,
	body.tax-product_cat .ds-shop-layout,
	body.tax-product_brand .ds-shop-layout {
		grid-template-columns: 1fr !important;
		gap: 0.7rem !important;
	}

	body.post-type-archive-product .ds-mobile-filter-toggle,
	body.tax-product_cat .ds-mobile-filter-toggle,
	body.tax-product_brand .ds-mobile-filter-toggle {
		margin-bottom: 0.65rem !important;
	}

	body.post-type-archive-product .ds-discovery,
	body.tax-product_cat .ds-discovery,
	body.tax-product_brand .ds-discovery {
		padding: 0.72rem !important;
	}

	body.post-type-archive-product .ds-brand-strip-head,
	body.tax-product_cat .ds-brand-strip-head,
	body.tax-product_brand .ds-brand-strip-head {
		flex-wrap: wrap !important;
		align-items: flex-start !important;
		gap: 0.25rem 0.7rem !important;
	}
}

@media (max-width: 768px) {
	body.post-type-archive-product .ds-shop-controls__actions,
	body.tax-product_cat .ds-shop-controls__actions,
	body.tax-product_brand .ds-shop-controls__actions {
		grid-template-columns: 1fr !important;
	}
}

/* ==========================================================================
   Unified checkout-progress steps — cart page + checkout page + thank-you
   Single source of truth; overrides earlier duplicated per-page blocks.
   ========================================================================== */

.ds-cart-page .ds-checkout-progress,
.ds-checkout-page .ds-checkout-progress,
.ds-order-received-page .ds-checkout-progress {
	margin: 0 0 1rem;
	padding: 0;
}

.ds-cart-page .ds-checkout-progress-list,
.ds-checkout-page .ds-checkout-progress-list,
.ds-order-received-page .ds-checkout-progress-list {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Each step item */
.ds-cart-page .ds-checkout-progress-list li,
.ds-checkout-page .ds-checkout-progress-list li,
.ds-order-received-page .ds-checkout-progress-list li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #a0a0a8;
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Dashed connector between steps */
.ds-cart-page .ds-checkout-progress-list li:not(:last-child)::after,
.ds-checkout-page .ds-checkout-progress-list li:not(:last-child)::after,
.ds-order-received-page .ds-checkout-progress-list li:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: clamp(1.5rem, 5vw, 3.5rem);
	height: 1px;
	margin: 0 0.5rem;
	background: repeating-linear-gradient(
		to right,
		rgba(160, 160, 168, 0.4) 0 4px,
		transparent 4px 8px
	);
	flex-shrink: 0;
}

/* Number bubble — default (future step) */
.ds-cart-page .ds-step-index,
.ds-checkout-page .ds-step-index,
.ds-order-received-page .ds-step-index {
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 50%;
	border: 1.5px solid #d4d4dc;
	background: #fff;
	color: #a0a0a8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
	transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

/* ── ACTIVE step — solid green fill, white number ── */
.ds-cart-page .ds-checkout-progress-list li.is-active,
.ds-checkout-page .ds-checkout-progress-list li.is-active,
.ds-order-received-page .ds-checkout-progress-list li.is-active {
	color: #2f5a33;
	font-weight: 700;
}

.ds-cart-page .ds-checkout-progress-list li.is-active .ds-step-index,
.ds-checkout-page .ds-checkout-progress-list li.is-active .ds-step-index,
.ds-order-received-page .ds-checkout-progress-list li.is-active .ds-step-index {
	background: var(--ds-primary);
	border-color: var(--ds-primary);
	color: #fff;
	box-shadow: 0 0 0 3px rgb(74 125 78 / 0.18);
}

/* ── COMPLETE step — soft green outline, muted label ── */
.ds-cart-page .ds-checkout-progress-list li.is-complete,
.ds-checkout-page .ds-checkout-progress-list li.is-complete,
.ds-order-received-page .ds-checkout-progress-list li.is-complete {
	color: #6a9e6e;
	font-weight: 600;
}

.ds-cart-page .ds-checkout-progress-list li.is-complete .ds-step-index,
.ds-checkout-page .ds-checkout-progress-list li.is-complete .ds-step-index,
.ds-order-received-page .ds-checkout-progress-list li.is-complete .ds-step-index {
	background: transparent;
	border-color: var(--ds-primary);
	color: var(--ds-primary);
	box-shadow: none;
}

/* Connector line turns solid green when step before it is complete */
.ds-cart-page .ds-checkout-progress-list li.is-complete:not(:last-child)::after,
.ds-checkout-page .ds-checkout-progress-list li.is-complete:not(:last-child)::after,
.ds-order-received-page .ds-checkout-progress-list li.is-complete:not(:last-child)::after {
	background: repeating-linear-gradient(
		to right,
		rgb(74 125 78 / 0.5) 0 4px,
		transparent 4px 8px
	);
}

/* Mobile: tighten connector width */
@media (max-width: 480px) {
	.ds-cart-page .ds-checkout-progress-list li:not(:last-child)::after,
	.ds-checkout-page .ds-checkout-progress-list li:not(:last-child)::after {
		width: 1rem;
		margin: 0 0.3rem;
	}
}

/* ==========================================================================
   End Unified Checkout Progress Steps
   ========================================================================== */


/* ==========================================================================
   Hero Content: Full-width overlay — replaces floating card
   The ::before pseudo already spans the full hero; strip the card and let
   it serve as the sole tint layer so the background image shows through.
   ========================================================================== */

/* 1. Full-cover tint: match canonical home/editor gradient */
body.home .hero::before {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(7, 12, 10, 0.28) 0%, transparent 55%),
		linear-gradient(100deg, rgba(10, 16, 14, 0.54) 0%, rgba(10, 16, 14, 0.36) 42%, rgba(10, 16, 14, 0.16) 100%) !important;
}

/* 1b. Keep hero content anchored higher instead of vertically centered.
   .hero is a column flex container (Elementor e-con e-flex), so justify-content
   controls the vertical (main) axis. align-items controls horizontal alignment. */
body.home .hero {
	justify-content: flex-start !important;
}

/* 2. Strip the floating card: transparent bg, no radius / border / blur */
body.home .hero .ds-hero-content,
body.home .ds-hero-content {
	max-width: 100% !important;
	width: 100% !important;
	background: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: clamp(2.2rem, 4vw, 3.5rem) clamp(1.5rem, 6vw, 4.5rem) !important;
}

/* 3. Stretch the shell (the container div) to full hero width */
body.home .hero .ds-hero-shell,
body.home .ds-hero-shell {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* 4. Tighten padding on small screens */
@media (max-width: 640px) {
	body.home .hero .ds-hero-content,
	body.home .ds-hero-content {
		padding: 1.5rem 1.25rem 2rem !important;
	}
}

/* ==========================================================================
   My Account — Complete rebrand
   Covers: dashboard greeting, 3-column summary grid, sidebar nav icons,
   mobile horizontal-scroll nav, order status pills, responsive stacking.
   Single canonical source of truth — later in cascade, uses !important
   only where the WooCommerce default stylesheet would otherwise win.
   ========================================================================== */

/* ── 1. Dashboard greeting ──────────────────────────────────────────────── */

.ds-account-greeting {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #f0f0ea;
}

.ds-account-greeting__title {
	margin: 0;
	font-size: clamp(1.15rem, 1.8vw, 1.5rem);
	font-weight: 800;
	color: var(--ds-text);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.ds-account-greeting__title strong {
	color: #2f5a33;
	font-weight: 800;
}

.ds-account-greeting__logout {
	font-size: 0.81rem;
	font-weight: 600;
	color: #7c7e8f;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
	transition: color 150ms ease;
}

.ds-account-greeting__logout:hover,
.ds-account-greeting__logout:focus-visible {
	color: var(--ds-text);
	outline: none;
}

/* ── 2. Summary grid shell ──────────────────────────────────────────────── */

.ds-account-summary-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin-bottom: 1.35rem;
}

/* ── 3. Summary card base ───────────────────────────────────────────────── */

.ds-account-summary-card {
	display: flex;
	flex-direction: column;
	gap: 0.38rem;
	padding: 1rem 1rem 0.85rem;
	border: 1px solid var(--ds-border);
	border-radius: 14px;
	background: var(--ds-surface);
	box-shadow: 0 1px 5px rgb(34 34 59 / 0.05);
}

/* ── 4. Card icon container — type-specific tints ───────────────────────── */

.ds-account-summary-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	flex-shrink: 0;
	margin-bottom: 0.2rem;
}

.ds-account-summary-card--order .ds-account-summary-card__icon {
	background: rgb(74 125 78 / 0.1);
	color: #2f5a33;
}

.ds-account-summary-card--balance .ds-account-summary-card__icon {
	background: rgba(217, 119, 6, 0.1);
	color: #92400e;
}

.ds-account-summary-card--support .ds-account-summary-card__icon {
	background: rgba(37, 99, 235, 0.1);
	color: #1d4ed8;
}

/* ── 5. Card typography ─────────────────────────────────────────────────── */

.ds-account-summary-card__label {
	margin: 0;
	font-size: 0.71rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6d7388;
	line-height: 1.2;
}

.ds-account-summary-card__value {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--ds-text);
	line-height: 1.15;
}

.ds-account-summary-card__value--empty {
	font-size: 0.9rem;
	font-weight: 600;
	color: #9399ab;
}

.ds-account-summary-card__sub {
	margin: 0;
	font-size: 0.79rem;
	color: #838691;
	line-height: 1.35;
}

/* ── 6. Card action link ────────────────────────────────────────────────── */

.ds-account-summary-card__action {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: auto;
	padding-top: 0.6rem;
	font-size: 0.81rem;
	font-weight: 700;
	color: #2f5a33;
	text-decoration: none;
	border-top: 1px solid #f0f0ea;
	transition: color 150ms ease;
}

.ds-account-summary-card__action:hover,
.ds-account-summary-card__action:focus-visible {
	color: #1a3d1d;
	text-decoration: underline;
	text-underline-offset: 2px;
	outline: none;
}

/* ── 7. Quick Support card link list ────────────────────────────────────── */

.ds-account-summary-card__support-links {
	display: flex;
	flex-direction: column;
	gap: 0.42rem;
	margin-top: auto;
	padding-top: 0.6rem;
	border-top: 1px solid #f0f0ea;
}

.ds-account-summary-card__support-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.81rem;
	font-weight: 700;
	color: #2f5a33;
	text-decoration: none;
	transition: none;
}

.ds-account-summary-card__support-links a:hover,
.ds-account-summary-card__support-links a:focus-visible {
	text-decoration: none !important;
	outline: none;
}

/* ── 8. Order status pills ──────────────────────────────────────────────── */

.ds-account-order-status {
	display: inline-block;
	padding: 0.18rem 0.52rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.45;
	white-space: nowrap;
}

.ds-account-order-status--pending    { background: #fef3c7; color: #92400e; }
.ds-account-order-status--processing { background: #dbeafe; color: #1d4ed8; }
.ds-account-order-status--on-hold    { background: #ffedd5; color: #9a3412; }
.ds-account-order-status--completed  { background: #dcfce7; color: #166534; }
.ds-account-order-status--cancelled  { background: #f3f4f6; color: #4b5563; }
.ds-account-order-status--refunded   { background: #ede9fe; color: #6d28d9; }
.ds-account-order-status--failed     { background: #fee2e2; color: #991b1b; }

/* ── 9. Sidebar nav icons ───────────────────────────────────────────────── */

.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .ds-nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	opacity: 0.6;
	transition: opacity 160ms ease;
}

.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .ds-nav-label {
	flex: 1;
	min-width: 0;
}

/* Icon brightens on hover / active */
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover .ds-nav-icon,
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus-visible .ds-nav-icon,
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a .ds-nav-icon {
	opacity: 1;
}

/* Consistent font-weight with site header nav (700) */
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	font-weight: 700 !important;
}

/* Logout item: visual separator + distinct colour */
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid #f0f0ea;
}

.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout > a {
	color: #b03e3e;
}

.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout > a:hover,
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout > a:focus-visible {
	background: rgba(176, 62, 62, 0.08);
	color: #8b1c1c;
}

/* ── 10. Motion — card hover lift ───────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
	.ds-account-summary-card {
		transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
	}

	.ds-account-summary-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 8px 20px rgb(34 34 59 / 0.09);
		border-color: rgb(74 125 78 / 0.28);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ds-account-summary-card {
		transition: none !important;
	}
}

/* ── 11. Responsive — tablet (≤980px): horizontal-scroll nav ────────────── */

@media (max-width: 980px) {

	/* Navigation becomes a horizontal scroll strip */
	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
		padding: 0.4rem !important;
		border-radius: 12px;
		overflow: hidden;
	}

	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex !important;
		flex-direction: row !important;
		align-items: center;
		gap: 0.25rem;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 0;
		flex-wrap: nowrap;
	}

	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}

	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li {
		flex: 0 0 auto;
	}

	/* Compact pill link */
	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
		padding: 0.46rem 0.72rem !important;
		font-size: 0.79rem !important;
		border-radius: 8px;
		white-space: nowrap;
	}

	/* Nav icons slightly smaller on mobile */
	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .ds-nav-icon,
	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .ds-nav-icon svg {
		width: 15px !important;
		height: 15px !important;
	}

	/* Logout: left separator instead of top separator in horizontal layout */
	.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
		margin-left: 0.35rem;
		padding-left: 0.35rem;
		border-left: 1px solid #e8e8ee;
	}

	/* Summary grid: 2 columns on tablet */
	.ds-account-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.7rem;
	}

	/* Support card spans full row on tablet */
	.ds-account-summary-card--support {
		grid-column: 1 / -1;
	}

	/* Support card: convert to horizontal layout when full-width */
	.ds-account-summary-card--support .ds-account-summary-card__support-links {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.5rem 1.2rem;
	}
}

/* ── 12. Responsive — mobile (≤640px): single-column, 20px edge padding ── */

@media (max-width: 640px) {

	.ds-account-greeting {
		margin-bottom: 0.9rem;
		padding-bottom: 0.8rem;
	}

	.ds-account-summary-grid {
		grid-template-columns: 1fr;
		gap: 0.6rem;
		margin-bottom: 1rem;
	}

	/* Support card back to auto column */
	.ds-account-summary-card--support {
		grid-column: auto;
	}

	/* 20px (1.25rem) edge padding inside the content panel */
	.logged-in.woocommerce-account .woocommerce-MyAccount-content {
		padding: 1.1rem 1.25rem !important;
		border-radius: 10px;
	}
}

/* ==========================================================================
   Support / Info page: full-width layout fix
   Shortcode-rendered info pages supply their own container + padding via
   the inner  .container.mx-auto.px-4  div and the ds-info-page section
   spacing.  The outer page.php wrapper must not add extra side-padding or
   constrain the prose article to 860 px.
   Uses CSS :has() — supported Chrome 105+, Firefox 121+, Safari 15.4+.
   ========================================================================== */

/* Remove outer side-padding so the shortcode's own container is the only
   source of gutters (prevents double 16 px padding on each side).          */
.ds-page-content:has(.ds-info-page) {
	padding-left: 0;
	padding-right: 0;
	padding-top: 0; /* info-page sections handle their own top spacing       */
}

/* Remove the 860 px prose cap so the inner container can reach full width. */
.ds-page-content:has(.ds-info-page) .prose {
	max-width: none;
}

/* Fallback for browsers without :has() support — prevent double gutters by
   offsetting the outer px-4 padding with a matching negative margin.       */
@supports not selector(.ds-page-content:has(.ds-info-page)) {
	.ds-page-content .ds-info-page {
		margin-left: -1rem;
		margin-right: -1rem;
	}

	.ds-page-content .prose {
		max-width: none;
	}
}

/* Single product: full-width branded add-to-cart button */
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button.alt,
body.single-product .woocommerce div.product form.cart .wp-element-button,
body.single-product .woocommerce div.product form.cart button[name="add-to-cart"] {
	width: 100% !important;
	background: var(--ds-primary) !important;
	border-color: var(--ds-primary) !important;
	color: var(--ds-surface) !important;
	font-family: var(--ds-font-display) !important;
	font-weight: 800 !important;
	font-size: 0.875rem !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	padding: 1.1rem 1.5rem !important;
	border-radius: 1rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	box-shadow: 0 4px 16px rgb(74 125 78 / 0.25) !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button.alt:hover,
body.single-product .woocommerce div.product form.cart .wp-element-button:hover,
body.single-product .woocommerce div.product form.cart button[name="add-to-cart"]:hover {
	background: var(--ds-gold) !important;
	border-color: var(--ds-gold) !important;
}

/* ─── Header Refresh (2026-03) ─── */
#site-header.navbar,
.navbar {
	background: linear-gradient(118deg, rgb(var(--ds-primary-rgb) / 0.09) 0%, var(--ds-bg) 32%, var(--ds-bg) 100%) !important;
	border-bottom: 1px solid rgb(var(--ds-primary-rgb) / 0.18) !important;
	box-shadow: 0 16px 42px rgb(var(--ds-text-rgb) / 0.12) !important;
	backdrop-filter: saturate(165%) blur(12px) !important;
}

#site-header .nav-group .nav-link,
#site-header .nav-item-mega > .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	border: 1px solid transparent;
	box-shadow: 0 10px 24px rgb(var(--ds-primary-rgb) / 0.08);
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

#site-header .nav-group .nav-link:hover,
#site-header .nav-item-mega > .nav-link:hover {
	/* background: rgb(var(--ds-primary-rgb) / 0.12) !important; */
	color: var(--ds-primary-dark) !important;
	border-color: rgb(var(--ds-primary-rgb) / 0.3);
	transform: translateY(-1px);
}

#site-header .nav-group .nav-link.is-active,
#site-header .nav-item-mega > .nav-link.is-active {
	background: rgb(var(--ds-primary-rgb) / 0.16) !important;
	color: var(--ds-primary-dark) !important;
	border-color: rgb(var(--ds-primary-rgb) / 0.38);
	box-shadow: 0 12px 28px rgb(var(--ds-primary-rgb) / 0.14);
}

#site-header .mega-menu-effect-pill {
	border: 1px solid transparent;
}

#site-header .mega-menu-effect-pill.is-active {
	background: rgb(var(--ds-primary-rgb) / 0.16) !important;
	border-color: rgb(var(--ds-primary-rgb) / 0.28) !important;
	color: var(--ds-primary-dark) !important;
}

#site-header .mega-menu--support {
	width: min(420px, calc(100vw - 2.2rem)) !important;
	max-width: 420px !important;
}

#site-header .mega-menu--support .mega-menu-simple-content {
	padding: 0.25rem 0.45rem;
}

.ds-mob-effect-link.is-active,
.ds-mob-link.is-active {
	background: rgb(var(--ds-primary-rgb) / 0.12);
	color: var(--ds-primary-dark) !important;
}

/* --------------------------------------------------------------------------
 * Header Canonical Lock (single source of truth)
 * Keep this block last in style.css to neutralize legacy duplicate header rules.
 * -------------------------------------------------------------------------- */
@media (max-width: 980px) {
	body.header-scrolled #site-header.navbar,
	body.header-scrolled .navbar {
		top: var(--ds-admin-bar-height, 0px) !important;
	}

	#site-header .nav-actions .mobile-search-btn,
	#site-header .nav-actions .cart-btn,
	#mobile-toggle.nav-icon-btn,
	#site-header .mobile-menu-btn {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: var(--mobile-action-size, 2.75rem) !important;
		height: var(--mobile-action-size, 2.75rem) !important;
		min-width: var(--mobile-action-size, 2.75rem) !important;
		min-height: var(--mobile-action-size, 2.75rem) !important;
		padding: 0;
		border: 0 !important;
		background: transparent !important;
		color: var(--ds-text) !important;
		border-radius: 10px;
	}

	#site-header .nav-actions .mobile-search-btn svg,
	#site-header .nav-actions .cart-btn svg,
	#site-header .mobile-menu-icon,
	#mobile-toggle.nav-icon-btn svg,
	#site-header .mobile-menu-btn svg {
		width: 20px;
		height: 20px;
	}

	#site-header .nav-actions .mobile-search-btn:hover,
	#site-header .nav-actions .mobile-search-btn:focus-visible,
	#site-header .nav-actions .cart-btn:hover,
	#site-header .nav-actions .cart-btn:focus-visible,
	#mobile-toggle.nav-icon-btn:hover,
	#mobile-toggle.nav-icon-btn:focus-visible,
	#site-header .mobile-menu-btn:hover,
	#site-header .mobile-menu-btn:focus-visible {
		background: rgb(74 125 78 / 0.1) !important;
		color: var(--ds-primary-dark) !important;
		box-shadow: 0 0 0 3px var(--ds-gold);
	}

	#site-header .nav-actions .mobile-search-btn:focus-visible,
	#site-header .nav-actions .cart-btn:focus-visible,
	#mobile-toggle.nav-icon-btn:focus-visible,
	#site-header .mobile-menu-btn:focus-visible {
		outline: 3px auto -webkit-focus-ring-color;
		outline-offset: 2px;
	}

	#mobile-toggle[aria-expanded="true"],
	#site-header .mobile-menu-btn[aria-expanded="true"] {
		background: var(--ds-primary) !important;
		color: var(--ds-surface) !important;
		box-shadow: 0 8px 18px rgb(74 125 78 / 0.26);
	}
}

@media (max-width: 980px) and (forced-colors: active) {
	#site-header .nav-actions .mobile-search-btn:focus-visible,
	#site-header .nav-actions .cart-btn:focus-visible,
	#mobile-toggle.nav-icon-btn:focus-visible,
	#site-header .mobile-menu-btn:focus-visible {
		outline: 2px solid Highlight;
		outline-offset: 2px;
		box-shadow: 0 0 0 2px Highlight;
		forced-color-adjust: auto;
	}
}
