:root {
  --bg: #fefefe;
  --surface: #ffffff;
  --surface-alt: #fdecec;
  --text: #241417;
  --muted: #6b6167;
  --primary: #c81e3a;
  --primary-dark: #931529;
  --accent: #f5a306;
  --border: #f2d6da;
  --shadow: 0 20px 45px rgba(200, 30, 58, 0.14);
  --shadow-sm: 0 8px 20px rgba(36, 20, 23, 0.05);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.preloader img {
  width: clamp(500px, 30vw, 160px);
  max-width: 60%;
  min-width: 96px;
  height: 400px;
  padding: 0.75rem;
  border-radius: 18px;
  /* background: rgba(255, 255, 255, 0.03); */
  /* box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); */
}
.preloader.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
a { color: inherit; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }

.brand__logo {
  width: clamp(140px, 20vw, 220px);
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 1rem 0;
}

main {
  padding: 0 0 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand__text {
  color: var(--text);
  font-size: 1rem;
}
.site-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}
.mobile-menu-button {
  display: none;
  background: transparent;
  border: none;
  padding: 0.75rem;
  margin-left: auto;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-button__bar {
  display: block;
  width: 100%;
  max-width: 28px;
  height: 3px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease, background-color 200ms ease;
}
.site-header--open .mobile-menu-button__bar:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header--open .mobile-menu-button__bar:nth-of-type(2) {
  opacity: 0;
}
.site-header--open .mobile-menu-button__bar:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-alt);
  color: var(--primary-dark);
}

.page-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 3rem;
}
.page-hero--image {
  position: relative;
  width: 100%;
  margin: 0;
  background-size: cover;
  background-position: center;
  padding: 6rem 1rem;
}
.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 20, 23, 0.78) 0%, rgba(36, 20, 23, 0.45) 60%, rgba(36, 20, 23, 0.15) 100%);
}
.page-hero--image .page-hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.page-hero--image .page-hero__content h1 { color: #fff; }
.page-hero--image .page-hero__content p { color: #f3e3e5; }
.page-hero--image .page-hero__content .eyebrow { color: #ffb9c4; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.section__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.section__heading,
.cards,
.split-layout,
.form-grid {
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0.35rem 0 1rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 690px;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 22px 40px rgba(200, 30, 58, 0.24);
}
.btn--secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}
.btn--secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(200, 30, 58, 0.1);
}
.hero-slider {
  position: relative;
  overflow: hidden;
  height: min(640px, 82vh);
  min-height: 420px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero-slide__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(36, 20, 23, 0.75) 0%, rgba(36, 20, 23, 0.4) 55%, rgba(36, 20, 23, 0.12) 100%);
}
.hero-slide__content {
  max-width: 620px;
  color: #fff;
}
.hero-slide__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
}
.hero-slide__text {
  font-size: 1.05rem;
  color: #f3e3e5;
  max-width: 560px;
  margin: 0 0 1.5rem;
}
.hero-slider__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}
.hero-slider__dot.is-active { background: #fff; }
.section {
  padding: 4.25rem 0;
}
.section--intro {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}
.section--light {
  background: linear-gradient(180deg, #fdf7f7 0%, #fbf2f2 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__heading {
  max-width: 720px;
  margin-bottom: 1.75rem;
}
.section__heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  letter-spacing: -0.01em;
}
.cards {
  display: grid;
  gap: 1rem;
}
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.product-group,
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.card h3 {
  margin-top: 0;
  color: var(--text);
  font-size: 1.15rem;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card--product { min-height: 180px; }
.card__link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}
.card__link:hover { text-decoration: underline; }
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
.about-teaser,
.products-range {
  align-items: center;
  margin-bottom: 2.5rem;
}
.about-teaser__image img,
.products-range__image img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.product-intro {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 1.25rem 0 0.25rem;
}
.product-intro__content h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}
.product-intro__content p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}
.product-intro__stats {
  display: grid;
  gap: 0.9rem;
}
.mini-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.mini-stat strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
}
.mini-stat span {
  color: var(--muted);
  font-size: 0.95rem;
}
.product-category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.product-category-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.product-category-card__header h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}
.product-category-card__meta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  background: var(--surface-alt);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.product-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag-list li {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}
.product-groups {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.product-group {
  background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.product-group h3 {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
  color: var(--text);
}
.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.product-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}
.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.commitment-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.commitment-banner .eyebrow {
  color: #fbe4e8;
  margin: 0;
}
.commitment-banner__text {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}
.stats {
  display: grid;
  gap: 1rem;
}
.stats--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
.stats--row .stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary);
}
.stat span { color: var(--muted); }
.certification-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.certification-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
a.certification-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.certification-card__logo {
  max-width: 100px;
  max-height: 70px;
  object-fit: contain;
}
.certification-card__name { margin: 0; font-weight: 700; color: var(--text); }
.certification-card__desc { margin: 0; color: var(--muted); font-size: 0.85rem; }
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field--full { grid-column: 1 / -1; }
label {
  font-weight: 600;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: var(--surface);
}
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(200, 30, 58, 0.18);
  border-color: var(--primary);
}
textarea { min-height: 140px; resize: vertical; }
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.form-actions .btn {
  min-width: 200px;
}
.form-actions .muted {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.notice {
  position: relative;
  padding: 0.9rem 2.5rem 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  transition: opacity 300ms ease;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.notice.is-hiding { opacity: 0; }
.notice__close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.6;
  cursor: pointer;
}
.notice__close:hover { opacity: 1; }
.notice--success {
  background: #eaf7ee;
  border-color: #b9e6c5;
  color: #1e6b3a;
}
.notice--error {
  background: #fcecec;
  border-color: #ecb7b7;
  color: #8c2f2f;
}
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.testimonial-card__rating {
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}
.testimonial-card__quote {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}
.testimonial-card__quote::before { content: "\201C"; }
.testimonial-card__quote::after { content: "\201D"; }
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-card__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  color: var(--primary-dark);
  font-weight: 700;
}
.testimonial-card__name { margin: 0; font-weight: 700; color: var(--text); }
.testimonial-card__role { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.85rem; }
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-item__caption {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.gallery-empty {
  text-align: center;
  color: var(--muted);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 12, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  position: relative;
  margin: 0;
  max-width: min(900px, 100%);
  text-align: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
.lightbox__figure figcaption {
  color: #fff;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3.5rem 0;
}
.cta-band__inner {
  width: min(100%, 820px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}
.cta-band p {
  margin: 0;
  color: #fbe4e8;
  max-width: 560px;
}
.btn--on-dark {
  background: #fff;
  color: var(--primary-dark);
}
.btn--on-dark:hover {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.site-footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fbe4e8;
  padding: 3.5rem 0 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-col p { margin: 0; }
.footer-col__title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-footer p,
.footer-links a { color: #fbe4e8; }
.site-footer a { text-decoration: none; transition: color 160ms ease; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: #f6c9d0;
  text-align: center;
}

@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .cards--three,
  .form-grid,
  .stats--row,
  .product-intro {
    grid-template-columns: 1fr 1fr;
  }
  .site-nav {
    margin-left: 0;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-menu-button {
    display:block;
  }
  .site-nav {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 320ms ease, opacity 280ms ease, transform 280ms ease;
  }
  .site-header--open .site-nav {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav a {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: var(--surface);
  }
  .site-nav a:first-child {
    margin-top: 0.5rem;
  }
  .site-nav a:last-child {
    margin-bottom: 0.5rem;
  }
  .product-intro,
  .product-category-card__header {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .site-nav a {
    padding: 0.55rem 0.7rem;
  }
  .cards--three,
  .form-grid,
  .stats--row {
    grid-template-columns: 1fr;
  }
  .page-hero,
  .section {
    padding: 3rem 1rem;
  }
  .page-hero--image {
    padding: 3.5rem 1rem;
  }
  .lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
  }
  .hero-slider {
    height: min(520px, 78vh);
  }
  .hero-slide__overlay {
    background: linear-gradient(180deg, rgba(36, 20, 23, 0.35) 0%, rgba(36, 20, 23, 0.78) 65%);
    align-items: flex-end;
    padding-bottom: 2.5rem;
  }
  .form-actions .btn {
    width: 100%;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    grid-column: auto;
  }
  /* main { keep it full width on mobile
    padding:  0;
  } */
  .container {
    width: min(1120px, calc(100% - 2rem));
    padding: 0 0.5rem;
  }
}
}

/* Upgraded Product Catalog Layout & Styling */
.product-catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2.5rem;
  width: min(100%, 1120px);
  margin: 2rem auto 4rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Hide scrollbar for sidebar */
.catalog-sidebar::-webkit-scrollbar {
  width: 4px;
}
.catalog-sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.catalog-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.catalog-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: all 180ms ease;
  border-left: 3px solid transparent;
  background: transparent;
}

.catalog-nav__link:hover {
  background: rgba(200, 30, 58, 0.04);
  color: var(--primary);
}

.catalog-nav__link.active {
  background: var(--surface-alt);
  color: var(--primary-dark);
  border-left-color: var(--primary);
  font-weight: 700;
}

.catalog-nav__link-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.catalog-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0; /* Prevents overflow */
}

/* Search Bar Styles */
.search-container {
  position: relative;
  margin-bottom: 0.5rem;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms, box-shadow 200ms;
}

.search-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(200, 30, 58, 0.08);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  width: 20px;
  height: 20px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  pointer-events: none;
}

#productSearch {
  width: 100%;
  border: none;
  padding: 1rem 3rem 1rem 3.2rem;
  background: transparent;
  font-size: 1.05rem;
  color: var(--text);
  border-radius: 16px;
}

#productSearch:focus {
  outline: none;
}

.clear-search-btn {
  position: absolute;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  padding: 0;
  line-height: 1;
}

.clear-search-btn:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

.search-results-meta {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 0.5rem;
  font-weight: 500;
}

/* No Results State */
.no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.no-results-icon {
  width: 64px;
  height: 64px;
  color: var(--muted);
  margin-bottom: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.no-results h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.no-results p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 320px;
}

/* Product Card Improvements */
.product-items-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.product-item-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 2px 6px rgba(36, 20, 23, 0.02);
}

.product-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 16px rgba(200, 30, 58, 0.06);
  background: #fffcfc;
}

.product-item-card__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--primary);
  flex-shrink: 0;
  transition: background-color 180ms, color 180ms;
}

.product-item-card:hover .product-item-card__icon-wrapper {
  background: var(--primary);
  color: #fff;
}

.product-item-card__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.product-item-card__details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.product-item-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-item-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-badge--water-soluble { background: #e1f5fe; color: #0288d1; }
.product-badge--liquid { background: #e8f5e9; color: #2e7d32; }
.product-badge--fortified { background: #f3e5f5; color: #7b1fa2; }
.product-badge--micronutrient { background: #fff3e0; color: #e65100; }
.product-badge--protection { background: #efebe9; color: #4e342e; }
.product-badge--stimulant { background: #ede7f6; color: #512da8; }

.product-item-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.7;
  transition: opacity 150ms, transform 150ms;
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.product-item-card:hover .product-item-card__action {
  opacity: 1;
  transform: translateX(2px);
}

.product-item-card__action-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-item-card.is-filtered-out {
  display: none !important;
}

.product-group.is-filtered-out {
  display: none !important;
}

.product-section.is-filtered-out {
  display: none !important;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .product-catalog-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .catalog-sidebar {
    position: sticky;
    top: 70px;
    z-index: 10;
    background: var(--bg);
    margin: 0 -1rem 0.5rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
    max-height: none;
    overflow: visible;
  }

  .catalog-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 0.25rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide standard Firefox scrollbar */
  }

  .catalog-nav::-webkit-scrollbar {
    display: none; /* Hide Webkit scrollbar */
  }

  .catalog-nav__link {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 8px;
    white-space: nowrap;
    background: var(--surface);
    border: 1px solid var(--border);
  }

  .catalog-nav__link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
  }

  .catalog-nav__link:hover {
    background: var(--surface-alt);
    color: var(--primary-dark);
  }
}

@media (max-width: 480px) {
  .product-item-card {
    padding: 0.75rem 0.85rem;
  }
  
  .product-item-card__action span {
    display: none;
  }
  
  .product-item-card__title {
    font-size: 0.9rem;
  }
}

