/* =====================================================================
   PRODUCT public website
   Premium natural / modern minimal / botanical. Arabic (RTL) first.
   - Tokens: corporate defaults below; CMS appearance settings (design.*)
     override them through /assets/theme.css.
   - Each company sets its own palette and fonts in the site editor (design.* settings -> theme.css).
   - Logical properties throughout so RTL and LTR share one stylesheet.
   ===================================================================== */

:root {
  /* corporate palette */
  --c-primary: #203D2C;
  --c-dark: #14291E;
  --c-bg: #F8F5EE;
  --c-surface: #FFFFFF;
  --c-beige: #E8DDCC;
  --c-sage: #A8B59C;
  --c-accent: #B89A61;
  --c-text: #292C28;
  --c-muted: #5C6259;
  --c-line: #DDD5C6;
  --c-error: #9B2C2C;
  --c-success: #2F5D3A;

  /* type */
  --f-ar: "IBM Plex Sans Arabic";
  --f-body-en: "Inter";
  --f-heading-en: "Cormorant Garamond";
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-hero: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);

  /* space (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;

  --radius-sm: 4px;
  --radius: 8px;
  --shadow: 0 1px 2px rgb(20 41 30 / 6%), 0 8px 24px rgb(20 41 30 / 6%);
  --container: 1200px;

  /* ---- design system: the only values section settings may refer to (SectionStyles emits these names) ----
     Breakpoints (CSS variables cannot be used inside @media, so they are written as numbers in the rules):
     tablet <= 860px, mobile <= 640px. Layout adapts inside those by itself (auto-fit / minmax / clamp). */
  /* content widths */
  --w-narrow: 34rem;
  --w-content: 46rem;
  --w-wide: 64rem;
  --w-full: 100%;
  /* spacing scale for padding / gaps (fluid) */
  --space-none: 0px;
  --space-sm: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
  --space-md: clamp(1rem, 0.8rem + 0.9vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1rem + 1.8vw, 2.5rem);
  --space-xl: clamp(2rem, 1.2rem + 3.2vw, 4rem);
  /* radius scale */
  --radius-none: 0px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  /* icon sizes */
  --icon-sm: 1.5rem;
  --icon-md: 2rem;
  --icon-lg: 2.5rem;
  --icon-xl: 3.25rem;
  /* borders and shadows */
  --bw-none: 0px;
  --bw-thin: 1px;
  --bw-medium: 2px;
  --bw-thick: 4px;
  --shadow-none: none;
  --shadow-sm: 0 1px 3px rgb(20 41 30 / 8%);
  --shadow-md: 0 2px 6px rgb(20 41 30 / 6%), 0 14px 34px rgb(20 41 30 / 8%);
  --shadow-lg: 0 20px 50px rgb(0 0 0 / 22%);
  /* hero and divider heights (minimums only: content can always make them taller) */
  --hero-min-sm: clamp(20rem, 40vh, 26rem);
  --hero-min-md: clamp(26rem, 55vh, 36rem);
  --hero-min-lg: clamp(30rem, 70vh, 46rem);
  --hero-min-xl: clamp(32rem, 88vh, 56rem);
  --divider-sm: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  --divider-md: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  --divider-lg: clamp(3.5rem, 2rem + 6vw, 8rem);
  /* smallest width a card or benefit may get before it moves to a new row */
  --card-min: 10rem;
  --benefit-min: 8rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--fs-md);
  line-height: 1.7;
  font-family: var(--f-ar), "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: var(--f-body-en), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.65; }
[lang="ar"] { font-family: var(--f-ar), "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }
[lang="en"] { font-family: var(--f-body-en), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

h1, h2, h3 { color: var(--c-primary); line-height: 1.25; margin: 0 0 var(--s-4); font-weight: 600; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
[lang="en"] :is(h1, h2), :is(h1, h2)[lang="en"] { font-family: var(--f-heading-en), Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: .005em; }
p { margin: 0 0 var(--s-4); }
a { color: var(--c-primary); text-underline-offset: .2em; }
a:hover { color: var(--c-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-inline-start: 1.25em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }

.container { width: min(100% - 2 * var(--s-5), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; inset-inline-start: var(--s-4); top: -100px; z-index: 100; background: var(--c-primary); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s-2); }
.eyebrow { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; margin-bottom: var(--s-2); }
[lang="ar"] .eyebrow, .eyebrow[lang="ar"] { letter-spacing: 0; }
.pre-line { white-space: pre-line; }
.empty-state { padding: var(--s-7) var(--s-5); text-align: center; color: var(--c-muted); background: color-mix(in srgb, var(--c-beige) 35%, transparent); border-radius: var(--radius); }

/* ---------------------------------------------------------------- buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 46px; padding: 0 var(--s-5); border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: var(--fs-sm); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.button-primary { background: var(--c-primary); color: #fff; }
.button-primary:hover { background: var(--c-dark); color: #fff; }
.button-secondary { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.button-secondary:hover { background: var(--c-primary); color: #fff; }
.button-ghost { background: transparent; color: var(--c-primary); border-color: var(--c-line); }
.button-ghost:hover { border-color: var(--c-primary); }
.button-light { background: var(--c-bg); color: var(--c-primary); }
.button-light:hover { background: #fff; color: var(--c-dark); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-bg) 92%, transparent); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--c-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; color: var(--c-primary); }
.logo-img { max-height: 44px; width: auto; }
.wordmark-text { font-family: var(--f-heading-en), Georgia, serif; font-size: 1.55rem; font-weight: 600; letter-spacing: .12em; color: var(--c-primary); white-space: nowrap; }
.wordmark-light { color: var(--c-bg); }
.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.site-nav > ul { display: flex; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: var(--s-2) var(--s-3); text-decoration: none; color: var(--c-text); font-size: var(--fs-sm); border-radius: var(--radius-sm); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--c-primary); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-accent); }
.has-children { position: relative; }
.sub-nav { display: none; position: absolute; inset-inline-start: 0; top: 100%; min-width: 200px; list-style: none; margin: 0; padding: var(--s-2); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.has-children:hover > .sub-nav, .has-children:focus-within > .sub-nav { display: block; }
.lang-switch { font-size: var(--fs-sm); text-decoration: none; padding: var(--s-1) var(--s-3); border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-primary); }
.lang-switch:hover { border-color: var(--c-primary); }
.lang-switch-light { color: var(--c-bg); border-color: rgb(255 255 255 / 25%); }
.nav-search { display: flex; align-items: center; gap: var(--s-1); }
.nav-search input[type="search"] { width: 170px; min-height: 36px; padding: var(--s-1) var(--s-3); font-size: var(--fs-sm); border-radius: 999px; }
.nav-search-btn { min-height: 36px; padding: var(--s-1) var(--s-3); font: inherit; font-size: var(--fs-sm); color: var(--c-primary); background: transparent; border: 1px solid var(--c-line); border-radius: 999px; cursor: pointer; }
.nav-search-btn:hover { border-color: var(--c-primary); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; inset-inline-start: 11px; width: 20px; height: 2px; background: var(--c-primary); content: ""; transition: transform .2s var(--ease); }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -6px; inset-inline-start: 0; }
.nav-toggle-bar::after { top: 6px; inset-inline-start: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--s-3); padding: var(--s-4) var(--s-5) var(--s-5); background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .site-nav a { padding: var(--s-3) var(--s-2); font-size: var(--fs-md); }
  .sub-nav { display: block; position: static; border: 0; box-shadow: none; padding-inline-start: var(--s-4); background: transparent; }
  .nav-search input[type="search"] { width: auto; flex: 1; }
  .lang-switch { align-self: flex-start; }
}

/* ---------------------------------------------------------------- sections */
main { display: block; }
.section { padding-block: var(--s-8); }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; }
.section-head h2::after { content: ""; display: block; width: 48px; height: 1px; margin-top: var(--s-3); background: var(--c-accent); }
.section-intro { max-width: 640px; color: var(--c-muted); }
.section-title-center { text-align: center; }
.section-more { margin-top: var(--s-6); text-align: center; }
.page-head { margin-block: var(--s-5) var(--s-6); }
.page-head h1 { margin-bottom: var(--s-3); }
.page-lead, .hero-lead, .product-lead { font-size: var(--fs-lg); color: var(--c-muted); max-width: 62ch; }
.page-meta { color: var(--c-muted); font-size: var(--fs-sm); }

/* hero */
.hero { padding-block: var(--s-8) var(--s-8); background: linear-gradient(180deg, color-mix(in srgb, var(--c-beige) 30%, var(--c-bg)) 0%, var(--c-bg) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.hero:not(.hero-with-image) .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.hero.align-center .hero-text { text-align: center; margin-inline: auto; }
.hero-title { font-size: var(--fs-hero); margin-bottom: var(--s-4); }
.hero-wordmark { letter-spacing: .14em; font-family: var(--f-heading-en), Georgia, serif; }
.hero-text .button { margin-top: var(--s-3); }
.hero-media img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); }

/* split text + image */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.image-start .split-media { order: -1; }
.split-media img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s-6); }
.prose h3 { margin-top: var(--s-5); }
.prose ul, .prose ol { margin-bottom: var(--s-4); }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: var(--s-5); }
.prose th, .prose td { border: 1px solid var(--c-line); padding: var(--s-2) var(--s-3); text-align: start; }

/* brand panels */
.brand-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--s-5); }
.brand-panel { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: var(--s-7) var(--s-6); background: linear-gradient(160deg, var(--c-bg) 0%, color-mix(in srgb, var(--c-beige) 55%, var(--c-bg)) 100%); border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-text); }
.brand-panel-logo img { max-height: 64px; width: auto; }
.brand-wordmark { font-family: var(--f-heading-en), Georgia, serif; font-size: 1.9rem; letter-spacing: .14em; color: var(--c-primary); font-weight: 600; }
.brand-wordmark-lg { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.brand-panel-title { margin: 0; }
.brand-panel-text { color: var(--c-muted); flex: 1; }
.brand-panel .button { margin-top: var(--s-2); }

/* brand hero */
.brand-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--c-beige) 45%, var(--c-bg)) 0%, var(--c-bg) 100%); padding-block: var(--s-5) var(--s-8); }
.brand-hero-inner { display: grid; grid-template-columns: minmax(220px, 420px) minmax(0, 1fr); gap: var(--s-7); align-items: center; margin-top: var(--s-5); }
.brand-hero-logo img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 2px 6px rgb(20 41 30 / 8%), 0 10px 28px rgb(20 41 30 / 10%); }
.brand-hero-text h1 { font-size: var(--fs-2xl); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.chip { padding: var(--s-1) var(--s-4); border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; font-size: var(--fs-sm); background: var(--c-surface); }
.chip:hover { border-color: var(--c-primary); }

/* product grid & cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--s-5); }
.product-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.product-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.product-card-link:focus-visible { outline-offset: -3px; }

.media-placeholder { display: grid; gap: var(--s-1); justify-items: center; color: var(--c-muted); font-size: var(--fs-xs); padding: var(--s-4); text-align: center; }
.media-placeholder-mark { font-family: var(--f-heading-en), Georgia, serif; font-size: 1.35rem; letter-spacing: .16em; color: color-mix(in srgb, var(--c-primary) 90%, var(--c-beige)); }
.product-card-body { padding: var(--s-4) var(--s-4) var(--s-2); flex: 1; }
.product-card-title { font-size: var(--fs-md); margin-bottom: var(--s-2); color: var(--c-text); font-weight: 600; font-family: inherit; }
.product-card-text { color: var(--c-muted); font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.product-card-footer { padding: 0 var(--s-4) var(--s-4); }

/* prices */
.price-list { margin: 0; }
.price-list dd { margin: 0 0 var(--s-1); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); }
.price-amount { font-weight: 600; color: var(--c-primary); font-size: var(--fs-md); }
.price-currency { font-size: var(--fs-sm); color: var(--c-muted); }
.price-previous { font-size: var(--fs-sm); color: var(--c-muted); }
.product-prices .price-amount { font-size: var(--fs-xl); }

/* product detail */
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; margin-block: var(--s-4) var(--s-8); }
.gallery { position: sticky; top: 96px; }
.gallery-main { margin: 0; min-height: 240px; background: color-mix(in srgb, var(--c-beige) 40%, var(--c-bg)); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: auto; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: var(--s-2); list-style: none; padding: 0; margin: var(--s-3) 0 0; }
.gallery-thumb { display: block; aspect-ratio: 1; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-surface); overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: var(--s-1); }
.gallery-thumb[aria-current="true"] { border-color: var(--c-primary); box-shadow: 0 0 0 1px var(--c-primary); }
.product-title { font-size: var(--fs-2xl); }
.product-prices { padding-block: var(--s-4); border-block: 1px solid var(--c-line); margin-bottom: var(--s-5); }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-6); font-size: var(--fs-sm); }
.spec-list dt { color: var(--c-muted); }
.spec-list dd { margin: 0; }
.product-block { padding-block: var(--s-4); border-top: 1px solid var(--c-line); }
.product-block h2 { font-size: var(--fs-lg); font-family: inherit; margin-bottom: var(--s-2); }
.product-warnings { background: color-mix(in srgb, var(--c-beige) 30%, transparent); padding-inline: var(--s-4); border-radius: var(--radius-sm); }

/* features */
.features-section { background: color-mix(in srgb, var(--c-beige) 28%, var(--c-bg)); padding-block: var(--s-8); }
.feature-grid { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feature { text-align: center; }
.feature-mark { display: block; width: 28px; height: 28px; margin: 0 auto var(--s-3); border-radius: 0 70% 0 70%; background: var(--c-sage); }
.feature h3 { font-size: var(--fs-md); font-family: inherit; }
.feature p { color: var(--c-muted); font-size: var(--fs-sm); }

/* contact */
.contact-section { background: var(--c-surface); padding-block: var(--s-8); }
.contact-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-5) var(--s-6); }
.contact-section .contact-card { background: var(--c-bg); }
.contact-details { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-4); }
.contact-details dt { color: var(--c-muted); font-size: var(--fs-sm); }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-7); align-items: start; margin-block: var(--s-6) var(--s-8); }
.contact-layout > :only-child { grid-column: 1 / -1; max-width: 760px; }
.social-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.social-list a { display: inline-block; padding: var(--s-1) var(--s-4); border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; font-size: var(--fs-sm); }
.social-section .social-list { justify-content: center; }

/* call to action */
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; padding: var(--s-7); border-radius: var(--radius); background: var(--c-primary); color: var(--c-bg); }
.cta-with-image { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.cta-box h2 { color: var(--c-bg); }
.cta-media { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-sm); }

/* forms */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: var(--s-4); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-6); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.filter-actions { display: flex; gap: var(--s-2); }
.field { display: flex; flex-direction: column; gap: var(--s-1); margin-bottom: var(--s-4); min-width: 200px; }
.filters .field { margin-bottom: 0; }
label { font-size: var(--fs-sm); font-weight: 500; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%; min-height: 46px; padding: var(--s-2) var(--s-3); font: inherit; color: var(--c-text);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--c-primary); outline: 2px solid color-mix(in srgb, var(--c-primary) 25%, transparent); outline-offset: 0; }
.has-error input, .has-error textarea { border-color: var(--c-error); }
.field-error { color: var(--c-error); font-size: var(--fs-sm); margin: 0; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: var(--s-2); }
.field-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--c-primary); }
.field-check label { flex: 1; font-weight: 400; }
.field-check .field-error, .consent-link { flex-basis: 100%; padding-inline-start: 28px; }
.honeypot { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { color: var(--c-muted); font-size: var(--fs-sm); }
.contact-form-wrap { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-6); }
.notice { padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); margin-bottom: var(--s-4); }
.notice-success { background: color-mix(in srgb, var(--c-success) 12%, #fff); color: var(--c-success); border: 1px solid color-mix(in srgb, var(--c-success) 35%, #fff); }
.notice-error { background: color-mix(in srgb, var(--c-error) 8%, #fff); color: var(--c-error); border: 1px solid color-mix(in srgb, var(--c-error) 30%, #fff); }
.fallback-notice { display: inline-block; font-size: var(--fs-sm); color: var(--c-muted); background: color-mix(in srgb, var(--c-beige) 45%, transparent); padding: var(--s-1) var(--s-3); border-radius: var(--radius-sm); margin-block: var(--s-3); }

/* breadcrumb & pagination */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: var(--s-5) 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: var(--s-2); color: var(--c-line); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--s-4); margin-block: var(--s-7); }
.pagination-status { color: var(--c-muted); font-size: var(--fs-sm); }

/* footer */
.site-footer { background: var(--c-dark); color: color-mix(in srgb, var(--c-bg) 85%, transparent); margin-top: var(--s-8); }
.site-footer a { color: var(--c-bg); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: var(--s-7); padding-block: var(--s-8) var(--s-6); }
.footer-tagline { margin-top: var(--s-3); color: var(--c-sage); }
.footer-text { font-size: var(--fs-sm); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-heading { font-size: var(--fs-sm); color: var(--c-sage); margin: var(--s-4) 0 var(--s-2); }
.site-footer .contact-details dt { color: var(--c-sage); }
.site-footer .social-list a { border-color: rgb(255 255 255 / 20%); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); padding-block: var(--s-4) var(--s-5); border-top: 1px solid rgb(255 255 255 / 12%); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }

/* error page */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--s-8); }
.error-code { font-family: var(--f-heading-en), Georgia, serif; font-size: 4rem; color: var(--c-accent); margin: 0; }
.error-page .button { margin: var(--s-2); }

/* ---------------------------------------------------------------- interaction
   Shared hover / focus / pressed states. Shadows reuse the tint of the existing --shadow
   token; hover shades are colours already in the palette (--c-primary -> --c-dark). */
.button { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .18s var(--ease), box-shadow .2s var(--ease); }
.button:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.button:active { transform: scale(.97); box-shadow: none; }
@media (hover: hover) {
  .button-primary:hover, .button-secondary:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 6px 16px rgb(20 41 30 / 14%); }
}
.media-frame { position: relative; overflow: hidden; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c-beige) 40%, var(--c-bg)); }
/* Images are always shown whole: the frame takes the image's own proportions, so nothing is cropped
   and there are no empty bands. Frames without an image keep a 4:3 placeholder. */
.media-frame > img { display: block; width: 100%; height: auto; object-fit: contain; padding: 0; }
.media-frame > .media-placeholder { width: 100%; aspect-ratio: 4 / 3; align-content: center; }
.product-card, .brand-card, .brand-panel, .contact-card, .contact-form-wrap, .summary-strip, .cta-box, .filters, .gallery-main {
  box-shadow: 0 2px 6px rgb(20 41 30 / 8%), 0 10px 28px rgb(20 41 30 / 10%); }
.product-card, .brand-card, .brand-panel { transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.product-card:focus-within, .brand-card:focus-within { border-color: var(--c-accent); }
.product-card-link:focus-visible { outline: 3px solid var(--c-accent); outline-offset: -3px; border-radius: var(--radius); }
@media (hover: hover) {
  .product-card:hover, .brand-card:hover, .brand-panel:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgb(20 41 30 / 10%), 0 18px 40px rgb(20 41 30 / 14%); }
}

/* ---------------------------------------------------------------- home page
   Layout follows the approved home design: hero (text + wide image), brand cards,
   latest products, summary strip. Colours come only from the existing tokens. */
.button-arrow::after { content: ""; width: .5em; height: .5em; border-block-start: 1.5px solid currentColor; border-inline-start: 1.5px solid currentColor; transform: rotate(-45deg); margin-inline-start: var(--s-1); }
[dir="rtl"] .button-arrow::after { transform: rotate(-45deg) scaleX(-1); }
[dir="ltr"] .button-arrow::after { transform: rotate(135deg); }
.title-rule { display: block; width: 56px; height: 2px; background: var(--c-accent); margin-block: var(--s-4) var(--s-5); }
.section-head-center { text-align: center; margin-bottom: var(--s-6); }
.section-head-center h2 { margin: 0; }
.section-head-center h2::after { content: ""; display: block; width: 48px; height: 2px; margin: var(--s-3) auto 0; background: var(--c-accent); }
.section-head-center .section-intro { margin: var(--s-3) auto 0; }
.page-home .home-section, .page-home .features-section { padding-block: var(--s-7) 0; }
.page-home main > :last-child { padding-bottom: var(--s-7); }
.page-home .site-footer { margin-top: 0; }

/* hero: text on the start side; with an image, the image fills the end half edge to edge */
.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-beige) 30%, var(--c-bg)) 0%, var(--c-bg) 100%); }
.home-hero-inner { padding-block: var(--s-7); }
.home-hero:not(.has-image) .home-hero-inner { padding-block: var(--s-6); }
.home-hero:not(.has-image) .home-hero-text { max-width: 760px; margin-inline: auto; text-align: center; }
.home-hero:not(.has-image) .title-rule { margin-inline: auto; }
.home-hero-text { max-width: 560px; }
.home-hero.align-center .home-hero-text { margin-inline: auto; text-align: center; }
.home-hero.align-center .title-rule { margin-inline: auto; }
.home-hero-title { font-size: var(--fs-hero); margin: 0; }
.home-hero-lead { font-size: var(--fs-lg); color: var(--c-muted); max-width: 46ch; margin-bottom: var(--s-5); }
.home-hero:not(.has-image) .home-hero-lead { margin-inline: auto; }
.home-hero.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: clamp(380px, 38vw, 520px); }
.home-hero.has-image .home-hero-inner { grid-column: 1 / -1; grid-row: 1; justify-self: center; position: relative; z-index: 1; width: min(100% - 2 * var(--s-5), var(--container)); }
.home-hero.has-image .home-hero-text { max-width: min(44%, 540px); }
.home-hero-media { grid-column: 2; grid-row: 1; align-self: stretch; position: relative; overflow: hidden;
  border-start-start-radius: 22% 50%; border-end-start-radius: 22% 50%; }
.home-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 860px) {
  .home-hero.has-image { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .home-hero.has-image .home-hero-text { max-width: none; }
  .home-hero-media { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 9; border-radius: 0; }
  .home-hero-inner { padding-block: var(--s-6) var(--s-5); }
}

/* brand cards: equal height, text half + image half */
.brand-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: var(--s-5); align-items: stretch; }
.brand-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--c-bg) 0%, color-mix(in srgb, var(--c-beige) 45%, var(--c-bg)) 100%); }
.brand-card-text { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--s-2); padding: var(--s-5); }
.brand-card-mark { display: grid; justify-items: center; gap: var(--s-1); }
.brand-leaf { width: 30px; height: 30px; fill: none; stroke: var(--c-accent); stroke-width: 1.4; stroke-linejoin: round; }
.brand-card-wordmark { font-family: var(--f-heading-en), Georgia, serif; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); letter-spacing: .12em; color: var(--c-primary); font-weight: 600; line-height: 1.1; }
.brand-card-name { margin: 0; font-size: var(--fs-lg); color: var(--c-primary); font-family: inherit; }
.brand-card-desc { color: var(--c-muted); font-size: var(--fs-sm); max-width: 34ch; margin: var(--s-1) 0 0; }
.brand-card-text > .button { margin-top: var(--s-4); }
.brand-card-media { order: -1; border-bottom: 1px solid var(--c-line); }

/* latest products: full width, 3 / 2 / 1 columns; few items stay centred instead of hugging one side */
.home-products .product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); }
.home-products .product-grid > .product-card { flex: 0 1 calc((100% - 2 * var(--s-5)) / 3); min-width: 0; }

.home-products .product-card-body { text-align: center; padding: var(--s-4) var(--s-4) var(--s-5); }
.home-products .product-card-title { margin: 0; }
.home-products .eyebrow { margin-bottom: var(--s-1); }
@media (max-width: 960px) {
  .home-products .product-grid > .product-card { flex-basis: calc((100% - var(--s-4)) / 2); }
  .home-products .product-grid { gap: var(--s-4); }
}
@media (max-width: 560px) {
  .home-products .product-grid > .product-card { flex-basis: 100%; }
}

/* summary strip */
.summary-strip { list-style: none; margin: 0; padding: var(--s-4); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  background: color-mix(in srgb, var(--c-beige) 30%, var(--c-bg)); border: 1px solid var(--c-line); border-radius: var(--radius); }
.summary-strip > li + li { border-inline-start: 1px solid var(--c-line); }
.summary-item { display: grid; justify-items: center; gap: var(--s-1); padding: var(--s-3) var(--s-4); text-align: center; text-decoration: none; color: inherit; border-radius: var(--radius-sm); transition: background-color .2s var(--ease); }
a.summary-item:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
@media (hover: hover) {
  a.summary-item:hover { background: color-mix(in srgb, var(--c-beige) 35%, transparent); }
  a.summary-item:hover .summary-title { color: var(--c-dark); }
}
.summary-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--c-sage) 25%, var(--c-bg)); margin-bottom: var(--s-1); }
.summary-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--c-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.summary-title { font-weight: 600; color: var(--c-primary); }
.summary-text { font-size: var(--fs-sm); color: var(--c-muted); }
.features-section { background: transparent; }
.features-section .section-title-center { margin-bottom: var(--s-5); }
@media (max-width: 600px) {
  .summary-strip > li + li { border-inline-start: 0; border-top: 1px solid var(--c-line); }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .product-detail, .contact-layout, .cta-with-image { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .image-start .split-media { order: 0; }
  .gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .brand-hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
}
@media (max-width: 600px) {
  :root { --s-8: 3rem; --s-7: 2rem; }
  .container { width: min(100% - 2 * var(--s-4), var(--container)); }
  .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  .product-card-body { padding: var(--s-3) var(--s-3) var(--s-1); }
  .product-card-footer { padding: 0 var(--s-3) var(--s-3); }
  .filters { flex-direction: column; align-items: stretch; }
  .field { min-width: 0; }
  .contact-form-wrap, .contact-card, .cta-box, .brand-panel { padding: var(--s-5); }
  .wordmark-text { font-size: 1.25rem; }
  .spec-list, .contact-details { grid-template-columns: 1fr; gap: 0 var(--s-4); }
  .spec-list dd, .contact-details dd { margin-bottom: var(--s-2); }
}
@media (max-width: 360px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- design v2 (approved homepage mockup)
   Layout and decoration only. Colours: existing tokens. */
:root { --c-lavender: #88718E; --radius-lg: 18px; }

/* header */
.header-row { min-height: 72px; }
.logo-img { max-height: 52px; }
.wordmark { text-decoration: none; }
.wordmark-lockup { display: inline-flex; align-items: center; gap: var(--s-2); }
.wordmark-leaf { width: 38px; height: 38px; fill: color-mix(in srgb, var(--c-sage) 55%, transparent); stroke: var(--c-accent); stroke-width: 1.2; stroke-linejoin: round; flex: none; }
.wordmark-names { display: grid; line-height: 1.1; }
.wordmark-names .wordmark-text { font-size: 1.35rem; font-weight: 700; color: var(--c-primary); }
.wordmark-latin { font-family: var(--f-heading-en), Georgia, serif; font-size: .78rem; letter-spacing: .18em; color: var(--c-primary); }
.site-nav { gap: var(--s-4); }
.nav-search { position: relative; }
.nav-search input[type="search"] { width: 190px; min-height: 38px; padding-inline: var(--s-3) 40px; background: var(--c-surface); }
.nav-search-btn { position: absolute; inset-inline-end: 3px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; min-height: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.nav-search-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--c-primary); stroke-width: 1.8; stroke-linecap: round; }
.nav-search-btn:hover { background: color-mix(in srgb, var(--c-beige) 50%, transparent); }
.site-nav .lang-switch-solid, .lang-switch-solid { background: var(--c-primary); color: #fff; border-color: var(--c-primary); font-weight: 500; padding: var(--s-1) var(--s-4); border-radius: 10px; }
.site-nav .lang-switch-solid:hover, .lang-switch-solid:hover { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }

/* hero */
.nl-hero { position: relative; overflow: hidden; padding-bottom: 40px;
  background: radial-gradient(90% 120% at 15% 10%, color-mix(in srgb, var(--c-sage) 18%, var(--c-bg)) 0%, transparent 60%),
              linear-gradient(180deg, color-mix(in srgb, var(--c-beige) 40%, var(--c-bg)) 0%, color-mix(in srgb, var(--c-beige) 20%, var(--c-bg)) 100%); }
.nl-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "art text"; align-items: center; gap: var(--s-6); padding-block: var(--s-7) var(--s-6); }
.nl-hero-text { grid-area: text; text-align: center; max-width: 520px; justify-self: center; }
.nl-hero-title { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); font-weight: 700; margin: 0 0 var(--s-2); line-height: 1.15; }
.nl-hero-subtitle { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 600; color: var(--c-primary); margin: 0 0 var(--s-4); }
.nl-hero-lead { color: var(--c-muted); font-size: var(--fs-md); max-width: 42ch; margin: 0 auto var(--s-6); }
.nl-hero-cta { min-height: 52px; padding-inline: var(--s-6); box-shadow: 0 8px 20px rgb(20 41 30 / 18%); }
.nl-hero-art { grid-area: art; justify-self: center; width: min(100%, 540px); }
.nl-hero-art svg { display: block; width: 100%; height: auto; }
.art-blob { fill: color-mix(in srgb, var(--c-sage) 30%, var(--c-bg)); }
.art-leaf { stroke: none; }
.art-leaf-a { fill: color-mix(in srgb, var(--c-primary) 82%, var(--c-sage)); }
.art-leaf-b { fill: color-mix(in srgb, var(--c-sage) 85%, var(--c-primary)); }
.art-leaf-c { fill: color-mix(in srgb, var(--c-primary) 55%, var(--c-sage)); }
.art-vein { fill: none; stroke: color-mix(in srgb, var(--c-bg) 70%, transparent); stroke-width: 2; stroke-linecap: round; }
.art-seed { fill: var(--c-accent); opacity: .85; }
.nl-wave { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 48px; fill: var(--c-bg); }

/* section heading with gold ornament */
.nl-head { text-align: center; margin-bottom: var(--s-6); }
.nl-head h2 { margin: 0 0 var(--s-2); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 700; }
.ornament { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--c-accent); }
.ornament::before, .ornament::after { content: ""; width: clamp(60px, 12vw, 130px); height: 1px; background: color-mix(in srgb, var(--c-accent) 70%, transparent); }
.ornament svg { width: 30px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }

/* brand cards: text half + image half, side by side */
.brand-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: var(--s-6); }
.brand-card { flex-direction: row; align-items: stretch; min-height: 240px; border-radius: var(--radius-lg); border-color: color-mix(in srgb, var(--c-line) 70%, transparent);
  background: linear-gradient(120deg, #fff 0%, color-mix(in srgb, var(--c-beige) 45%, var(--c-bg)) 100%); }
.brand-card-text { flex: 1 1 50%; padding: var(--s-6) var(--s-5); gap: var(--s-1); }
.brand-leaf { width: 38px; height: 38px; fill: color-mix(in srgb, var(--c-accent) 25%, transparent); }
.brand-card-wordmark { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem); letter-spacing: .06em; font-weight: 500; }
.brand-card-name { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem); font-weight: 700; }
.brand-card-desc { color: var(--c-text); max-width: 30ch; }
.brand-card-media { order: 0; flex: 1 1 50%; border: 0; background: transparent; padding: var(--s-4); align-content: center; }
.brand-card-media > img { max-height: 280px; width: auto; max-width: 100%; margin-inline: auto; border-radius: 14px; }
.brand-card.has-image .brand-card-text { text-align: center; }
@media (max-width: 720px) {
  .brand-card { flex-direction: column; }
  .brand-card-media { order: -1; padding-bottom: 0; }
}

/* latest products: 4 / 2 / 2 columns */
.home-products .product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); }
.home-products .product-grid > .product-card { flex: 0 1 calc((100% - 3 * var(--s-5)) / 4); min-width: 0; }
.home-products .product-card { border-radius: 14px; border-color: color-mix(in srgb, var(--c-line) 70%, transparent); }
.home-products .product-card-body { display: flex; flex-direction: column; text-align: start; padding: var(--s-4) var(--s-4) var(--s-2); }
.home-products .product-card-title { order: 1; margin: 0 0 var(--s-1); font-size: var(--fs-md); }
.home-products .product-card-body .eyebrow { order: 2; margin: 0; font-size: var(--fs-sm); letter-spacing: 0; text-transform: none; color: var(--c-muted); font-weight: 400; }
.home-products .product-card-text { display: none; }
.home-products .price-amount { font-size: var(--fs-lg); font-weight: 700; }
@media (max-width: 960px) {
  .home-products .product-grid { gap: var(--s-4); }
  .home-products .product-grid > .product-card { flex-basis: calc((100% - var(--s-4)) / 2); }
}
@media (max-width: 560px) {
  .home-products .product-grid { gap: var(--s-3); }
  .home-products .product-grid > .product-card { flex-basis: calc((100% - var(--s-3)) / 2); }
  .home-products .product-card-body { padding: var(--s-3) var(--s-3) var(--s-1); }
}

/* features strip */
.features-strip { list-style: none; margin: 0; padding: var(--s-5) var(--s-4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: color-mix(in srgb, #fff 55%, var(--c-bg)); border: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); border-radius: 28px;
  box-shadow: 0 2px 6px rgb(20 41 30 / 6%), 0 14px 34px rgb(20 41 30 / 8%); }
.feature-item { display: grid; justify-items: center; gap: 2px; padding: var(--s-3) var(--s-4); text-align: center; text-decoration: none; color: inherit; border-radius: 16px; transition: background-color .2s var(--ease); }
a.feature-item:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
@media (hover: hover) { a.feature-item:hover { background: color-mix(in srgb, var(--c-beige) 30%, transparent); } }
.feature-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--c-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s-2); }
.feature-title { font-weight: 700; color: var(--c-primary); font-size: var(--fs-lg); }
.feature-text { font-size: var(--fs-sm); color: var(--c-muted); }

/* footer: dark green with a curved top edge */
.site-footer { position: relative; margin-top: calc(var(--s-8) + 50px); }
.page-home .site-footer { margin-top: calc(var(--s-7) + 50px); }
.footer-wave { position: absolute; inset-inline: 0; top: -49px; width: 100%; height: 50px; fill: var(--c-dark); }
.footer-grid { grid-template-columns: 1.1fr 1.2fr 1.1fr; gap: 0; padding-block: var(--s-6) var(--s-6); align-items: center; }
.footer-grid > * { padding-inline: var(--s-6); }
.footer-grid > * + * { border-inline-start: 1px solid rgb(255 255 255 / 14%); }
.footer-brand { display: grid; justify-items: center; text-align: center; gap: 2px; }
.footer-leaf { width: 54px; height: 54px; fill: color-mix(in srgb, var(--c-accent) 35%, transparent); stroke: var(--c-accent); stroke-width: 1.1; stroke-linejoin: round; }
.footer-logo-img { max-height: 96px; max-width: 240px; width: auto; height: auto; object-fit: contain; margin-bottom: var(--s-2);
  padding: var(--s-3) var(--s-4); background: var(--c-bg); border-radius: 14px; box-shadow: 0 6px 18px rgb(0 0 0 / 18%); }
.footer-name { font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1.2; }
.footer-latin { font-family: var(--f-heading-en), Georgia, serif; letter-spacing: .14em; color: var(--c-accent); font-size: 1.05rem; }
.footer-tagline { margin: var(--s-2) 0 0; color: color-mix(in srgb, #fff 85%, transparent); }
.footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-6); justify-items: center; }
.footer-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.footer-contact-list li { display: flex; align-items: center; gap: var(--s-3); }
.footer-contact-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--c-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-list a { text-decoration: none; }
.footer-contact-list a:hover { text-decoration: underline; }
.footer-bottom { border-top-color: rgb(255 255 255 / 14%); }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: var(--s-6); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > * + * { border-inline-start: 0; }
  .footer-contact { border-inline-start: 1px solid rgb(255 255 255 / 14%) !important; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { border-inline-start: 0 !important; justify-self: center; }
  .footer-grid > * { padding-inline: var(--s-4); }
}

/* hero responsive */
@media (max-width: 860px) {
  .nl-hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "art"; gap: var(--s-4); padding-block: var(--s-6) var(--s-4); }
  .nl-hero-art { width: min(100%, 380px); }
  .nav-search input[type="search"] { width: 100%; }
  .nav-search { width: 100%; }
  .lang-switch-solid { align-self: flex-start; }
}

/* ---------------------------------------------------------------- design v3 (approved full-page mockup)
   Layout and decoration only; colours from the tokens plus the brand-card tints given in the spec. */

/* header: logo on the left in both languages, language toggle with both options */
[dir="rtl"] .header-row { flex-direction: row-reverse; }
[dir="rtl"] .site-nav .lang-toggle { order: -1; }
.header-row { min-height: 76px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface); }
[dir="rtl"] .lang-toggle { padding: 3px 10px 3px 4px; }
.lang-globe { width: 18px; height: 18px; fill: none; stroke: var(--c-primary); stroke-width: 1.5; margin-inline-end: 4px; flex: none; }
.site-nav .lang-toggle a, .lang-toggle a { padding: 4px 12px; border-radius: 999px; font-size: var(--fs-sm); color: var(--c-text); text-decoration: none; line-height: 1.6; box-shadow: none; }
.site-nav .lang-toggle a[aria-current], .lang-toggle a[aria-current] { background: var(--c-primary); color: #fff; }
.lang-toggle a:not([aria-current]):hover { color: var(--c-primary); background: color-mix(in srgb, var(--c-beige) 45%, transparent); }
.lang-toggle-light { background: transparent; border-color: rgb(255 255 255 / 25%); }
.lang-toggle-light .lang-globe { stroke: var(--c-accent); }
.lang-toggle-light a { color: color-mix(in srgb, #fff 85%, transparent); }
.lang-toggle-light a[aria-current] { background: var(--c-bg); color: var(--c-primary); }
.lang-toggle-light a:not([aria-current]):hover { color: #fff; background: rgb(255 255 255 / 10%); }
@media (max-width: 860px) {
  .header-row { min-height: 64px; }
  .site-nav .lang-toggle { align-self: flex-start; }
}

/* hero: text + image, benefits row, green and gold swoosh */
.nl-hero { background: color-mix(in srgb, var(--c-beige) 35%, var(--c-bg)); padding-bottom: 70px; }
.nl-hero-inner { min-height: 460px; padding-block: var(--s-6) var(--s-5); }
[dir="ltr"] .nl-hero-inner { grid-template-areas: "text art"; }
.nl-hero-media { grid-area: art; justify-self: stretch; align-self: center; display: grid; place-items: center; }
.nl-hero-media img { width: 100%; height: auto; max-height: 460px; object-fit: contain; border-radius: 28px; }
.nl-benefits { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.nl-benefits li { display: grid; justify-items: center; gap: var(--s-1); padding-inline: var(--s-5); font-size: var(--fs-sm); font-weight: 600; color: var(--c-primary); }
.nl-benefits svg { width: 30px; height: 30px; fill: none; stroke: var(--c-accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nl-wave { display: none; }
.nl-swoosh { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 90px; }
.swoosh-green { fill: var(--c-primary); }
.swoosh-gold { fill: none; stroke: var(--c-accent); stroke-width: 2.5; }
.swoosh-bg { fill: var(--c-bg); }
@media (max-width: 860px) {
  .nl-hero-inner { min-height: 0; }
  [dir="ltr"] .nl-hero-inner { grid-template-areas: "text" "art"; }
  .nl-hero-media img { max-height: 320px; }
  .nl-swoosh { height: 50px; }
  .nl-hero { padding-bottom: 40px; }
  .nl-benefits li { padding-inline: var(--s-3); }
}

/* section heading with a "view all" link at the end */
.nl-head-with-link { position: relative; }
.nl-head-link { position: absolute; inset-inline-end: 0; bottom: 4px; font-size: var(--fs-sm); font-weight: 500; color: var(--c-primary); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-1); border-bottom: 1px solid var(--c-accent); padding-bottom: 2px; }
.nl-head-link:hover { color: var(--c-dark); }
@media (max-width: 640px) {
  .nl-head-link { position: static; margin-top: var(--s-3); }
  .nl-head-with-link { display: grid; justify-items: center; }
}

/* brand cards: image on the right, brand tints from the spec */
[dir="rtl"].brand-card .brand-card-media, [dir="rtl"] .brand-card-media { order: -1; }
.brand-card { border-radius: 18px; }
@media (max-width: 720px) {
  [dir="rtl"] .brand-card-media, .brand-card-media { order: -1; }
}

/* product cards: square image frame, brand badge, subtle zoom */
.product-card { border-radius: 14px; background: #fff; }
.product-card-media { aspect-ratio: 1 / 1; background: color-mix(in srgb, var(--c-beige) 70%, #fff); }
.product-card-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: filter .3s var(--ease); }   /* fills the whole frame, edge to edge */
.product-card-media > .media-placeholder { aspect-ratio: auto; height: 100%; }
.product-badge { position: absolute; bottom: 8px; inset-inline-start: 50%; transform: translateX(-50%); padding: 1px 12px; border-radius: 999px; background: #fff; color: var(--c-primary); font-size: var(--fs-xs); font-weight: 600; box-shadow: 0 2px 6px rgb(20 41 30 / 12%); white-space: nowrap; }
[dir="rtl"] .product-badge { transform: translateX(50%); }
.home-products .product-card-body { text-align: start; padding-top: var(--s-4); }
.home-products .product-card-title { order: 0; }
.product-card-footer .price-amount { font-size: var(--fs-lg); font-weight: 700; }
/* (no zoom inside the frame: product photos are never cropped) */

/* four benefits (columns, separators and spacing: design-system layer at the end of this file) */
.features-strip { background: color-mix(in srgb, var(--c-beige) 35%, var(--c-bg)); border-radius: 22px; }
@media (max-width: 640px) { .feature-title { font-size: var(--fs-md); } }

/* about teaser */
.nl-about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: center; }
.nl-about-inner.no-image { grid-template-columns: minmax(0, 1fr); max-width: 760px; text-align: center; }
.nl-about-text h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 700; }
.nl-about-text p { color: var(--c-text); max-width: 52ch; }
.nl-about-inner.no-image p { margin-inline: auto; }
.nl-about-media { position: relative; }
.nl-about-media::before { content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--c-accent); border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; opacity: .7; pointer-events: none; }
.nl-about-media img { width: 100%; height: auto; object-fit: contain; border-radius: 28px; position: relative; }
.button-outline-gold { background: transparent; color: var(--c-primary); border-color: var(--c-accent); }
.button-outline-gold:hover { background: var(--c-accent); color: #fff; }
@media (max-width: 860px) {
  .nl-about-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
}

/* footer: titles, social icons */
.footer-title { color: #fff; font-weight: 700; font-size: var(--fs-lg); margin: 0 0 var(--s-3); }
.footer-nav { display: grid; justify-items: center; }
.footer-nav ul { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s-2); }
.footer-contact { display: grid; justify-items: start; }
.social-icons { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; gap: var(--s-2); justify-content: center; }
.social-icons a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 22%); color: #fff; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.social-icons a:hover { background: var(--c-accent); border-color: var(--c-accent); }
.social-icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .footer-contact { justify-items: center; }
}

/* scroll reveal (only when JavaScript runs; content stays visible otherwise) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- design v3: inner pages
   Same identity as the home page: cream banner with breadcrumb, centred title and gold ornament,
   rounded white cards with soft shadows, gold accents. Colours only from the existing tokens. */
.page-banner { position: relative; background: color-mix(in srgb, var(--c-beige) 35%, var(--c-bg)); padding-block: var(--s-2) var(--s-7);
  border-bottom: 1px solid color-mix(in srgb, var(--c-line) 60%, transparent); margin-bottom: var(--s-6); }
.page-banner::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-accent) 20%, var(--c-accent) 80%, transparent); opacity: .55; }
.page-banner .page-head { text-align: center; margin: var(--s-5) auto 0; max-width: 760px; }
.page-banner .page-head h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); font-weight: 700; margin-bottom: var(--s-2); }
.page-banner .page-head .ornament { margin-bottom: var(--s-3); }
.page-banner .page-lead, .page-banner .page-meta { margin-inline: auto; }
.page-banner-slim { padding-block: var(--s-1) var(--s-4); margin-bottom: var(--s-5); }
.page-banner-slim .breadcrumb ol { margin-top: var(--s-4); }
.page-body { padding-bottom: var(--s-7); }
.breadcrumb [aria-current="page"] { color: var(--c-primary); font-weight: 500; }

/* products list: filter bar as a floating card under the banner */
.page-products .page-banner { margin-bottom: 0; padding-bottom: var(--s-8); }
.page-products .filters { position: relative; margin-top: calc(-1 * var(--s-7)); border-radius: 18px; z-index: 1; background: #fff; }
.page-products .product-grid, .page-brand .product-grid, .page-product .related .product-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); }
.page-products .product-grid > .product-card, .page-brand .product-grid > .product-card, .page-product .related .product-grid > .product-card {
  flex: 0 1 calc((100% - 3 * var(--s-5)) / 4); min-width: 0; }
.product-card-body { display: flex; flex-direction: column; }
.product-card-title { order: 0; }
.product-card-body .eyebrow { display: none; }            /* the brand is shown as a badge on the image */
@media (max-width: 960px) {
  .page-products .product-grid > .product-card, .page-brand .product-grid > .product-card, .page-product .related .product-grid > .product-card {
    flex-basis: calc((100% - var(--s-4)) / 2); }
  .page-products .product-grid, .page-brand .product-grid, .page-product .related .product-grid { gap: var(--s-4); }
}
@media (max-width: 560px) {
  .page-products .product-grid, .page-brand .product-grid, .page-product .related .product-grid { gap: var(--s-3); }
  .page-products .product-grid > .product-card, .page-brand .product-grid > .product-card, .page-product .related .product-grid > .product-card {
    flex-basis: calc((100% - var(--s-3)) / 2); }
}
.pagination .button { background: #fff; }

/* brands list */
.page-brands .brand-cards { margin-bottom: var(--s-4); }

/* brand page: banner with the brand image, green-and-gold curve like the home hero */
.brand-hero { position: relative; overflow: hidden; padding-block: var(--s-2) calc(var(--s-8) + 40px);
  background: color-mix(in srgb, var(--c-beige) 35%, var(--c-bg)); }
.brand-hero-inner { margin-top: var(--s-6); }
.brand-hero-logo img { border-radius: 22px; }
.brand-hero-text h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 700; }
.brand-hero .nl-swoosh { height: 70px; }
.page-brand .chip-row { justify-content: center; }
.chip { background: #fff; transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.chip:hover { color: var(--c-primary); background: color-mix(in srgb, var(--c-beige) 30%, #fff); }
@media (max-width: 860px) { .brand-hero .nl-swoosh { height: 44px; } }

/* product detail: gallery and information as two soft cards */
.product-detail { gap: var(--s-6); margin-block: 0 var(--s-8); }
.gallery-main { background: #fff; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); aspect-ratio: 1 / 1; min-height: 0; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: var(--s-4); }
.gallery-main .media-placeholder { color: var(--c-muted); }
.gallery-thumb { border-radius: 12px; }
.product-info { background: #fff; border: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); border-radius: 22px;
  padding: var(--s-6); box-shadow: 0 2px 6px rgb(20 41 30 / 6%), 0 14px 34px rgb(20 41 30 / 8%); }
.product-info .eyebrow { display: inline-block; padding: 2px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c-beige) 50%, #fff);
  color: var(--c-primary); letter-spacing: 0; text-transform: none; font-size: var(--fs-sm); }
.product-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 700; margin-top: var(--s-2); }
.product-prices { border: 0; background: color-mix(in srgb, var(--c-beige) 25%, #fff); border-radius: 14px; padding: var(--s-3) var(--s-4); }
.page-product .spec-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.page-product .spec-list > div { padding: var(--s-2) var(--s-4); border: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent);
  border-radius: 12px; background: var(--c-bg); min-width: 120px; }
.page-product .spec-list dt { font-size: var(--fs-xs); color: var(--c-muted); }
.page-product .spec-list dd { font-weight: 600; color: var(--c-primary); }
.product-block { border-top: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); }
.product-block h2 { color: var(--c-primary); display: flex; align-items: center; gap: var(--s-2); }
.product-block h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); flex: none; }
.product-warnings { border-top: 0; margin-top: var(--s-3); padding: var(--s-4); border-radius: 14px;
  background: color-mix(in srgb, var(--c-beige) 30%, #fff); border-inline-start: 3px solid var(--c-accent); }
.related { padding-top: var(--s-6); }
@media (max-width: 960px) { .product-info { padding: var(--s-5); } }

/* contact page */
.contact-layout { margin-top: 0; }
.contact-card, .contact-form-wrap { border-radius: 22px; background: #fff; border-color: color-mix(in srgb, var(--c-line) 70%, transparent); }
.contact-card { background: linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--c-beige) 35%, #fff) 100%); }
.contact-card h2, .contact-form-wrap h2 { font-size: var(--fs-xl); font-weight: 700; }
.contact-list { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-3); }
.contact-list li { display: flex; align-items: center; gap: var(--s-3); overflow-wrap: anywhere; }
.contact-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--c-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-list li { padding: var(--s-3) var(--s-4); background: #fff; border: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); border-radius: 14px; }
.contact-card-list a { text-decoration: none; color: var(--c-text); }
.contact-card-list a:hover { color: var(--c-primary); text-decoration: underline; }
.contact-card .social-icons { justify-content: flex-start; margin-top: var(--s-2); }
.contact-card .social-icons a { color: var(--c-primary); border-color: var(--c-line); background: #fff; }
.contact-card .social-icons a:hover { color: #fff; }
.contact-form .button-primary { min-width: 180px; min-height: 50px; }

/* CMS pages */
.prose-card { background: #fff; border: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); border-radius: 22px;
  padding: var(--s-6); margin-bottom: var(--s-8); box-shadow: 0 2px 6px rgb(20 41 30 / 6%), 0 14px 34px rgb(20 41 30 / 8%); max-width: none; }
.prose-card h2::after { content: ""; display: block; width: 40px; height: 2px; margin-top: var(--s-2); background: var(--c-accent); }
@media (max-width: 600px) { .prose-card { padding: var(--s-5); } }

/* ---------------------------------------------------------------- hero slider (administrator's images)
   Full-width images that change continuously; a translucent dark-green panel carries the company name and the
   hero text in white, so text and photos never clash. Without slides the illustrated hero above is used. */
.nl-hero.has-slides { background: var(--c-dark); width: 100%;
  display: flex; flex-direction: column; justify-content: center; }
.nl-slides { position: absolute; inset: 0; overflow: hidden; }
.nl-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.nl-slide.is-active { opacity: 1; }
.nl-slides:not(.is-ready) .nl-slide:not(:first-child) { display: none; }
.nl-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the photo itself: always whole (never cropped), scaled up or down to the largest size that fits */
.nl-slide .nl-slide-img { object-fit: contain; object-position: center; }
/* behind it, a blurred copy of the same photo fills any space the photo leaves, so nothing looks empty */
.nl-slide .nl-slide-fill { object-fit: cover; filter: blur(28px) saturate(115%); transform: scale(1.15); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .nl-slide.is-active .nl-slide-fill { animation: nl-drift 9s linear both; }
  .nl-slides.is-paused .nl-slide.is-active .nl-slide-fill { animation-play-state: paused; }
}
@keyframes nl-drift { from { transform: scale(1.15); } to { transform: scale(1.25); } }
.nl-slides-veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(20 41 30 / 18%) 0%, rgb(20 41 30 / 8%) 45%, rgb(20 41 30 / 35%) 100%); }

.has-slides .nl-hero-inner { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text"; min-height: 0; padding-block: var(--s-7) var(--s-8); }
.has-slides .nl-hero-text { justify-self: center; max-width: 640px; padding: var(--s-6) var(--s-6) var(--s-5);
  background: rgb(20 41 30 / 70%); -webkit-backdrop-filter: blur(6px) saturate(120%); backdrop-filter: blur(6px) saturate(120%);
  border: 1px solid rgb(255 255 255 / 14%); border-radius: 26px; box-shadow: 0 20px 50px rgb(0 0 0 / 22%); }
.has-slides .nl-hero-title { color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 25%); }
.has-slides .nl-hero-subtitle { color: color-mix(in srgb, var(--c-accent) 55%, #fff); }
.has-slides .nl-hero-lead { color: rgb(255 255 255 / 90%); }
.has-slides .nl-hero-cta { background: var(--c-bg); color: var(--c-primary); }
.has-slides .nl-hero-cta:hover { background: #fff; color: var(--c-dark); }
.has-slides .nl-benefits li { color: #fff; }
.has-slides .nl-benefits svg { stroke: color-mix(in srgb, var(--c-accent) 70%, #fff); }
.has-slides .nl-swoosh { z-index: 1; }

.nl-slider-controls { position: absolute; z-index: 2; inset-inline: 0; bottom: 92px; display: flex; justify-content: center; align-items: center; gap: var(--s-2); }
.nl-slider-dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.nl-slider-dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid #fff; background: rgb(255 255 255 / 25%);
  box-shadow: 0 0 0 1px rgb(20 41 30 / 35%); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.nl-slider-dot[aria-current="true"]::after { background: #fff; transform: scale(1.2); }
.nl-slider-pause { display: grid; place-items: center; width: 36px; height: 36px; margin-inline-end: var(--s-2); padding: 0; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 55%); background: rgb(20 41 30 / 45%); color: #fff; cursor: pointer; }
.nl-slider-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nl-slider-pause .icon-play { display: none; fill: currentColor; stroke: none; }
.nl-slider-pause[aria-pressed="true"] .icon-pause { display: none; }
.nl-slider-pause[aria-pressed="true"] .icon-play { display: inline; }
.nl-slider-dot:focus-visible, .nl-slider-pause:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
@media (max-width: 860px) {
  .has-slides .nl-hero-inner { padding-block: var(--s-6) calc(var(--s-8) + 20px); }
  .has-slides .nl-hero-text { padding: var(--s-5) var(--s-4); border-radius: 20px; }
  .nl-slider-controls { bottom: 58px; }
}

/* decorative image behind the brands section (administrator's homepage.decorative image) */
.brands-section.has-deco { position: relative; overflow: hidden; }
.nl-deco { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .14; pointer-events: none; z-index: 0; }
.brands-section.has-deco > .container { position: relative; z-index: 1; }

/* brand page: additional image */
.brand-extra-media { margin: 0; border-radius: 22px; box-shadow: 0 2px 6px rgb(20 41 30 / 8%), 0 14px 34px rgb(20 41 30 / 10%); }

/* ---------------------------------------------------------------- product spotlight
   Pointing at (or tabbing to) a product makes it stand out: it lifts and its photo becomes crisper, while the
   other products in the same grid get a light blur and fade. Mouse/trackpad devices and keyboard focus only;
   touch screens are unchanged. */
.product-grid .product-card { transition: box-shadow .3s var(--ease), transform .3s var(--ease), filter .3s var(--ease), opacity .3s var(--ease); }
@media (hover: hover) {
  .product-grid:has(.product-card:hover) .product-card:not(:hover) { filter: blur(2px) saturate(85%); opacity: .7; }
  .product-grid .product-card:hover { transform: translateY(-6px) scale(1.02); z-index: 1;
    box-shadow: 0 6px 14px rgb(20 41 30 / 12%), 0 22px 46px rgb(20 41 30 / 16%); }
  .product-grid .product-card:hover .product-card-media > img { filter: contrast(1.06) saturate(1.1); }
}
.product-grid:has(.product-card:focus-within) .product-card:not(:focus-within) { filter: blur(2px) saturate(85%); opacity: .7; }
@media (prefers-reduced-motion: reduce) {
  .product-grid .product-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .product-card:hover, .brand-card:hover, .button:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .filters, .pagination { display: none; }
  body { background: #fff; }
}

/* icons uploaded by the editor (images from the media library) */
.item-icon-img { display: block; object-fit: contain; }


/* ================================================================ design-system layout layer
   Layout of the editable home sections (hero, benefits row, divider, feature strip). The rules here own the
   layout; section design settings (/assets/sections.css, generated by SectionStyles) only set the custom
   properties below to design tokens, so colours, fonts or sizes can never make a column narrow, push content out
   of its box or cover it.
     hero:     --hero-text-w  --hero-pad  --hero-radius  --hero-min  --hero-align  --hero-text-mi  --divider-h
     benefits: --benefit-icon  --benefit-sep  --benefit-sep-w  --benefit-gap
     strip:    --cols-d  --cols-t  --cols-m  --strip-gap  --strip-pad  --strip-radius  --strip-sep  --feature-icon
*/

/* ---- hero */
.nl-hero { --divider-h: var(--divider-md); min-height: var(--hero-min, 0px); padding-bottom: var(--divider-h); }
.nl-hero:not(:has(> .nl-swoosh)) { --divider-h: 0px; }
.nl-hero-inner { position: relative; z-index: 1; min-height: 0; gap: var(--space-lg); padding-block: var(--space-lg);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
[dir="ltr"] .nl-hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
/* the text panel always takes the full width of its column, capped by a width token: never shrink-to-fit */
.nl-hero-text { justify-self: stretch; align-self: center; box-sizing: border-box; width: 100%; min-width: 0;
  max-width: min(100%, var(--hero-text-w, var(--w-content))); margin-inline: var(--hero-text-mi, auto); text-align: var(--hero-align, center); }
.nl-hero-title, .nl-hero-subtitle, .nl-hero-lead { overflow-wrap: break-word; }
.nl-hero-title { font-size: var(--hero-title-size, clamp(2rem, 1.3rem + 3vw, 4.4rem)); }
.nl-hero-lead { max-width: min(100%, 60ch); margin-inline: var(--hero-text-mi, auto); }
.nl-hero.align-start { --hero-align: start; --hero-text-mi: 0 auto; --benefits-justify: start; }
.nl-hero.align-end { --hero-align: end; --hero-text-mi: auto 0; --benefits-justify: end; }
.nl-hero.align-center { --hero-align: center; --hero-text-mi: auto; }
.nl-hero-art { min-width: 0; }
@media (max-width: 860px) {
  .nl-hero-inner, [dir="ltr"] .nl-hero-inner { grid-template-columns: minmax(0, 1fr); }
}

/* hero over photos: height follows the photo's proportions as a minimum, never cuts the text off */
.nl-hero.has-slides { aspect-ratio: auto; max-height: none;
  min-height: var(--hero-min, clamp(26rem, calc(100vw / (var(--hero-ratio, 16 / 7))), 88vh)); }
.has-slides .nl-hero-inner, [dir="ltr"] .has-slides .nl-hero-inner { grid-template-columns: minmax(0, 1fr);
  padding-block: var(--space-xl) var(--space-lg); }
.has-slides:has([data-slider-controls]) .nl-hero-inner { padding-block-end: calc(var(--space-lg) + 2.75rem); }
.has-slides .nl-hero-text { padding: var(--hero-pad, var(--space-lg)); border-radius: var(--hero-radius, var(--radius-xl)); }
.nl-slider-controls { bottom: calc(var(--divider-h) + var(--s-2)); }

/* divider: its height is reserved under the content (padding-bottom above), so it can never cover text */
.nl-hero > .nl-swoosh { height: var(--divider-h); }

/* ---- benefits row: as many columns as fit, every item at least --benefit-min wide, separators between
   columns only (the line at the start of each row falls outside the list and is clipped) */
.nl-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--benefit-min)), 1fr));
  gap: var(--benefit-gap, var(--space-sm)) 0; justify-content: var(--benefits-justify, center);
  margin: var(--space-md) 0 0; padding: 0; overflow: hidden; }
.nl-benefits li { position: relative; display: grid; justify-items: center; align-content: start; gap: var(--s-2);
  min-width: 0; padding-inline: var(--s-3); text-align: center; overflow-wrap: break-word; }
.nl-benefits li::before { content: ""; position: absolute; inset-block: 8%; inset-inline-start: -1px;
  border-inline-start: var(--benefit-sep-w, 1px) solid var(--benefit-sep, var(--c-line)); }
.nl-benefits :is(svg, .item-icon-img) { width: var(--benefit-icon, var(--icon-md)); height: var(--benefit-icon, var(--icon-md)); flex: none; }
.has-slides .nl-benefits { --benefit-sep: rgb(255 255 255 / 25%); }

/* ---- feature strip: --cols-d/-t/-m are the most columns per screen; a column never gets narrower than
   --card-min (items move to a new row instead). Separators follow the real grid for any number of columns. */
.features-strip { --gap: var(--strip-gap, 0px); --cols: var(--cols-d, 4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(var(--card-min), calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)))), 1fr));
  gap: var(--gap); padding: 0; overflow: hidden; border-radius: var(--strip-radius, 22px); }
/* automatic tablet / phone columns: balanced rows for the desktop count (4 -> 2 x 2, 6 -> 3 x 2) */
.features-strip, .features-strip.cols-4 { --cols-d: 4; --cols-t-auto: 2; --cols-m-auto: 2; }
.features-strip.cols-1 { --cols-d: 1; --cols-t-auto: 1; --cols-m-auto: 1; }
.features-strip.cols-2 { --cols-d: 2; --cols-t-auto: 2; --cols-m-auto: 2; }
.features-strip.cols-3 { --cols-d: 3; --cols-t-auto: 3; --cols-m-auto: 1; }
.features-strip.cols-5 { --cols-d: 5; --cols-t-auto: 3; --cols-m-auto: 2; }
.features-strip.cols-6 { --cols-d: 6; --cols-t-auto: 3; --cols-m-auto: 2; }
@media (max-width: 860px) { .features-strip { --cols: var(--cols-t, var(--cols-t-auto)); } }
@media (max-width: 640px) { .features-strip { --cols: var(--cols-m, var(--cols-m-auto)); } }
.features-strip > li { position: relative; min-width: 0; display: grid; }
.features-strip > li::before, .features-strip > li::after { content: ""; position: absolute; pointer-events: none; }
.features-strip > li::before { inset-block: 0; inset-inline-start: calc(var(--gap) / -2 - 1px);
  border-inline-start: 1px solid var(--strip-sep, var(--c-line)); }
.features-strip > li::after { inset-inline: 0; top: calc(var(--gap) / -2 - 1px); border-top: 1px solid var(--strip-sep, var(--c-line)); }
.feature-item { min-width: 0; height: 100%; align-content: start; padding: var(--strip-pad, var(--space-md)) var(--space-sm); overflow-wrap: break-word; }
a.feature-item:focus-visible { outline-offset: -3px; }
.feature-icon :is(svg, .item-icon-img) { width: var(--feature-icon, var(--icon-lg)); height: var(--feature-icon, var(--icon-lg)); margin: 0 auto var(--s-2); }
