/* ============================================
   MCF Nursery Jagdalpur — Design System
   Mobile-first, production-ready
   ============================================ */

:root {
  --bg-primary: #F1E1D0;
  --green-primary: #41644A;
  --green-dark: #0D4715;
  --accent-orange: #E9762B;
  --accent-yellow: #F2B134;
  --white: #ffffff;
  --text-dark: #1a2e1c;
  --text-muted: #4a5f4d;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-soft: 0 4px 24px rgba(13, 71, 21, 0.08);
  --shadow-card: 0 8px 32px rgba(13, 71, 21, 0.1);
  --shadow-hover: 0 16px 48px rgba(13, 71, 21, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --touch-min: 44px;
  --container-padding: clamp(1rem, 4vw, 1.5rem);
  --safe-inline: max(1rem, env(safe-area-inset-left, 0px));
  --carousel-slide-width: min(280px, calc(100vw - var(--container-padding) * 2 - 2rem));
  --features-carousel-slide-width: min(320px, calc(100vw - var(--container-padding) * 2 - 1.5rem));
  --section-gap: 4rem;
  --font: 'Poppins', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-primary);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }

.subheading {
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--green-primary);
  line-height: 1.5;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 42rem;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(var(--container-padding), var(--safe-inline));
  padding-right: max(var(--container-padding), var(--safe-inline));
}

/* Prevent horizontal overflow sitewide */
main,
.header,
.footer,
.section {
  max-width: 100%;
}

.scroll-row {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  max-width: 100%;
  min-width: 0;
  touch-action: pan-x pan-y;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding: var(--section-gap) 0;
}

.section--beige { background: var(--bg-primary); }
.section--white { background: var(--white); }
.section--dark { background: var(--green-dark); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header p {
  margin-top: 0.75rem;
}

/* Organic section divider */
.section-divider {
  height: 48px;
  background: var(--white);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  margin-top: -24px;
  position: relative;
  z-index: 1;
}

.section-divider--reverse {
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  margin-top: 0;
  margin-bottom: -24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch-min);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary CTA — Call Now, Order Now, Enquire Now, Submit Inquiry */
.btn--primary,
.btn--cta {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
}

.btn--primary:hover,
.btn--cta:hover {
  background: #d46824;
  border-color: #d46824;
  box-shadow: 0 8px 24px rgba(233, 118, 43, 0.35);
}

/* Secondary CTA — Explore Products, View All Products, etc. */
.btn--accent-secondary {
  background: var(--accent-yellow);
  color: var(--green-dark);
  border-color: var(--accent-yellow);
}

.btn--accent-secondary:hover {
  background: #e0a02d;
  border-color: #e0a02d;
  box-shadow: 0 8px 24px rgba(242, 177, 52, 0.4);
}

/* Green outline — utility, not main CTA */
.btn--secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-primary);
}

.btn--secondary:hover {
  background: var(--green-primary);
  color: var(--white);
}

/* On dark hero / banners */
.btn--hero-light {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
}

.btn--hero-light:hover {
  background: #d46824;
  border-color: #d46824;
}

.btn--on-dark-secondary {
  background: var(--accent-yellow);
  color: var(--green-dark);
  border-color: var(--accent-yellow);
}

.btn--on-dark-secondary:hover {
  background: #e0a02d;
  border-color: #e0a02d;
}

.btn:focus-visible,
.lang-switch:focus-visible,
.lang-toggle:focus-visible,
.filter-chip:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 2px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(241, 225, 208, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(65, 100, 74, 0.12);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-dark);
  flex-shrink: 0;
}

.logo__img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}

.logo__mark {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--green-dark);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header__cta {
  display: none;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.85rem;
}

.logo__text {
  display: inline;
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  line-height: 1.15;
  white-space: nowrap;
}

/* Compact language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 2px solid rgba(65, 100, 74, 0.2);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  flex-shrink: 0;
}

.lang-switch:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-soft);
}

.lang-switch--hindi {
  background: rgba(242, 177, 52, 0.15);
  border-color: var(--accent-yellow);
}

.lang-switch:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 2px;
}

.lang-switch__label {
  line-height: 1;
}

/* Legacy language toggle (unused) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 4px;
  min-height: 40px;
  background: var(--white);
  border: 2px solid rgba(65, 100, 74, 0.2);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.lang-toggle:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-soft);
}

.lang-toggle__label {
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
  line-height: 1.2;
  white-space: nowrap;
}

.lang-toggle__label--hi {
  font-size: 0.72rem;
}

.lang-toggle__track {
  position: relative;
  width: 44px;
  height: 26px;
  background: rgba(65, 100, 74, 0.15);
  border-radius: 999px;
  flex-shrink: 0;
}

.lang-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(13, 71, 21, 0.2);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background var(--transition);
}

.lang-toggle--hindi .lang-toggle__thumb {
  transform: translateX(18px);
  background: var(--accent-yellow);
}

.lang-toggle--hindi .lang-toggle__label--en {
  color: var(--text-muted);
}

.lang-toggle--hindi .lang-toggle__label--hi {
  color: var(--green-dark);
  font-weight: 700;
}

.lang-toggle:not(.lang-toggle--hindi) .lang-toggle__label--en {
  color: var(--green-dark);
  font-weight: 700;
}

@media (min-width: 480px) {
  .lang-toggle {
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .lang-toggle__label {
    padding: 0.4rem 0.65rem;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: var(--touch-min);
  height: var(--touch-min);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: rgba(65, 100, 74, 0.1);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: var(--white);
  box-shadow: -8px 0 32px rgba(13, 71, 21, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile a {
  display: block;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  min-height: var(--touch-min);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--bg-primary);
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 1.5rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: rgba(13, 71, 21, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 998;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- Placeholders ---- */
.placeholder {
  background: linear-gradient(135deg, rgba(65, 100, 74, 0.12) 0%, rgba(13, 71, 21, 0.08) 100%);
  border: 2px dashed rgba(65, 100, 74, 0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--green-primary);
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(65, 100, 74, 0.03) 12px,
    rgba(65, 100, 74, 0.03) 24px
  );
  pointer-events: none;
}

.placeholder--hero {
  min-height: 100%;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.placeholder--video {
  background: linear-gradient(160deg, #2d4a32 0%, #0D4715 50%, #1a3d20 100%);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.placeholder--video::before {
  display: none;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90dvh;
  display: flex;
  align-items: flex-end;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media:has(.placeholder) {
  background: var(--green-dark);
}

.hero__media img,
.hero__media .placeholder,
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero__media video,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 71, 21, 0.85) 0%,
    rgba(13, 71, 21, 0.5) 40%,
    rgba(13, 71, 21, 0.35) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 0 4rem;
  color: var(--white);
}

.hero__content h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 7vw, 4.5rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero__content .hero__tagline {
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  font-weight: 600;
  color: var(--accent-yellow);
  margin-bottom: 0.75rem;
  line-height: 1.45;
  max-width: 38rem;
}

.hero__content h2.hero__tagline {
  color: var(--accent-yellow);
}

.hero__content .hero__caption {
  font-size: clamp(0.875rem, 2.5vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.5;
}

.hero__content .hero__sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.6;
}

.hero--page {
  min-height: 50vh;
  min-height: 50dvh;
  align-items: center;
}

.hero--page .hero__content {
  text-align: center;
  padding: 4rem 0;
}

.hero--page .hero__content h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.hero--page .hero__content p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(65, 100, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green-primary);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card__subheading {
  font-weight: 600;
  color: var(--green-primary);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why choose us: carousel (mobile) + grid (desktop) */
.features-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.features-grid {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}

.features-carousel-wrapper.scroll-row {
  scroll-padding-inline: 0.25rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 767px) {
  .features-carousel-wrapper .features-grid {
    width: max-content;
    min-width: 100%;
  }

  .features-carousel-wrapper.scroll-row .features-grid .card {
    flex: 0 0 var(--features-carousel-slide-width);
    max-width: var(--features-carousel-slide-width);
    scroll-snap-align: center;
  }
}

/* Welcome two-column */
.welcome-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.welcome-grid .placeholder,
.welcome-grid__image {
  aspect-ratio: 4/3;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
}

.welcome-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Best sellers carousel / grid */
.bestsellers-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.bestsellers-track {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.bestsellers-wrapper.scroll-row {
  scroll-padding-inline: 0.25rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 767px) {
  .bestsellers-track {
    width: max-content;
    min-width: 100%;
  }

  .bestsellers-track .product-card {
    flex: 0 0 var(--carousel-slide-width);
    max-width: var(--carousel-slide-width);
    scroll-snap-align: center;
  }
}

.product-card {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card__image .placeholder,
.product-card__image img {
  border-radius: 0;
  border: none;
  border-bottom: 2px dashed rgba(65, 100, 74, 0.25);
  height: 100%;
  min-height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

.product-card__image:hover .placeholder {
  transform: scale(1.03);
  transition: transform 0.5s ease;
}

.product-card__body {
  padding: 1.25rem;
}

.product-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.product-card__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.section-cta-center {
  text-align: center;
  margin-top: 2.5rem;
}

/* Gallery: carousel (mobile) + masonry (desktop) */
.gallery-dual {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.media-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.media-carousel__viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.media-carousel__viewport.scroll-row {
  scroll-padding-inline: 0.25rem;
}

.media-carousel__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
  padding-bottom: 0.25rem;
}

.media-carousel__slide {
  flex: 0 0 var(--carousel-slide-width);
  max-width: var(--carousel-slide-width);
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.media-carousel__slide .placeholder,
.media-carousel__slide img {
  aspect-ratio: 4/3;
  min-height: 200px;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: var(--radius);
}

.masonry__item img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: var(--radius);
}

#nursery .gallery-dual {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

#nursery .section-header .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#nursery .masonry__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  break-inside: avoid;
}

#nursery .masonry__item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: unset;
  object-fit: cover;
}

@media (max-width: 767px) {
  #nursery .media-carousel__dots {
    display: none !important;
  }

  #nursery .masonry--desktop {
    display: none !important;
  }

  #nursery .media-carousel__viewport .media-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    gap: 1rem;
  }

  #nursery .media-carousel__viewport .media-carousel__slide {
    flex: 0 0 var(--carousel-slide-width);
    max-width: var(--carousel-slide-width);
  }
}

.media-carousel__viewport:not(.scroll-row) .media-carousel__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  width: 100%;
  gap: 1rem;
  justify-items: center;
}

.media-carousel__viewport:not(.scroll-row) .media-carousel__slide {
  flex: unset;
  max-width: 100%;
  width: 100%;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1990;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: scale(0.96);
}

.footer a[href^="tel:"],
.footer a[href*="wa.me"],
.contact-link {
  color: inherit;
  text-decoration: none;
}

.footer a[href^="tel:"]:hover,
.footer a[href*="wa.me"]:hover,
.contact-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

.media-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(65, 100, 74, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform var(--transition), background var(--transition);
  min-width: 10px;
  min-height: 10px;
}

.carousel-dot:hover {
  background: rgba(65, 100, 74, 0.45);
}

.carousel-dot.active {
  background: var(--accent-orange);
  transform: scale(1.2);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--accent-yellow);
  outline-offset: 2px;
}

.masonry--desktop {
  display: none;
}

/* Masonry gallery */
.masonry {
  columns: 1;
  column-gap: 1rem;
}

.masonry__item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.masonry__item .placeholder {
  min-height: 200px;
}

.masonry__item:nth-child(1) .placeholder { min-height: 240px; }
.masonry__item:nth-child(2) .placeholder { min-height: 280px; }
.masonry__item:nth-child(3) .placeholder { min-height: 220px; }
.masonry__item:nth-child(4) .placeholder { min-height: 260px; }
.masonry__item:nth-child(5) .placeholder { min-height: 200px; }

.about-gallery {
  padding: 0.35rem;
}

.about-gallery .media-carousel__slide,
.about-gallery .masonry__item {
  padding: 0.2rem;
}

.about-gallery .media-carousel__track {
  gap: 0.65rem;
}

.about-gallery .masonry {
  column-gap: 0.65rem;
}

.about-gallery .masonry__item {
  margin-bottom: 0.65rem;
}

@media (min-width: 768px) {
  .about-gallery .masonry.masonry--desktop {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    columns: auto;
  }

  .about-gallery .masonry__item {
    margin-bottom: 0;
    break-inside: auto;
  }

  .about-gallery .masonry__item:nth-child(1) { grid-column: 1 / 3; }
  .about-gallery .masonry__item:nth-child(2) { grid-column: 3 / 5; }
  .about-gallery .masonry__item:nth-child(3) { grid-column: 5 / 7; }
  .about-gallery .masonry__item:nth-child(4) { grid-column: 2 / 4; }
  .about-gallery .masonry__item:nth-child(5) { grid-column: 4 / 6; }

  .about-gallery .masonry__item img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: cover;
  }
}

/* Promise centered */
.promise-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.promise-block p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-top: 1rem;
}

/* Contact CTA section */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--accent-orange);
  opacity: 0.15;
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: var(--accent-yellow);
  opacity: 0.1;
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-group {
  justify-content: center;
  margin-top: 1.75rem;
  position: relative;
  z-index: 1;
}

.cta-banner--accent {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
}

.cta-banner--accent::before {
  background: var(--accent-orange);
}

.cta-banner--accent::after {
  background: var(--accent-yellow);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  min-height: var(--touch-min);
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--green-dark);
  cursor: pointer;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(241, 225, 208, 0.5);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--green-primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer__inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 3rem 0 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--accent-yellow);
}

.footer .placeholder-text {
  color: rgba(255, 255, 255, 0.75);
}

.footer .address-block {
  color: rgba(255, 255, 255, 0.85);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer__brand h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer h4 {
  color: var(--accent-yellow);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer__social a {
  width: var(--touch-min);
  height: var(--touch-min);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social a svg {
  width: 22px;
  height: 22px;
  display: block;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- About page ---- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ---- Products page ---- */
.filter-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(65, 100, 74, 0.12);
  margin-bottom: 2rem;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.25rem 0;
  -webkit-overflow-scrolling: touch;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  min-height: var(--touch-min);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--green-primary);
  background: transparent;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* Product hierarchy */
.products-page {
  padding-top: 0;
  --products-inline-inset: 0.35rem;
}

.products-page .filter-bar .container,
.products-page > .container {
  padding-left: calc(var(--container-padding) + var(--products-inline-inset));
  padding-right: calc(var(--container-padding) + var(--products-inline-inset));
}

.products-page .filter-chips {
  padding-inline: 0.15rem;
}

.products-page .product-scroll-viewport.scroll-row {
  scroll-padding-inline: 0.5rem;
  padding-inline: 0.3rem;
}

.products-page .family-block .product-scroll-viewport .products-grid {
  padding-inline: 0.15rem;
}

.category-section {
  margin-bottom: 4rem;
  scroll-margin-top: calc(var(--header-height) + 80px);
}

.category-heading {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--green-dark);
  padding-bottom: 0.75rem;
  border-bottom: 4px solid var(--accent-orange);
  margin-bottom: 2.5rem;
  display: inline-block;
}

.family-block {
  margin-bottom: 3rem;
}

.family-header {
  margin-bottom: 1.5rem;
}

.family-header h3 {
  color: var(--green-primary);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.25rem;
}

.family-header .family-subtitle {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.family-block {
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.catalog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.catalog-card__image {
  overflow: hidden;
}

.catalog-card__image .placeholder,
.catalog-card__image img {
  aspect-ratio: 4/3;
  min-height: 180px;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  border: none;
  border-bottom: 2px dashed rgba(65, 100, 74, 0.2);
}

.catalog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalog-card__body h4 {
  margin-bottom: 0.35rem;
}

.catalog-card__family {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.catalog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  width: fit-content;
}

.badge--non-grafted {
  background: rgba(65, 100, 74, 0.16);
  color: var(--green-dark);
  border: 1px solid rgba(65, 100, 74, 0.35);
}

.badge--grafted {
  background: var(--green-primary);
  color: var(--white);
  border: 1px solid var(--green-dark);
  box-shadow: 0 2px 8px rgba(13, 71, 21, 0.18);
}

.badge--grafted-available {
  background: rgba(13, 71, 21, 0.08);
  color: var(--green-dark);
  border: 1px solid var(--green-primary);
}

.catalog-card .btn {
  width: 100%;
  margin-top: auto;
  font-size: 0.875rem;
}

.category-section.hidden {
  display: none;
}

/* ---- Contact page ---- */
/* Official address */
.address-block {
  font-style: normal;
  line-height: 1.75;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.placeholder-text {
  color: var(--text-muted);
  font-weight: 500;
}

/* Contact page — Visit nursery first */
.hero--contact {
  min-height: 42vh;
  min-height: 42dvh;
}

.hero--contact .hero__media {
  overflow: hidden;
}

.hero--contact .hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero--contact .hero__content {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.visit-section {
  padding-top: 2rem;
}

.visit-hero-text {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding-top: 0.5rem;
}

@media (max-width: 767px) {
  .hero--contact {
    min-height: 38vh;
    min-height: 38dvh;
  }

  .hero--contact .hero__content {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .hero--contact .hero__content h1 {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .hero--contact .hero__content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .visit-section {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }

  .visit-hero-text {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
  }

  .visit-hero-text h2 {
    margin-bottom: 1rem;
  }

  .visit-hero-text .lead {
    font-size: 0.95rem;
  }
}

.visit-hero-text h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.visit-primary {
  display: grid;
  gap: 2rem;
}

.visit-address-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border-left: 5px solid var(--accent-orange);
}

.visit-address-card h3 {
  color: var(--green-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.map-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
  line-height: 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: min(450px, 70vh);
  min-height: 280px;
  border: 0;
}

.contact-details-compact {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(65, 100, 74, 0.15);
}

.contact-details-compact .contact-info-item {
  margin-bottom: 0;
}

.inquiry-section {
  background: var(--bg-primary);
}

.inquiry-section .section-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.inquiry-section .section-header h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--green-primary);
}

.inquiry-section .section-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.inquiry-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(65, 100, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-primary);
}

.contact-info-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-primary);
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.map-placeholder {
  min-height: 320px;
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .nav-desktop {
    justify-self: center;
  }

  .header__actions {
    margin-left: 0;
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .visit-primary .contact-details-compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.required-star {
  color: var(--accent-orange);
  font-weight: 700;
}

.phone-field {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.phone-field__code {
  flex: 0 0 5.75rem;
  min-width: 5.75rem;
  min-height: var(--touch-min);
  padding: 0.875rem 0.5rem;
  border: 2px solid rgba(65, 100, 74, 0.2);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.phone-field input {
  flex: 1;
  min-width: 0;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.phone-field__code.is-invalid {
  border-color: #b43228;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: var(--touch-min);
  padding: 0.875rem 1rem;
  border: 2px solid rgba(65, 100, 74, 0.2);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.phone-field__code:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(65, 100, 74, 0.15);
}

.form-card .btn {
  width: 100%;
}

/* ---- Enquire modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  visibility: hidden;
  pointer-events: none;
}

.modal.open {
  visibility: visible;
  pointer-events: auto;
  overscroll-behavior: contain;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 71, 21, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal.open .modal__backdrop {
  opacity: 1;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: min(90vh, 90dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 24px 64px rgba(13, 71, 21, 0.25);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.modal.open .modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal__header h2 {
  font-size: 1.35rem;
  margin: 0;
}

.modal__close {
  flex-shrink: 0;
  width: var(--touch-min);
  height: var(--touch-min);
  border: none;
  background: var(--bg-primary);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  transition: background var(--transition);
}

.modal__close:hover {
  background: rgba(65, 100, 74, 0.15);
}

.modal__actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 480px) {
  .modal {
    align-items: center;
  }

  .modal__actions {
    flex-direction: row;
  }

  .modal__actions .btn--secondary {
    flex: 1;
  }

  .modal__actions .btn--primary {
    flex: 1.2;
  }
}

body.modal-open {
  overflow: hidden;
}

.form-group input[readonly] {
  background: rgba(241, 225, 208, 0.6);
  cursor: default;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status--success {
  background: rgba(45, 106, 79, 0.12);
  color: var(--primary-dark);
  border: 1px solid rgba(45, 106, 79, 0.25);
}

.form-status--error {
  background: rgba(180, 50, 40, 0.08);
  color: #8b2e26;
  border: 1px solid rgba(180, 50, 40, 0.2);
}

/* Products page carousels */
.product-scroll-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-scroll-viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-scroll-viewport.scroll-row {
  scroll-padding-inline: 0.25rem;
}

.product-scroll-wrap > .media-carousel__dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.family-block .product-scroll-viewport .products-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
  padding-bottom: 0.25rem;
  margin-bottom: 0;
}

.family-block .product-scroll-viewport .products-grid .catalog-card {
  flex: 0 0 var(--carousel-slide-width);
  max-width: var(--carousel-slide-width);
  scroll-snap-align: center;
  min-height: 100%;
}

@media (min-width: 768px) {
  .products-page {
    --carousel-slide-width: min(300px, calc((100vw - var(--container-padding) * 2 - 4rem) / 2.5));
  }
}

@media (min-width: 1024px) {
  .products-page {
    --carousel-slide-width: min(320px, calc((100vw - var(--container-padding) * 2 - 5rem) / 3.2));
  }
}

@media (max-width: 767px) {
  :root {
    --container-padding: clamp(1.25rem, 5vw, 1.5rem);
  }

  .header .container,
  .section .container,
  .footer .container,
  .filter-bar .container,
  .hero__content.container {
    padding-left: max(var(--container-padding), var(--safe-inline));
    padding-right: max(var(--container-padding), var(--safe-inline));
  }

  .js-enquire {
    touch-action: manipulation;
    position: relative;
    z-index: 2;
  }

  .welcome-grid {
    text-align: center;
    justify-items: center;
  }

  .welcome-grid__image {
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 420px);
    max-width: 100%;
  }

  .card:hover,
  .catalog-card:hover,
  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }

  .logo {
    gap: 0.35rem;
  }

  .logo__img {
    width: 48px;
    height: 48px;
  }

  .logo__text {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .header__inner {
    gap: 0.5rem;
  }

  .lang-switch {
    min-width: 36px;
    min-height: 36px;
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
  }

  .hero__content {
    padding: 2.5rem 0 3.5rem;
  }

  .hero__content h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.25rem);
  }

  .hero__content .hero__tagline {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  }

  .hero__content .hero__caption {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
  }

  .hero__content .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero__content .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__media img,
  .hero__media .placeholder {
    object-fit: cover;
    object-position: center 35%;
  }

  .hero--contact .hero__image {
    object-fit: cover;
    object-position: center center;
  }

  .hero__media video,
  .hero__video {
    object-fit: cover;
    object-position: center center;
  }

  .welcome-grid .placeholder {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .welcome-grid .placeholder,
  .welcome-grid img {
    object-fit: cover;
    object-position: center center;
  }

  .product-card__image {
    aspect-ratio: 4 / 3;
  }

  .product-card__image .placeholder,
  .product-card__image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
  }

  .catalog-card__image .placeholder,
  .catalog-card__image img {
    aspect-ratio: 4 / 3;
    min-height: 160px;
    object-fit: cover;
    object-position: center center;
  }

  .category-heading {
    max-width: 100%;
    word-wrap: break-word;
  }

  .form-card,
  .visit-address-card,
  .contact-info-card {
    padding: 1.5rem;
  }

  .footer__grid {
    padding-left: 0;
    padding-right: 0;
  }

  .cta-banner {
    padding-left: max(1rem, var(--container-padding));
    padding-right: max(1rem, var(--container-padding));
  }

  .filter-chips.scroll-row {
    padding-bottom: 0.25rem;
    margin: 0;
  }

  .filter-chip {
    scroll-snap-align: start;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

.filter-bar .container {
  max-width: 100%;
}

.bestsellers-dots {
  display: flex;
}

@media (min-width: 768px) {
  .bestsellers-dots {
    display: none;
  }
}

.products-page > .container,
.products-page .category-section,
.products-page .family-block,
.products-page .family-block {
  max-width: 100%;
  min-width: 0;
}

.hero__content,
.cta-banner,
.form-card,
.card {
  min-width: 0;
}

.lang-toggle__label--hi {
  max-width: 3.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Utilities ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }

/* ---- Responsive breakpoints ---- */

@media (min-width: 640px) {
  :root {
    --container-padding: 1.25rem;
    --section-gap: 5rem;
  }

  .masonry {
    columns: 2;
  }

  :root {
    --container-padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .media-carousel {
    display: none;
  }

  .masonry--desktop {
    display: block;
  }

  #nursery .masonry--desktop {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    columns: unset;
  }

  #nursery .masonry__item:nth-child(1) { grid-column: 1 / 3; }
  #nursery .masonry__item:nth-child(2) { grid-column: 3 / 5; }
  #nursery .masonry__item:nth-child(3) { grid-column: 5 / 7; }
  #nursery .masonry__item:nth-child(4) { grid-column: 2 / 4; }
  #nursery .masonry__item:nth-child(5) { grid-column: 4 / 6; }

  :root {
    --header-height: 80px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  .lang-toggle {
    min-height: var(--touch-min);
  }

  .logo__text {
    max-width: none;
  }

  .nav-mobile,
  .nav-overlay {
    display: none;
  }

  .welcome-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .features-carousel-wrapper.scroll-row {
    overflow: visible;
    padding-bottom: 0;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: auto;
    min-width: 0;
    padding-bottom: 0;
  }

  .features-grid .card {
    flex: unset;
  }

  .bestsellers-wrapper.scroll-row {
    overflow: visible;
    padding-bottom: 0;
  }

  .bestsellers-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
    width: auto;
    min-width: 0;
  }

  .product-card {
    flex: unset;
  }

  .masonry {
    columns: 3;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .products-page .family-block .product-scroll-viewport .products-grid {
    display: flex;
    grid-template-columns: unset;
  }

  .hero {
    min-height: 95vh;
  }
}

@media (min-width: 1024px) {
  .bestsellers-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

  .products-page .family-block .product-scroll-viewport .products-grid {
    display: flex;
    grid-template-columns: unset;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .map-placeholder {
    min-height: 400px;
  }
}

@media (min-width: 1200px) {
  .products-page .family-block .product-scroll-viewport .products-grid {
    display: flex;
    grid-template-columns: unset;
  }
}

@media (min-width: 1440px) {
  :root {
    --section-gap: 6rem;
  }
}
.hero__subheading {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.45;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .logo__text {
    font-size: clamp(1.2rem, 4vw, 1.2rem);
  }
}