/* ==========================================================================
   1. HERO SECTION (SPLIT LAYOUT: LEFT TEXT, RIGHT VIDEO)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-navy-950, #080f1f);
  padding-top: var(--nav-height);
}

/* Subtle industrial grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

/* =========================
   LEFT CONTENT (58-60%)
========================= */

.hero-content {
  position: relative;
  z-index: 3;
  padding-left: clamp(1.5rem, 6vw, 6.5rem);
  padding-right: clamp(1.5rem, 3vw, 3rem);
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  max-width: 900px;
}

/* Dealership Pill Badge */
.hero-dealership-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.15rem;
  background-color: rgba(20, 31, 60, 0.85);
  border: 1px solid rgba(236, 109, 44, 0.4);
  border-radius: var(--radius-xs, 2px);
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  backdrop-filter: blur(10px);
}

.hero-dealership-pill .brand-callout {
  font-weight: 800;
  color: var(--color-accent-orange, #ec6d2c);
  letter-spacing: 0.08em;
}

/* Hero Headline */
.hero-headline {
  margin: 0 0 clamp(1.25rem, 2vw, 1.75rem) 0;
  font-size: clamp(2.35rem, 3.8vw, 4.4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-white, #ffffff);
  text-wrap: balance;
}

.hero-headline .text-gradient-orange {
  color: var(--color-accent-orange, #ec6d2c);
  background: linear-gradient(135deg, #ff9a52 0%, #ec6d2c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Supporting Statement */
.hero-lead {
  max-width: 720px;
  margin: 0 0 clamp(1.75rem, 2.5vw, 2.5rem) 0;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-inverse-muted, #b9c8df);
}

.hero-lead strong {
  color: var(--color-white, #ffffff);
}

/* Hero CTAs */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================
   RIGHT VIDEO (40-42%)
========================= */

.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  z-index: 2;
  overflow: hidden;

  /* Subtle dark gradient fade on the left edge so it blends into the navy background */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 8%,
    black 22%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 8%,
    black 22%,
    black 100%
  );
}

.hero-video video,
.hero-video .hero-bg-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 65% center;
  opacity: 0.92;
  filter: contrast(1.05) saturate(1.1);
}

/* Dark overlay on video for mood */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #080f1f 0%,
    rgba(8, 15, 31, 0.5) 12%,
    rgba(8, 15, 31, 0.05) 45%,
    rgba(8, 15, 31, 0.15) 100%
  );
}

/* =========================
   RESPONSIVENESS: TABLET
========================= */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 60% 40%;
  }

  .hero-content {
    padding-left: clamp(1.5rem, 4vw, 3rem);
    padding-right: 1.5rem;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-video {
    width: 40%;
  }
}

/* =========================
   RESPONSIVENESS: MOBILE
========================= */

@media (max-width: 768px) {
  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height-mobile) + 2rem) 0 3rem;
    grid-template-columns: 1fr;
  }

  .hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 0 var(--container-padding, 1.25rem);
    max-width: none;
  }

  .hero-dealership-pill {
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem;
  }

  .hero-headline {
    font-size: clamp(2.15rem, 8vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    color: var(--text-inverse-muted, #b9c8df);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 0;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  /* Mobile: Video plays behind the text as background */
  .hero-video {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin-top: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-video video,
  .hero-video .hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.35;
  }

  .hero-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 15, 31, 0.82) 0%,
      rgba(8, 15, 31, 0.65) 45%,
      rgba(8, 15, 31, 0.95) 100%
    );
  }
}

/* ==========================================================================
   2. TAS INTRODUCTION SECTION
   ========================================================================== */

.section-intro {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-light);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}

.intro-lead-statement {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--color-navy-900);
}

.intro-body-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.intro-body-copy p strong {
  color: var(--color-navy-900);
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   3. SECTION 03 — MIRANDA AUTHORISED DEALER (FLAGSHIP HERO SECTION)
   ========================================================================== */

.section-dealer {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background-color: var(--color-navy-900);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.dealer-header-card {
  position: relative;
  background: linear-gradient(135deg, rgba(27, 41, 78, 0.8) 0%, rgba(15, 23, 46, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.dealer-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.dealer-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background-color: var(--color-accent-orange);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
}

.dealer-miranda-svg-logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.4));
  display: block;
}

.dealer-statement {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.dealer-subtext {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-inverse-muted);
  margin-bottom: 1.5rem;
}

.dealer-showcase-visual {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.dealer-showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-precision);
}

.dealer-showcase-visual:hover img {
  transform: scale(1.04);
}

/* Compact Technical Pillar Strip */
.dealer-pillars-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.dealer-pillar-compact {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dealer-pillar-compact .pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-accent-orange-bright);
  letter-spacing: 0.08em;
}

.dealer-pillar-compact .pillar-text {
  font-size: 0.9375rem;
  color: var(--text-inverse-muted);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .dealer-header-card {
    padding: 1.75rem 1.25rem;
  }

  .dealer-header-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .dealer-badge-large {
    margin-bottom: 1rem;
    font-size: 0.75rem;
  }

  .dealer-miranda-svg-logo {
    margin-bottom: 1.25rem;
    max-width: 320px;
  }

  .dealer-statement {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0.85rem;
  }

  .dealer-header-grid .btn {
    width: 100%;
    min-height: 48px;
  }

  .dealer-pillars-strip {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .dealer-pillar-compact {
    padding: 1rem 1.15rem;
  }
}

/* ==========================================================================
   4. SECTION 04 — MIRANDA PRODUCTS SHOWCASE
   ========================================================================== */

.section-products {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background-color: var(--bg-surface);
}

.section-head-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .section-head-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   5. SECTION 05 — WHY TAS (GENUINE SERVICE CAPABILITIES)
   ========================================================================== */

.section-why {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface-elevated);
  transition: transform var(--transition-medium), border-color var(--transition-fast), box-shadow var(--transition-medium);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-navy);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(40, 56, 107, 0.08);
  border: 1px solid rgba(40, 56, 107, 0.16);
  color: var(--color-primary-navy);
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 0.75rem;
}

.why-card-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. SECTION 06 — ABOUT TAS
   ========================================================================== */

.section-about {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background-color: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 5vw, 6rem);
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-specs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.about-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
}

.about-spec-item strong {
  color: var(--color-navy-900);
  font-weight: 700;
}

.about-visual-card {
  position: relative;
  background: var(--color-navy-950);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: var(--radius-sm);
  color: var(--color-white);
}

.about-visual-logo {
  max-width: 220px;
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. SECTION 07 — ENQUIRY CONVERSION SECTION
   ========================================================================== */

.section-enquiry {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background-color: var(--color-navy-950);
  color: var(--color-white);
  position: relative;
  border-top: 1px solid var(--border-dark);
}

.enquiry-container-box {
  background-color: var(--color-navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.enquiry-split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.enquiry-info-panel {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(145deg, rgba(35, 52, 97, 0.4) 0%, rgba(15, 23, 46, 0.8) 100%);
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.enquiry-info-head {
  margin-bottom: 2.5rem;
}

.enquiry-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.enquiry-contact-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.enquiry-contact-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(236, 109, 44, 0.12);
  border: 1px solid rgba(236, 109, 44, 0.3);
  color: var(--color-accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.enquiry-contact-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.enquiry-contact-meta .contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-inverse-muted);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.enquiry-contact-meta .contact-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.enquiry-contact-meta a.contact-value:hover {
  color: var(--color-accent-orange);
}

.enquiry-form-panel {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background-color: var(--bg-dark-card);
}

@media (max-width: 900px) {
  .enquiry-split-grid {
    grid-template-columns: 1fr;
  }

  .enquiry-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }
}

/* ==========================================================================
   TAS FOOTER — MOBILE LAYOUT
   ========================================================================== */

@media (max-width: 640px) {

  .site-footer {
    width: 100%;
    overflow: hidden;
  }

  /* Main footer container */
  .site-footer .footer-top {
    width: 100%;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* Stack footer sections */
  .site-footer .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  /* Brand */
  .site-footer .footer-brand-logo {
    width: 120px;
    height: auto;
  }

  .site-footer .footer-brand-logo-wrap {
    margin-bottom: 16px;
  }

  .site-footer .footer-brand-text {
    max-width: 320px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  /* Footer headings */
  .site-footer .footer-col-title {
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.12em;
  }

  /* Footer links */
  .site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
  }

  .site-footer .footer-link {
    font-size: 14px;
    line-height: 1.5;
  }

  /* The fourth column adds unnecessary density on small screens */
  .site-footer .footer-grid>div:nth-child(4) {
    display: none;
  }

  /* Bottom bar */
  .site-footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .site-footer .footer-bottom-links {
    gap: 0;
  }
}

/* ==========================================================================
   PRODUCT CATALOGUE FILTER + SEARCH
   Clean responsive layout for desktop and mobile
   ========================================================================== */

.catalog-toolbar {
  width: 100%;
  background-color: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-light);
  position: static;
}

.catalog-toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   FILTER BUTTONS & SCROLL CONTAINER
   -------------------------------------------------------------------------- */

.filter-buttons-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.filter-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-xs);
  background-color: var(--color-navy-900);
  border: 1px solid var(--color-navy-700);
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  user-select: none;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.filter-scroll-btn:hover {
  background-color: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--color-accent-orange-glow);
}

.filter-scroll-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.filter-buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;

  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 4px 2px 6px;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.filter-buttons::-webkit-scrollbar {
  display: none;
}

.filter-buttons .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Keep filter buttons comfortable */
.filter-buttons .btn--small {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   SEARCH
   -------------------------------------------------------------------------- */

.catalog-search {
  width: 100%;
  max-width: 420px;
}

.catalog-search input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}


/* ==========================================================================
   DESKTOP
   ========================================================================== */

@media (min-width: 769px) {

  .catalog-toolbar-inner {
    gap: 1rem;
  }

  /*
   * Keep filter buttons on one clean scrollable horizontal row with arrows
   */
  .filter-buttons {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .catalog-search {
    width: 320px;
    max-width: 320px;
    margin-left: auto;
  }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

  .catalog-toolbar-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 0.75rem;
  }

  /*
   * On mobile, filters remain on one horizontal row.
   * The user can swipe horizontally instead of creating
   * a cramped multi-row wall of buttons.
   */
  .filter-buttons {
    width: 100%;
    max-width: none;

    gap: 0.5rem;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 4px;
  }

  .filter-buttons .btn--small {
    min-height: 44px;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
  }

  .catalog-search {
    width: 100%;
    max-width: none;
  }

  .catalog-search input {
    min-height: 48px;
    font-size: 0.9375rem;
  }
}


/* ==========================================================================
   SMALL PHONES
   ========================================================================== */

@media (max-width: 390px) {

  .catalog-toolbar-inner {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }

  .filter-buttons {
    gap: 0.45rem;
  }

  .filter-buttons .btn--small {
    min-height: 44px;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    font-size: 0.8125rem;
  }
}