/* =========================================================
   SAMA AL BARAQ — World-Class Premium UI Enhancements
   ========================================================= */

/* ---------- CSS Custom Properties (Additions) ---------- */
:root {
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-teal: 0 8px 32px rgba(0, 140, 135, 0.18);
  --shadow-lift: 0 24px 50px rgba(15, 55, 60, 0.14);
}

/* ---------- Font Size Improvements ---------- */
body { font-size: 16px; }
p { font-size: 15px; }
h3 { font-size: 22px; }
.desktop-nav { font-size: 14px; }
.trust-bar .container > div { font-size: 13px; }
.product-copy h3 { font-size: 18px; }
.field-card h3 { font-size: 20px; }
.field-card p { font-size: 14px; }
.services-grid p { font-size: 14px; }
.principles-grid p { font-size: 14px; }
.text-link { font-size: 14px; }
.button { font-size: 14px; }

/* Final presentation polish: clear hierarchy, precise product staging, and a refined utility bar. */
.topbar {
  background: linear-gradient(90deg, #f5fbfb 0%, #eaf6f5 52%, #f7fbfc 100%);
  border-bottom-color: #d6e7e6;
  color: #486467;
  font-size: 11px;
  letter-spacing: .012em;
}
.top-inner { min-height: 42px; }
.top-inner > span { font-weight: 600; }
.top-inner > div { gap: 8px; }
.top-inner > div a {
  min-height: 26px;
  padding: 0 9px;
  border-left: 1px solid #cfe2e0;
  transition: color .2s ease, background .2s ease;
}
.top-inner > div a:last-child { border-right: 1px solid #cfe2e0; }
.top-inner > div a:hover { color: var(--teal-dark); background: #fff; }
.topbar .icon { color: #007c78; }

.site-header { backdrop-filter: blur(14px); }
.product-card {
  border-color: #dce9e8;
  box-shadow: 0 8px 24px rgba(8, 61, 71, .045);
}
.product-image {
  height: 270px;
  padding: 35px;
  background:
    radial-gradient(circle at 50% 45%, #ffffff 0%, #f8fcfc 55%, #e8f4f3 100%);
}
.product-image::before {
  content: '';
  position: absolute;
  width: 74%;
  height: 22px;
  bottom: 22px;
  border-radius: 50%;
  background: rgba(8, 64, 68, .11);
  filter: blur(12px);
  transform: scaleX(.8);
  transition: transform .35s ease, opacity .35s ease;
}
.product-image img { position: relative; z-index: 1; filter: drop-shadow(0 14px 13px rgba(5, 54, 58, .13)); }
.product-card:hover .product-image::before { transform: scaleX(1); opacity: .8; }
.product-copy { padding: 22px 23px 24px; }
.product-copy h3 { letter-spacing: -.025em; }
.product-brand { z-index: 2; border-radius: 999px; padding: 4px 9px; color: #236260; background: rgba(255,255,255,.93); }

.footer-bottom [lang="ar"] {
  font-size: 11px;
  line-height: 1.5;
  opacity: .72;
  letter-spacing: 0;
}

/* Complete product library */
.product-catalogue-section { padding-top: 46px; }
.catalogue-department-strip {
  display: flex;
  gap: 10px;
  margin: 0 0 38px;
  padding: 5px 2px 14px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.catalogue-department-strip a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 10px 15px;
  border: 1px solid #d6e6e5;
  border-radius: 999px;
  background: #fff;
  color: #365b5e;
  font-size: 13px;
  font-weight: 600;
  scroll-snap-align: start;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.catalogue-department-strip a:hover,
.catalogue-department-strip a.active {
  color: #006d69;
  border-color: #7fc4bf;
  box-shadow: 0 8px 22px rgba(0,109,105,.09);
  transform: translateY(-2px);
}
.catalogue-department-strip strong {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e9f6f5;
  color: #007b76;
  font-size: 11px;
}
.catalogue-showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin: 0 0 28px;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 24%, rgba(92,222,210,.34), transparent 24%),
    linear-gradient(128deg, #073e45 0%, #006f6a 58%, #00948c 100%);
  box-shadow: 0 24px 60px rgba(7,62,69,.16);
}
.catalogue-showcase::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  right: -95px;
  bottom: -210px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025);
}
.catalogue-showcase .eyebrow { color: #9ee4de; }
.catalogue-showcase h2 { max-width: 780px; color: #fff; }
.catalogue-showcase p { max-width: 720px; margin-top: 15px; color: rgba(235,250,249,.8); }
.catalogue-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,.28);
}
.catalogue-stat strong { font-size: clamp(42px, 5vw, 70px); font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.catalogue-stat span { color: #bce9e6; font-size: 10px; font-weight: 700; line-height: 1.55; letter-spacing: .12em; }
.product-catalogue-section .catalog-toolbar {
  position: sticky;
  z-index: 25;
  top: 112px;
  border-color: #cfe2e1;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(12,62,65,.08);
  backdrop-filter: blur(16px);
}
.complete-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.complete-grid .product-card { content-visibility: auto; contain-intrinsic-size: 390px; }
.complete-grid .product-image { width: 100%; height: 220px; border: 0; cursor: zoom-in; }
.complete-grid .product-copy { padding: 18px 18px 20px; }
.complete-grid .product-copy h3 { min-height: 48px; font-size: 15px; }
.reference-card .product-image img { width: 100%; height: 100%; object-fit: contain; }
.reference-title { padding: 0; text-align: left; font: inherit; color: inherit; }
.reference-title:hover { color: var(--teal-dark); }
.product-zoom {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(4,54,59,.82);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(7px);
}
.product-zoom .icon { width: 13px; height: 13px; }
.reference-card:hover .product-zoom,
.reference-view:focus-visible .product-zoom { opacity: 1; transform: none; }

.product-lightbox {
  width: min(1020px, calc(100vw - 34px));
  max-height: min(800px, calc(100dvh - 34px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 35px 100px rgba(0,31,36,.38);
}
.product-lightbox[open] { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); animation: lightbox-in .3s cubic-bezier(.2,.8,.2,1) both; }
.product-lightbox::backdrop { background: rgba(1,30,36,.76); backdrop-filter: blur(8px); }
.lightbox-media { display: grid; place-items: center; min-height: 560px; padding: 38px; background: radial-gradient(circle, #fff 0%, #edf7f6 100%); }
.lightbox-media img { max-width: 100%; max-height: 650px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 22px 25px rgba(2,48,51,.14)); }
.lightbox-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px 38px; }
.lightbox-copy h2 { font-size: clamp(27px, 3vw, 40px); }
.lightbox-copy p { margin: 20px 0 28px; }
.lightbox-copy .button { align-self: flex-start; }
.lightbox-close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: rgba(3,47,52,.86); font-size: 25px; line-height: 1; }
@keyframes lightbox-in { from { opacity: 0; transform: translateY(20px) scale(.975); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .complete-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .top-inner { min-height: 34px; justify-content: center; }
  .top-inner > span { display: none; }
  .top-inner > div { width: 100%; justify-content: center; gap: 0; }
  .top-inner > div a { font-size: 10px; padding: 0 10px; }
  .top-inner > div a:last-child { border-right: 0; }
  .product-image { height: 235px; padding: 28px; }
  .product-copy h3 { font-size: 16px; }
  .footer-bottom [lang="ar"] { font-size: 10px; }
  .catalogue-showcase { grid-template-columns: 1fr; gap: 24px; border-radius: 15px; }
  .catalogue-stat { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .product-catalogue-section .catalog-toolbar { top: 76px; }
  .complete-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .complete-grid .product-image { height: 190px; padding: 20px; }
  .complete-grid .product-copy { padding: 15px; }
  .product-lightbox[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox-media { min-height: 320px; padding: 25px; }
  .lightbox-media img { max-height: 46vh; }
  .lightbox-copy { padding: 28px 25px 32px; }
}

@media (max-width: 430px) {
  .complete-grid { grid-template-columns: 1fr; }
  .complete-grid .product-image { height: 235px; }
}

/* ---------- HIDE ALL CATALOGUE DOWNLOAD LINKS ---------- */
.catalogue-download,
.catalogue-note,
a[href*="zimed-catalogue"],
a[href*=".pdf"] {
  display: none !important;
}
/* Keep company-profile pdf visible (not catalogue) */
a[href*="company-profile.pdf"] {
  display: inline-flex !important;
}

/* ---------- HERO SLIDER — Smooth crossfade + Ken Burns ---------- */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
  opacity: 0;
  transition: opacity 1.1s ease-in-out, transform 6s ease-out;
  transform: scale(1.06);
}
.hero-image img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Text slide-up on change */
#hero-title {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#hero-description {
  transition: opacity 0.4s ease 0.07s, transform 0.4s ease 0.07s;
}
.hero.is-transitioning #hero-title,
.hero.is-transitioning #hero-description {
  opacity: 0;
  transform: translateY(12px);
}

/* ---------- SLIDE DOTS — Premium Style ---------- */
.slide-dots button span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: width 0.4s var(--ease-smooth), background 0.4s;
}
.slide-dots button[aria-pressed=true] span {
  width: 32px;
  border-radius: 6px;
  background: #6ccbc2;
}

/* ---------- SUBCATEGORY TABS — Prominent & Bold ---------- */
.subcategory-grid > a {
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 24px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease-bounce),
              box-shadow 0.35s, background 0.3s;
  text-decoration: none;
  cursor: pointer;
}
.subcategory-grid > a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,140,135,0.06) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
}
.subcategory-grid > a:hover {
  border-color: var(--teal);
  transform: translateY(-8px);
  box-shadow: var(--shadow-teal);
  background: #fafffe;
}
.subcategory-grid > a:hover::before { opacity: 1; }

/* Bottom accent line on hover */
.subcategory-grid > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--teal);
  transition: width 0.35s var(--ease-smooth);
  border-radius: 0 0 16px 16px;
}
.subcategory-grid > a:hover::after { width: 100%; }

.subcategory-grid img {
  height: 145px;
  transition: transform 0.4s ease;
}
.subcategory-grid > a:hover img { transform: scale(1.08); }
.subcategory-grid h2 { font-size: 20px; color: var(--ink); margin-top: 4px; }
.subcategory-grid p { font-size: 13px; line-height: 1.7; }
.subcategory-grid .text-link {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  margin-top: 14px;
}

/* ---------- PRODUCT CARDS — World-Class Animation ---------- */
.product-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transform: translateY(0);
  transition: transform 0.35s var(--ease-bounce),
              box-shadow 0.35s ease,
              border-color 0.2s;
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 0 rgba(0, 140, 135, 0);
  transition: box-shadow 0.35s;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-lift);
  border-color: #baddda;
}
.product-card:hover::after {
  box-shadow: 0 0 0 2px var(--teal);
}

.product-image {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: #f9fcfc;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.product-image img {
  max-height: 100%;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-smooth);
}
.product-card:hover .product-image img {
  transform: scale(1.1) translateY(-3px);
}

/* Shimmer sweep on hover */
.product-image::after {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.45) 50%,
    transparent 60%
  );
  transform: skewX(-15deg);
  transition: left 0s;
  pointer-events: none;
}
.product-card:hover .product-image::after {
  animation: shimmer 0.55s ease forwards;
}
@keyframes shimmer {
  from { left: -70%; }
  to { left: 110%; }
}

.product-copy { padding: 22px 24px; }
.product-copy h3 { font-size: 18px; line-height: 1.4; }

/* ---------- FIELD / DEPARTMENT CARDS ---------- */
.field-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-bounce),
              box-shadow 0.35s, border-color 0.3s;
}
.field-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: #7bc7c0;
}
.field-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  transition: background 0.3s, transform 0.3s;
}
.field-card:hover .field-icon {
  background: var(--teal);
  transform: rotate(-5deg) scale(1.08);
}
.field-card:hover .field-icon .icon { color: #fff; }

/* ---------- CARDIOLOGY / DEPARTMENT FIGURE ---------- */
.department-detail figure {
  border-radius: 18px;
  overflow: hidden;
  border: none;
  padding: 0;
  box-shadow: var(--shadow-lift);
}
.department-detail figure img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.department-detail figure:hover img { transform: scale(1.04); }

/* CARDIOLOGY — use surgical-room image as fallback via CSS background */
.department-panel {
  min-height: 440px;
  background: linear-gradient(135deg, #083d47, #0b5460);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.department-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero/surgical-room.webp') center/cover;
  opacity: 0.2;
}
.department-panel > .icon {
  width: 70px;
  height: 70px;
  color: #6ccbc2;
  margin-bottom: 25px;
  position: relative;
}
.department-panel h3 {
  color: #fff;
  font-size: 22px;
  position: relative;
}
.department-panel p {
  color: #b5e2e0;
  position: relative;
}

/* ---------- SECTION REVEAL ANIMATIONS ---------- */
.reveal {
  animation: reveal-up 0.75s var(--ease-smooth) both;
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stagger for children inside revealed sections */
.section-heading { transition: opacity 0.6s, transform 0.6s; }
.products-grid .product-card { animation: card-appear 0.5s var(--ease-smooth) both; }
.products-grid .product-card:nth-child(1) { animation-delay: 0.04s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.09s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.14s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.19s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.24s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.29s; }
@keyframes card-appear {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Trust bar items */
.trust-bar .container > div {
  animation: fade-slide-in 0.6s var(--ease-smooth) both;
}
.trust-bar .container > div:nth-child(1) { animation-delay: 0.05s; }
.trust-bar .container > div:nth-child(2) { animation-delay: 0.12s; }
.trust-bar .container > div:nth-child(3) { animation-delay: 0.19s; }
.trust-bar .container > div:nth-child(4) { animation-delay: 0.26s; }
@keyframes fade-slide-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Principles grid */
.principles-grid article {
  animation: card-appear 0.55s var(--ease-smooth) both;
}
.principles-grid article:nth-child(1) { animation-delay: 0.05s; }
.principles-grid article:nth-child(2) { animation-delay: 0.12s; }
.principles-grid article:nth-child(3) { animation-delay: 0.19s; }
.principles-grid article:nth-child(4) { animation-delay: 0.26s; }

/* ---------- BUTTON HOVER — Tactile Feel ---------- */
.button {
  transition: background 0.22s, transform 0.22s var(--ease-bounce),
              box-shadow 0.22s, border-color 0.22s;
}
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0) scale(0.97); }
.primary:hover { box-shadow: 0 8px 22px rgba(0, 140, 135, 0.35); }

/* ---------- FOOTER TOP CONTACT HOVER ---------- */
.footer-top-contact {
  transition: color 0.2s, gap 0.2s;
}
.footer-top-contact:hover { color: var(--teal); }

/* ---------- PAGE HERO — Gradient enhancement ---------- */
.page-hero {
  background: linear-gradient(130deg, #e6f5f3 0%, #f3fafa 55%, #edf3f8 100%);
  border-bottom: 2px solid #cfe8e5;
}

/* ---------- ABOUT SECTION ---------- */
.about-visual > img {
  border-radius: 18px;
  transition: transform 0.5s ease, box-shadow 0.5s;
}
.about-visual:hover > img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lift);
}

/* ---------- NAVIGATION LINKS — Underline slide ---------- */
.desktop-nav > a {
  position: relative;
}
.desktop-nav > a::after {
  content: '';
  position: absolute;
  bottom: 19px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.25s var(--ease-smooth);
}
.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current]::after {
  width: 22px;
}

/* ---------- FLOATING WHATSAPP — Pulsing ---------- */
.floating-whatsapp {
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 22px rgba(2, 59, 57, 0.15); }
  50% { box-shadow: 0 4px 32px rgba(0, 140, 116, 0.45); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .subcategory-grid > a { border-radius: 12px; }
  .product-card { border-radius: 12px; }
  .department-detail figure img { height: 300px; }
  .department-panel { min-height: 300px; }
}

/* ---------- Reduced motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- FAST PRODUCT BROWSING ---------- */
.catalogue-hero {
  padding-bottom: 34px;
}
.catalogue-hero .breadcrumbs {
  padding-bottom: 24px;
}
.catalogue-hero h1 {
  max-width: 780px;
  font-size: clamp(30px, 3vw, 42px);
}
.catalogue-hero p {
  max-width: 760px;
  margin-top: 12px;
}
.product-catalogue-section {
  padding-top: 28px;
}
.product-catalogue-section .catalogue {
  margin-top: 0;
}
.product-catalogue-section .catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
}
.catalog-toolbar .search-field input {
  min-height: 50px;
  border-radius: 9px;
  font-size: 14px;
}
.catalog-toolbar .search-field > .icon {
  top: 16px;
}
.filter-controls {
  display: flex;
  align-items: end;
  gap: 10px;
}
.filter-label {
  display: grid;
  gap: 5px;
  min-width: 170px;
}
.filter-label > span {
  padding-left: 2px;
  color: #527072;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.filter-label select {
  min-height: 50px;
  border-radius: 9px;
  font-size: 13px;
}
.clear-search {
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #cfe0df;
  border-radius: 9px;
  color: #23605f;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.clear-search:hover {
  color: #005f5b;
  border-color: #75bbb6;
  background: #edf8f7;
}
.complete-grid {
  margin-top: 22px;
}
.load-more-wrap {
  margin-top: 32px;
}
.load-more-wrap .button {
  min-width: 210px;
  justify-content: center;
}

@media (max-width: 900px) {
  .product-catalogue-section .catalog-toolbar {
    grid-template-columns: 1fr;
  }
  .filter-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }
  .filter-label {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .catalogue-hero {
    padding-bottom: 25px;
  }
  .catalogue-hero .breadcrumbs {
    padding-bottom: 18px;
  }
  .catalogue-hero h1 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.16;
  }
  .catalogue-hero p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
  }
  .product-catalogue-section {
    padding-top: 18px;
  }
  .product-catalogue-section .catalog-toolbar {
    top: 74px;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
  }
  .catalog-toolbar .search-field input,
  .filter-label select,
  .clear-search {
    min-height: 46px;
  }
  .catalog-toolbar .search-field > .icon {
    top: 14px;
  }
  .filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .filter-controls .clear-search {
    grid-column: 1 / -1;
  }
  .filter-label > span {
    font-size: 9px;
  }
  .filter-label select {
    padding-inline: 9px 28px;
    font-size: 12px;
  }
  .complete-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
  }
  .complete-grid .product-card {
    contain-intrinsic-size: 430px;
  }
  .complete-grid .product-image {
    height: 245px;
    padding: 24px;
  }
  .complete-grid .product-copy {
    padding: 18px 19px 20px;
  }
  .complete-grid .product-copy h3 {
    min-height: 0;
    font-size: 17px;
  }
  .load-more-wrap {
    margin-top: 25px;
  }
  .load-more-wrap .button {
    width: 100%;
    min-height: 50px;
  }
}
