﻿/*
Theme Name: MD Valves
Theme URI: https://example.com/
Author: MD Valves
Author URI: https://example.com/
Description: Custom WooCommerce and ACF Pro theme for MD Valves.
Version: 1.0.4
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.1
Text Domain: md-valves
*/

:root {
  --mdv-color-bg: #f3f3f3;
  --mdv-color-surface: #ffffff;
  --mdv-color-surface-soft: #f6f8fb;
  --mdv-color-text: #142433;
  --mdv-color-muted: #5c6c7d;
  --mdv-color-border: rgba(20, 36, 51, 0.12);
  --mdv-color-border-strong: rgba(20, 36, 51, 0.2);
  --mdv-color-primary: #ff4b43;
  --mdv-color-primary-dark: #eb3d35;
  --mdv-color-accent: #2568e8;
  --mdv-shadow-card: 0 18px 40px rgba(16, 33, 51, 0.08);
  --mdv-shadow-soft: 0 10px 28px rgba(16, 33, 51, 0.06);
  --mdv-radius-xl: 32px;
  --mdv-radius-lg: 24px;
  --mdv-radius-md: 18px;
  --mdv-radius-sm: 12px;
  --mdv-container-width: 1180px;
  --mdv-section-y: clamp(3.5rem, 5.5vw, 5.25rem);
  --mdv-section-y-compact: clamp(2.65rem, 4vw, 3.75rem);
  --mdv-stack-block: clamp(1.5rem, 2.5vw, 2.25rem);
  --mdv-hero-height: 360px;
  --mdv-hero-height-sm: 240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--mdv-color-bg);
  color: var(--mdv-color-text);
}

.mdv-site,
.mdv-site *,
.mdv-site *::before,
.mdv-site *::after {
  box-sizing: border-box;
}

.mdv-site {
  min-height: 100vh;
  background: var(--mdv-color-bg);
  color: var(--mdv-color-text);
  overflow-x: hidden;
}

.mdv-site a {
  color: inherit;
  text-decoration: none;
}

.mdv-site img {
  display: block;
  max-width: 100%;
}

.mdv-site button,
.mdv-site input,
.mdv-site select,
.mdv-site textarea {
  font: inherit;
}

.mdv-site address {
  font-style: normal;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mdv-container {
  width: var(--mdv-container-width);
  max-width: 100%;
  padding: 0 32px;
  margin: 0 auto;
}

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

.mdv-section--compact {
  padding: var(--mdv-section-y-compact) 0;
}

.mdv-section--topless {
  padding-top: 0;
}

.mdv-main > .mdv-section:last-of-type {
  padding-bottom: calc(var(--mdv-section-y) + 0.25rem);
}

.mdv-surface {
  background: var(--mdv-color-surface);
  border: 1px solid var(--mdv-color-border);
  border-radius: var(--mdv-radius-lg);
  box-shadow: var(--mdv-shadow-soft);
}

.mdv-eyebrow {
  margin: 0 0 12px;
  color: var(--mdv-color-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mdv-title {
  margin: 0;
  font-size: clamp(1.65rem, 2.35vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mdv-subtitle {
  margin: 0;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  line-height: 1.55;
  color: var(--mdv-color-muted);
}

.mdv-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--mdv-color-muted);
}

.mdv-heading-display {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.2;
}

.mdv-heading-section {
  margin: 0;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.2;
}

.mdv-heading-subsection {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.mdv-heading-card {
  margin: 0;
  font-size: 1.68rem;
  line-height: 1.25;
}

.mdv-heading-sidebar {
  margin: 0 0 16px;
  font-size: 1.58rem;
  line-height: 1.25;
}

.mdv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.mdv-button:hover,
.mdv-button:focus-visible {
  transform: translateY(-1px);
}

.mdv-button--primary {
  background: var(--mdv-color-primary);
  color: #ffffff;
}

.mdv-button--primary:hover,
.mdv-button--primary:focus-visible {
  background: var(--mdv-color-primary-dark);
}

.mdv-button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.mdv-button--download,
.mdv-button--download:link,
.mdv-button--download:visited,
.mdv-button--download:hover,
.mdv-button--download:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.mdv-button--secondary-dark {
  background: transparent;
  border-color: var(--mdv-color-border-strong);
  color: var(--mdv-color-text);
}

.mdv-button--secondary-dark.mdv-button--download,
.mdv-button--secondary-dark.mdv-button--download:link,
.mdv-button--secondary-dark.mdv-button--download:visited,
.mdv-button--secondary-dark.mdv-button--download:hover,
.mdv-button--secondary-dark.mdv-button--download:focus-visible {
  color: var(--mdv-color-text) !important;
  -webkit-text-fill-color: var(--mdv-color-text);
}

.mdv-button--ghost {
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--mdv-radius-sm);
  border-color: rgba(255, 75, 67, 0.35);
  color: var(--mdv-color-primary);
}

.mdv-header {
  position: relative;
  z-index: 100;
  overflow: visible;
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 36, 51, 0.04);
}

.mdv-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  overflow: visible;
}

.mdv-nav-toggle {
  display: none;
  flex-direction: column;
  appearance: none;
  border: 1px solid rgba(20, 36, 51, 0.14);
  background: #ffffff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex: 0 0 auto;
}

.mdv-nav-toggle:focus-visible {
  outline: 3px solid rgba(37, 104, 232, 0.35);
  outline-offset: 2px;
}

.mdv-nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #1a3248;
  border-radius: 999px;
}

.mdv-nav-open .mdv-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mdv-nav-open .mdv-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.mdv-nav-open .mdv-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mdv-nav-toggle__bar {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mdv-brand {
  display: inline-flex;
  align-items: flex-start;
}

.mdv-brand__mark {
  width: 78px;
  height: auto;
}

.mdv-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  overflow: visible;
}

.mdv-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mdv-nav__item {
  margin: 0;
}

.mdv-nav__link {
  position: relative;
  padding: 10px 0;
  font-size: 0.92rem;
  font-weight: 500;
}

.mdv-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.mdv-nav__link:hover::after,
.mdv-nav__link:focus-visible::after,
.mdv-nav__link.is-current::after,
.mdv-nav__link.is-ancestor::after {
  background: var(--mdv-color-accent);
}

.mdv-nav__list > .mdv-nav__item--dropdown {
  position: relative;
}

/* Hover bridge so cursor can move into submenu across the gap */
.mdv-nav__list > .mdv-nav__item--dropdown::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 24px;
  background: transparent;
  z-index: 199;
}

.mdv-nav__sub {
  position: absolute;
  left: 0;
  /* More breathing room from main menu item */
  top: calc(100% + 20px);
  z-index: 200;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(20, 36, 51, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 33, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.mdv-nav__list > .mdv-nav__item--dropdown:hover > .mdv-nav__sub,
.mdv-nav__list > .mdv-nav__item--dropdown:focus-within > .mdv-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mdv-nav__sub .mdv-nav__item {
  display: block;
  margin: 0;
}

.mdv-nav__sub .mdv-nav__link {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mdv-color-text);
  white-space: nowrap;
}

.mdv-nav__sub .mdv-nav__link:hover,
.mdv-nav__sub .mdv-nav__link:focus-visible {
  background: rgba(37, 104, 232, 0.08);
  color: var(--mdv-color-accent);
}

.mdv-nav__link--sub::after {
  display: none;
}

.mdv-nav__sub .mdv-nav__item--dropdown {
  position: relative;
}

/* Same bridge for nested submenus */
.mdv-nav__sub .mdv-nav__item--dropdown::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 24px;
  background: transparent;
  z-index: 199;
}

.mdv-nav__sub .mdv-nav__sub {
  left: calc(100% + 4px);
  top: -9px;
  margin-left: 0;
  transform: translateX(6px);
}

.mdv-nav__sub .mdv-nav__item--dropdown:hover > .mdv-nav__sub,
.mdv-nav__sub .mdv-nav__item--dropdown:focus-within > .mdv-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .mdv-nav-toggle {
    display: inline-flex;
  }

  /* Turn top nav into a dropdown panel */
  .mdv-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 500;
    background: #ffffff;
    border-top: 1px solid rgba(20, 36, 51, 0.08);
    border-bottom: 1px solid rgba(20, 36, 51, 0.06);
    padding: 12px 16px 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  body.mdv-nav-open .mdv-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.mdv-nav-open {
    overflow: hidden;
  }

  .mdv-nav__list {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }

  .mdv-nav__link {
    padding: 10px 6px;
    width: 100%;
  }

  .mdv-nav__list > .mdv-nav__item--dropdown > .mdv-nav__sub {
    left: 50%;
    right: auto;
    transform: translate(-50%, 8px);
  }

  .mdv-nav__list > .mdv-nav__item--dropdown:hover > .mdv-nav__sub,
  .mdv-nav__list > .mdv-nav__item--dropdown:focus-within > .mdv-nav__sub {
    transform: translate(-50%, 0);
  }

  .mdv-nav__sub .mdv-nav__sub {
    left: auto;
    right: 0;
    top: calc(100% + 20px);
    transform: translateY(6px);
  }

  .mdv-nav__sub .mdv-nav__item--dropdown:hover > .mdv-nav__sub,
  .mdv-nav__sub .mdv-nav__item--dropdown:focus-within > .mdv-nav__sub {
    transform: translateY(0);
  }
}

.mdv-header__cta {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
}

.mdv-hero {
  position: relative;
  overflow: hidden;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
}

.mdv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mdv-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
}

.mdv-hero--home-banner {
  background: #ffffff;
}

.mdv-hero__banner-wrap {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  line-height: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.mdv-hero__banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
  object-fit: contain;
  object-position: center top;
}

.mdv-hero--home-banner .mdv-hero__below {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 36, 51, 0.06);
}

.mdv-hero--home-banner .mdv-hero__below-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.mdv-hero__actions--below {
  margin-top: 0;
}

.mdv-hero--home-split {
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 36, 51, 0.06);
}

.mdv-hero--home-split .mdv-container {
  position: relative;
  z-index: 2;
}

/* Full-bleed background; copy + 3×2 grid inside .mdv-container */
.mdv-hero--home-boxed {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 46vw, 540px);
  border-bottom: 1px solid rgba(20, 36, 51, 0.06);
  background-color: #e2eaf4;
}

.mdv-hero--home-boxed .mdv-hero__boxed-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mdv-hero--home-boxed .mdv-hero__boxed-photo {
  position: absolute;
  inset: 0;
  background-color: #cfd9e8;
  background-image: var(--mdv-home-hero-bg-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.mdv-hero--home-boxed .mdv-hero__boxed-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.78) 32%,
    rgba(236, 243, 252, 0.52) 55%,
    rgba(214, 228, 244, 0.62) 100%
  );
}

.mdv-hero__boxed-shell {
  position: relative;
  z-index: 2;
  padding-top: clamp(2.35rem, 4.2vw, 3.35rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.65rem);
}

.mdv-hero__boxed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, min(42vw, 440px));
  gap: clamp(22px, 4.5vw, 52px);
  align-items: center;
}

.mdv-hero__copy--boxed {
  max-width: 560px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.mdv-home-hero-eyebrow--boxed::after {
  display: none;
}

.mdv-home-hero-heading--boxed::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--mdv-color-primary);
}

.mdv-home-hero-icons--boxed {
  grid-template-columns: repeat(2, minmax(0, 132px));
  justify-content: flex-start;
  max-width: 280px;
}

.mdv-hero--home-boxed .mdv-home-hero-icons__item {
  background: #ffffff;
  border: 1px solid rgba(20, 36, 51, 0.08);
  box-shadow: 0 8px 22px rgba(16, 33, 51, 0.06);
}

.mdv-hero__actions--boxed {
  margin-top: 26px;
}

.mdv-hero__tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.mdv-hero__tile {
  aspect-ratio: 1;
  margin: 0;
  padding: clamp(8px, 1.2vw, 14px);
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(20, 36, 51, 0.06);
  box-shadow: 0 12px 32px rgba(16, 33, 51, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mdv-hero__tile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .mdv-hero__boxed-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mdv-hero__copy--boxed {
    max-width: none;
    text-align: center;
  }

  .mdv-home-hero-heading--boxed::after {
    margin-left: auto;
    margin-right: auto;
  }

  .mdv-home-hero-icons--boxed {
    margin-left: auto;
    margin-right: auto;
  }

  .mdv-hero__actions--boxed {
    justify-content: center;
  }

  .mdv-hero__tile-grid {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .mdv-hero__tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.mdv-hero__split-shell {
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(2.25rem, 3.5vw, 3rem);
}

.mdv-hero__split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.mdv-hero__copy--split {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.mdv-home-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mdv-color-text);
}

.mdv-home-hero-eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--mdv-color-primary);
}

.mdv-home-hero-heading {
  margin: 0;
  font-size: clamp(1.65rem, 2.85vw, 2.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a3248;
}

.mdv-home-hero-lead {
  margin: 18px 0 0;
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--mdv-color-muted);
  letter-spacing: 0.02em;
}

.mdv-home-hero-icons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.mdv-home-hero-icons__item {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid rgba(20, 36, 51, 0.1);
  border-radius: 12px;
  background: rgba(246, 248, 251, 0.9);
}

.mdv-home-hero-icons__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.mdv-home-hero-icons__label {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdv-color-text);
}

.mdv-hero__picture {
  pointer-events: none;
  min-height: clamp(260px, 36vw, 380px);
  border-radius: 16px;
  background-color: #e4eaf2;
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 42px rgba(16, 33, 51, 0.08);
}

.mdv-hero__actions--split {
  margin-top: 26px;
}

@media (min-width: 620px) {
  .mdv-home-hero-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mdv-home-hero-icons--boxed {
    grid-template-columns: repeat(2, minmax(0, 132px));
  }
}

@media (max-width: 900px) {
  .mdv-hero__split-grid {
    grid-template-columns: 1fr;
  }

  .mdv-hero__picture {
    order: -1;
    min-height: 240px;
  }

  .mdv-hero__copy--split {
    max-width: none;
    padding-right: 0;
  }

  .mdv-hero__split-shell {
    padding-top: 28px;
    padding-bottom: 36px;
  }
}

.mdv-hero__copy {
  padding-bottom: 0;
}

.mdv-hero__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.mdv-hero__catalog {
  display: none;
  padding-bottom: 26px;
}

.mdv-hero__catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mdv-mini-card {
  padding: 0;
  border-radius: 22px;
  background: transparent;
  text-align: center;
  box-shadow: none;
}

.mdv-mini-card__image {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 23, 47, 0.12);
}

.mdv-mini-card__label {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  color: #ffffff;
}

.mdv-hero--page {
  min-height: var(--mdv-hero-height);
}

.mdv-hero--page.mdv-hero--page-hero {
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(12, 33, 74, 0.72), rgba(15, 54, 123, 0.28)),
    var(--mdv-page-hero-image, url("./assets/images/home-hero-bg-full.png"));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mdv-hero--page.mdv-hero--page-hero::before {
  background: transparent;
}

.mdv-hero--page::before {
  background: linear-gradient(90deg, rgba(12, 33, 74, 0.7), rgba(15, 54, 123, 0.3));
}

.mdv-hero--page .mdv-hero__inner {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: var(--mdv-hero-height);
  padding: 0;
}

.mdv-hero--page .mdv-title,
.mdv-hero--page .mdv-subtitle {
  color: #ffffff;
}

.mdv-hero--contact {
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(12, 33, 74, 0.68), rgba(15, 54, 123, 0.22)),
    var(--mdv-contact-hero-image, url("./assets/images/home-hero-bg-full.png"));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mdv-contact-page {
  background: #ececec;
}

.mdv-contact-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.mdv-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.mdv-contact-left {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mdv-contact-list {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
}

.mdv-contact-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
}

.mdv-contact-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--mdv-color-accent);
  margin-top: 2px;
}

.mdv-contact-label {
  grid-column: 2;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mdv-color-text);
}

.mdv-contact-value {
  grid-column: 2;
  margin: 0;
  color: var(--mdv-color-muted);
  line-height: 1.6;
}

.mdv-contact-link {
  color: inherit;
  text-decoration: none;
}

.mdv-contact-link:hover,
.mdv-contact-link:focus-visible {
  color: var(--mdv-color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mdv-contact-right {
  border-radius: 14px;
  background: #cfd9e6;
  padding: 22px 22px 18px;
  border: 1px solid rgba(20, 36, 51, 0.08);
}

.mdv-contact-right .mdv-heading-card {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.mdv-contact-form .wpcf7 form {
  margin: 0;
}

.mdv-contact-form .wpcf7-form p {
  margin: 0 0 12px;
}

.mdv-contact-form input[type="text"],
.mdv-contact-form input[type="email"],
.mdv-contact-form input[type="tel"],
.mdv-contact-form textarea,
.mdv-contact-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(20, 36, 51, 0.22);
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  outline: none;
  color: var(--mdv-color-text);
}

.mdv-contact-form textarea {
  min-height: 92px;
  resize: vertical;
}

.mdv-contact-form input:focus,
.mdv-contact-form textarea:focus,
.mdv-contact-form select:focus {
  border-bottom-color: rgba(37, 104, 232, 0.7);
}

.mdv-contact-form input::placeholder,
.mdv-contact-form textarea::placeholder {
  color: rgba(20, 36, 51, 0.55);
}

.mdv-contact-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--mdv-color-primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.mdv-contact-form .wpcf7-submit:hover,
.mdv-contact-form .wpcf7-submit:focus-visible {
  background: var(--mdv-color-primary-dark);
}

.mdv-contact-form .wpcf7-response-output {
  margin: 12px 0 0 !important;
  padding: 10px 12px !important;
  border-radius: 12px;
}

.mdv-contact-form .wpcf7-not-valid-tip {
  font-size: 0.82rem;
  margin-top: 6px;
}

.mdv-contact-form .wpcf7-spinner {
  margin-left: 10px;
}

.mdv-contact-form .mdv-cf7-privacy {
  margin: 4px 0 16px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(20, 36, 51, 0.52);
}

.mdv-contact-form .mdv-cf7-submit-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

/* Get Quote — Contact Form 7 (matches bordered .mdv-input / .mdv-textarea) */
.mdv-quote-form .wpcf7 form {
  margin: 0;
}

.mdv-quote-form .wpcf7-form > p {
  margin: 0 0 12px;
}

.mdv-quote-form .mdv-form-section {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.mdv-quote-form .mdv-form-section:first-of-type {
  margin-top: 0;
}

.mdv-quote-form .mdv-form-section + .mdv-form-section {
  padding-top: 10px;
}

.mdv-quote-form .mdv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.mdv-quote-form .mdv-form-grid > p,
.mdv-quote-form .mdv-field {
  margin: 0;
  min-width: 0;
}

.mdv-quote-form .mdv-field--full {
  grid-column: 1 / -1;
}

.mdv-quote-form .mdv-field > label,
.mdv-quote-form .mdv-form-grid label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.mdv-quote-form input[type="text"],
.mdv-quote-form input[type="email"],
.mdv-quote-form input[type="tel"],
.mdv-quote-form input[type="number"],
.mdv-quote-form textarea,
.mdv-quote-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd6e2;
  border-radius: 14px;
  background: #ffffff;
  color: var(--mdv-color-text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mdv-quote-form input[type="text"],
.mdv-quote-form input[type="email"],
.mdv-quote-form input[type="tel"],
.mdv-quote-form input[type="number"],
.mdv-quote-form select {
  height: 54px;
  padding: 0 16px;
}

.mdv-quote-form textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.mdv-quote-form input:focus,
.mdv-quote-form textarea:focus,
.mdv-quote-form select:focus {
  border-color: rgba(37, 104, 232, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 104, 232, 0.12);
}

.mdv-quote-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--mdv-color-primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.mdv-quote-form .wpcf7-submit:hover,
.mdv-quote-form .wpcf7-submit:focus-visible {
  background: var(--mdv-color-primary-dark);
}

.mdv-quote-form .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 10px 12px !important;
  border-radius: 12px;
}

.mdv-quote-form .wpcf7-not-valid-tip {
  font-size: 0.82rem;
  margin-top: 6px;
}

.mdv-quote-form .mdv-form-actions .mdv-form-note {
  margin: 10px 0 0;
}

@media (max-width: 780px) {
  .mdv-quote-form .mdv-form-grid {
    grid-template-columns: 1fr;
  }
}

.mdv-hero--about {
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(8, 42, 83, 0.72), rgba(10, 117, 176, 0.24)),
    var(--mdv-about-hero-image, url("./assets/images/home-hero-bg-full.png"));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mdv-hero--products {
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(8, 27, 63, 0.38), rgba(8, 63, 154, 0.16)),
    var(--mdv-products-hero-image, url("./assets/images/home-hero-bg-full.png"));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mdv-hero--products::before {
  background: linear-gradient(90deg, rgba(7, 20, 42, 0.22), rgba(7, 20, 42, 0.06));
}

.mdv-hero--quote::before {
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
}

.mdv-hero--products .mdv-hero__inner,
.mdv-hero--quote .mdv-hero__inner,
.mdv-hero--about .mdv-hero__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: max(var(--mdv-hero-height), clamp(340px, 44vw, 460px));
  padding: 0;
}

.mdv-hero--about .mdv-hero__inner {
  padding: 0 max(32px, calc((100vw - var(--mdv-container-width)) / 2 + 32px));
  justify-content: flex-start;
}

.mdv-hero--products .mdv-hero__inner {
  padding: 0 max(32px, calc((100vw - var(--mdv-container-width)) / 2 + 32px));
}

.mdv-hero--quote .mdv-hero__inner {
  padding: 0 max(32px, calc((100vw - var(--mdv-container-width)) / 2 + 32px));
  box-sizing: border-box;
}

.mdv-hero__panel {
  min-width: 0;
  max-width: 100%;
  width: min(560px, 100%);
  padding: 34px 36px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--mdv-radius-xl);
  backdrop-filter: blur(18px);
  color: #ffffff;
}

.mdv-hero__panel .mdv-title,
.mdv-hero__panel .mdv-subtitle,
.mdv-hero__panel .mdv-copy {
  color: #ffffff;
}

.mdv-hero__panel .mdv-copy {
  color: rgba(255, 255, 255, 0.82);
}

.mdv-hero__panel--light {
  background: rgba(255, 255, 255, 0.28);
  color: var(--mdv-color-text);
}

.mdv-hero__panel--light .mdv-title,
.mdv-hero__panel--light .mdv-subtitle {
  color: var(--mdv-color-text);
}

.mdv-hero__panel--light .mdv-copy {
  color: var(--mdv-color-muted);
}

.mdv-hero__panel--about {
  width: min(470px, 100%);
  padding: 34px 30px;
  background: rgba(45, 125, 207, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.mdv-hero__panel--about .mdv-title,
.mdv-hero__panel--about .mdv-subtitle {
  color: #ffffff;
}

.mdv-hero__panel--about .mdv-title,
.mdv-hero__panel--quote .mdv-title {
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.mdv-about-page {
  background: #ececec;
}

.mdv-about-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.mdv-about-hero-kicker strong {
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: 0;
}

.mdv-about-hero-tagline {
  margin: -4px 0 0;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.55;
}

.mdv-button--about-contact,
.mdv-button--about-contact:hover,
.mdv-button--about-contact:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.64);
}

.mdv-about-company__grid,
.mdv-about-why__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 40px;
  align-items: center;
}

.mdv-about-collage {
  display: grid;
  gap: 14px;
}

.mdv-about-collage img,
.mdv-about-why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdv-about-collage__wide,
.mdv-about-collage__split > div,
.mdv-about-why__image {
  overflow: hidden;
  border-radius: 10px;
}

.mdv-about-collage__wide {
  height: 138px;
}

.mdv-about-collage__split {
  display: grid;
  grid-template-columns: 0.95fr 1.95fr;
  gap: 14px;
}

.mdv-about-collage__split > div {
  height: 154px;
}

.mdv-about-copy .mdv-title,
.mdv-about-section-heading .mdv-title,
.mdv-about-why .mdv-title {
  letter-spacing: 0.1em;
}

.mdv-about-copy .mdv-copy h3 {
  margin: 14px 0 8px;
  color: var(--mdv-color-text);
  font-size: 1.18rem;
}

.mdv-about-copy .mdv-copy ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.mdv-about-copy .mdv-copy li {
  margin: 4px 0;
}

.mdv-about-section-heading {
  margin-bottom: 34px;
}

.mdv-values--about {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mdv-value-card--about {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.mdv-value-card--about .mdv-value-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.mdv-value-card--about .mdv-value-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mdv-value-card--about .mdv-value-card__label {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  padding: 8px 13px;
  border-radius: 4px;
  background: #ffffff;
  color: var(--mdv-color-text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.mdv-value-card--about .mdv-value-card__body {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  min-height: 190px;
  padding: 52px 24px 28px;
  text-align: center;
}

.mdv-value-card--about .mdv-value-card__icon {
  position: absolute;
  left: 50%;
  top: -42px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 76px;
  transform: translateX(-50%);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background: #a6492b;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.mdv-value-card--about .mdv-copy {
  max-width: 245px;
  line-height: 1.6;
}

.mdv-value-card--about:nth-child(2) .mdv-value-card__icon {
  background: #1d6da6;
}

.mdv-value-card--about:nth-child(3) .mdv-value-card__icon {
  background: #d6a24c;
}

.mdv-about-why__grid {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.42fr);
  gap: 48px;
}

.mdv-about-why__image {
  height: 390px;
}

.mdv-number-grid--about {
  gap: 32px 28px;
}

.mdv-hero__panel--quote {
  flex-shrink: 1;
  width: min(620px, 100%);
}

.mdv-hero__panel--quote > .mdv-products-kicker {
  color: var(--mdv-color-muted);
}

.mdv-hero__panel--quote > .mdv-title,
.mdv-hero__panel--quote > .mdv-subtitle {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.mdv-hero__panel .mdv-button--secondary-dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.mdv-hero__panel--products {
  width: min(520px, 100%);
  padding: 38px 42px;
  border-radius: 28px;
  background: rgba(92, 147, 234, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  text-align: center;
}

.mdv-products-kicker {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
}

.mdv-hero__panel--products .mdv-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.mdv-hero__panel--products .mdv-title strong {
  font-weight: 800;
}

.mdv-hero__panel--products .mdv-subtitle {
  font-size: 1rem;
  line-height: 1.55;
}

.mdv-hero--blogs {
  background-image:
    linear-gradient(90deg, rgba(190, 224, 251, 0.82), rgba(185, 227, 255, 0.72)),
    url("./assets/images/image-35@2x.png");
  background-size: cover;
  background-position: center;
}

.mdv-hero--blogs::before,
.mdv-hero--blog-detail::before {
  background: linear-gradient(90deg, rgba(190, 224, 251, 0.82), rgba(185, 227, 255, 0.72));
}

.mdv-hero--blogs .mdv-title,
.mdv-hero--blogs .mdv-subtitle,
.mdv-hero--blog-detail .mdv-title,
.mdv-hero--blog-detail .mdv-subtitle {
  color: var(--mdv-color-text);
}

.mdv-hero--blog-detail {
  background-image:
    linear-gradient(90deg, rgba(190, 224, 251, 0.82), rgba(185, 227, 255, 0.72)),
    url("./assets/images/image-351@2x.png");
  background-size: cover;
  background-position: center;
}

.mdv-hero--product-detail {
  background-image:
    linear-gradient(90deg, rgba(22, 50, 126, 0.86), rgba(18, 43, 111, 0.8)),
    url("./assets/images/image-101@2x.png");
  background-size: cover;
  background-position: center;
}

.mdv-center-intro--detail {
  max-width: 640px;
}

.mdv-hero--product-detail .mdv-hero__inner {
  min-height: var(--mdv-hero-height);
  padding: 0 max(32px, calc((100vw - var(--mdv-container-width)) / 2 + 32px));
}

.mdv-hero--product-detail .mdv-title {
  font-size: clamp(1.7rem, 2.55vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: 0.1em;
}

.mdv-hero--quote {
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, 0.9) 0%, rgba(236, 243, 252, 0.75) 42%, rgba(214, 228, 244, 0.6) 100%),
    var(--mdv-quote-hero-image, url("./assets/images/home-hero-bg-full.png"));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mdv-hero--quote .mdv-title,
.mdv-hero--quote .mdv-subtitle {
  color: var(--mdv-color-text);
}

.mdv-hero--quote .mdv-copy {
  color: var(--mdv-color-muted);
}

.mdv-checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 20px;
  color: var(--mdv-color-text);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.mdv-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.mdv-checklist__item::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.12em;
  border-radius: 50%;
  background: rgba(37, 104, 232, 0.14);
  color: var(--mdv-color-accent);
  font-weight: 700;
}

.mdv-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.mdv-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
  padding: 0;
}

.mdv-collage::before {
  display: none;
}

.mdv-collage__column {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.mdv-collage__card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: none;
}

.mdv-collage__card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.mdv-collage__column:first-child {
  padding: 88px 0 0 20px;
}

.mdv-collage__column:first-child .mdv-collage__card img {
  min-height: 340px;
}

.mdv-collage__column:last-child .mdv-collage__card:first-child {
  width: 82%;
}

.mdv-collage__column:last-child .mdv-collage__card:first-child img {
  min-height: 210px;
}

.mdv-collage__column:last-child .mdv-collage__card:last-child {
  margin-left: 28px;
}

.mdv-collage__column:last-child .mdv-collage__card:last-child img {
  min-height: 300px;
}

.mdv-stack {
  display: grid;
  gap: 16px;
}

.mdv-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--mdv-color-muted);
  line-height: 1.8;
}

.mdv-center-intro {
  max-width: 620px;
  margin: 0 auto var(--mdv-stack-block);
  text-align: center;
}

.mdv-center-intro--flush {
  margin: 0;
}

.mdv-center-intro--blog .mdv-title {
  letter-spacing: 0;
  text-transform: none;
}

.mdv-product-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mdv-product-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 0;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(16, 33, 51, 0.07);
}

.mdv-product-spotlight::before {
  display: none;
}

.mdv-product-spotlight a {
  display: grid;
  grid-template-rows: 240px auto;
  min-height: 100%;
}

.mdv-product-spotlight img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  background: #ffffff;
}

.mdv-product-spotlight > img {
  height: 240px;
}

.mdv-product-spotlight__content {
  position: static;
  padding: 0 20px 22px;
  text-align: center;
  color: var(--mdv-color-text);
}

.mdv-product-spotlight__content h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.mdv-product-spotlight__content p {
  margin: 0;
  color: rgba(20, 36, 51, 0.72);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9rem;
}

.mdv-product-spotlight:nth-child(2)::before {
  display: none;
}

.mdv-product-spotlight:nth-child(2) .mdv-product-spotlight__content {
  color: var(--mdv-color-text);
}

.mdv-product-spotlight:nth-child(1)::before,
.mdv-product-spotlight:nth-child(3)::before {
  display: none;
}

.mdv-industries-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 26px 16px;
}

.mdv-industry-card {
  text-align: center;
}

.mdv-industry-card__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  padding: 14px;
  border-radius: 50%;
  background: #dfe8f5;
  box-shadow: none;
}

.mdv-industry-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mdv-industry-card__name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mdv-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.mdv-page-intro__copy .mdv-title {
  font-size: clamp(1.6rem, 2.25vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.1em;
}

.mdv-align-end {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.mdv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mdv-color-border);
}

.mdv-toolbar--blogs {
  align-items: center;
}

.mdv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.mdv-tab {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--mdv-color-muted);
  cursor: pointer;
}

.mdv-tab.is-current {
  color: var(--mdv-color-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
  text-decoration-color: var(--mdv-color-accent);
}

.mdv-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--mdv-color-primary);
  cursor: pointer;
}

.mdv-filter-button img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.mdv-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  background: var(--mdv-color-surface);
  border: 1px solid var(--mdv-color-border-strong);
  border-radius: 12px;
  box-shadow: none;
}

.mdv-search img {
  width: 20px;
  height: 20px;
}

.mdv-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--mdv-color-text);
}

.mdv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mdv-card-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mdv-card-grid--portfolio {
  gap: 22px;
}

.mdv-card-grid--blogs {
  gap: 24px;
}

.mdv-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--mdv-color-surface);
  border: 1px solid var(--mdv-color-border);
  border-radius: 10px;
  box-shadow: none;
}

.mdv-card__media {
  position: relative;
  aspect-ratio: 1.3 / 1;
  overflow: hidden;
}

.mdv-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdv-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.62rem;
  font-weight: 600;
}

.mdv-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 20px;
}

.mdv-card__tag {
  margin: 0;
  color: #7b8c9d;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mdv-card__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.mdv-card__text {
  margin: 0;
  color: var(--mdv-color-muted);
  line-height: 1.65;
}

.mdv-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.mdv-card__meta {
  font-size: 0.95rem;
  color: var(--mdv-color-muted);
}

.mdv-card__link {
  margin-top: auto;
  color: var(--mdv-color-primary);
  font-size: 0.98rem;
  font-weight: 500;
}

.mdv-card--product {
  border-radius: 12px;
  box-shadow: none;
}

.mdv-card--product .mdv-card__media {
  aspect-ratio: 1.18 / 0.86;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #ffffff;
}

.mdv-card--product .mdv-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.mdv-card-grid--detail-related .mdv-card--product .mdv-card__media {
  aspect-ratio: 1.12 / 0.92;
  padding: 18px;
}

.mdv-card--product .mdv-card__body {
  gap: 12px;
  padding: 12px 12px 14px;
}

.mdv-card--product .mdv-card__title {
  font-size: 0.98rem;
  line-height: 1.42;
}

.mdv-card--product .mdv-card__text {
  font-size: 0.78rem;
  line-height: 1.52;
}

.mdv-card--product .mdv-card__meta {
  font-size: 0.82rem;
}

.mdv-card--product .mdv-button--ghost {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 5px;
  border-color: rgba(255, 75, 67, 0.42);
  font-size: 0.68rem;
  font-weight: 500;
}

.mdv-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78)),
    url("./assets/images/image-24@2x.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--mdv-shadow-card);
}

.mdv-banner__content {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 48px 24px;
  text-align: center;
}

.mdv-banner--products {
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.76)),
    url("./assets/images/image-24@2x.png");
  box-shadow: none;
}

.mdv-banner--products .mdv-banner__content {
  gap: 12px;
  padding: 48px 24px;
}

.mdv-banner--products .mdv-title {
  max-width: 640px;
  font-size: clamp(1.5rem, 2.15vw, 2.05rem);
  line-height: 1.24;
  letter-spacing: 0;
  text-transform: none;
}

.mdv-banner--products .mdv-copy {
  max-width: 600px;
}

.mdv-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  font-weight: 500;
}

.mdv-breadcrumb__arrow {
  color: var(--mdv-color-accent);
  font-size: 1.35rem;
  line-height: 1;
}

.mdv-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 40px;
  align-items: start;
}

.mdv-detail-image {
  overflow: hidden;
  border-radius: 14px;
  background: var(--mdv-color-surface);
  border: 1px solid var(--mdv-color-border);
  box-shadow: none;
  width: min(100%, 624px);
  height: 638px;
}

.mdv-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdv-detail-image .woocommerce-product-gallery,
.mdv-detail-image .woocommerce-product-gallery__wrapper,
.mdv-detail-image .woocommerce-product-gallery__image,
.mdv-detail-image .woocommerce-product-gallery__image a {
  width: 100%;
  height: 100%;
}

.mdv-detail-image .woocommerce-product-gallery__trigger {
  display: none;
}

.mdv-detail-panel {
  display: grid;
  gap: 24px;
}

.mdv-product-category-pill {
  justify-self: start;
  margin: 0 0 -6px;
  padding: 7px 13px;
  border-radius: 5px;
  background: #243746;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
}

.mdv-stack--spaced {
  margin-bottom: 30px;
}

.mdv-stack--tight {
  margin-bottom: 28px;
}

.mdv-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 6px;
  background: #263847;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 500;
}

.mdv-divider {
  height: 1px;
  background: var(--mdv-color-border-strong);
}

.mdv-detail-panel .mdv-heading-display {
  font-size: clamp(1.65rem, 2.55vw, 2.55rem);
  line-height: 1.18;
}

.mdv-detail-panel .mdv-subtitle {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.5;
  max-width: 650px;
}

.mdv-detail-group {
  gap: 12px;
}

.mdv-detail-specs {
  display: grid;
  gap: 18px;
  padding: 6px 0;
}

.mdv-detail-group .mdv-heading-subsection {
  font-size: 1.08rem;
  color: #53667b;
  font-weight: 600;
}

.mdv-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mdv-chip {
  min-width: 96px;
  padding: 10px 16px;
  border: 1px solid #b7c4d3;
  border-radius: 2px;
  background: transparent;
  color: #4e6479;
  font-size: 0.92rem;
  text-align: center;
  font-weight: 500;
}

.mdv-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.mdv-action-row--detail {
  margin-top: 20px;
}

.mdv-action-row--detail .mdv-button {
  min-height: 56px;
  padding: 0 26px;
}

.mdv-action-row--detail .mdv-button--secondary-dark {
  border-color: #8fa1b5;
  color: #51657a;
}

.mdv-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.mdv-article {
  display: grid;
  gap: 24px;
}

.mdv-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #748596;
  font-size: 1rem;
}

.mdv-article__image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: none;
  border: 1px solid var(--mdv-color-border);
}

.mdv-article__body {
  display: grid;
  gap: 22px;
}

.mdv-article__body h2 {
  margin: 0;
  font-size: 2rem;
}

.mdv-article__body p {
  margin: 0;
  color: var(--mdv-color-muted);
  line-height: 1.9;
}

.mdv-sidebar {
  display: grid;
  gap: 20px;
}

.mdv-sidebar__card {
  padding: 22px;
}

.mdv-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mdv-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--mdv-color-border-strong);
  background: var(--mdv-color-surface-soft);
}

.mdv-social img {
  width: 20px;
  height: 20px;
}

.mdv-related-list {
  display: grid;
  gap: 16px;
}

.mdv-related-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.mdv-related-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
}

.mdv-related-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.mdv-related-item p {
  margin: 0;
  color: #7b8c9d;
  font-size: 0.88rem;
}

.mdv-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mdv-value-card {
  overflow: hidden;
  background: var(--mdv-color-surface);
  border: 1px solid var(--mdv-color-border);
  border-radius: 24px;
  box-shadow: var(--mdv-shadow-soft);
}

.mdv-value-card__media {
  aspect-ratio: 1.15 / 1;
}

.mdv-value-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdv-value-card__body {
  padding: 22px 22px 28px;
  text-align: center;
}

.mdv-value-card__label {
  display: inline-flex;
  justify-content: center;
  min-width: 112px;
  padding: 10px 18px;
  border-radius: 14px;
  margin-top: -54px;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid var(--mdv-color-border);
  box-shadow: var(--mdv-shadow-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mdv-number-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.mdv-number-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.mdv-number-card__number {
  color: var(--mdv-color-primary);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.mdv-number-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.mdv-number-card p {
  margin: 0;
  color: var(--mdv-color-muted);
  line-height: 1.65;
}

.mdv-actions-split {
  justify-content: space-between;
  align-items: center;
  margin-top: var(--mdv-stack-block);
  gap: clamp(1rem, 3vw, 1.5rem);
}

.mdv-copy--wide {
  max-width: 720px;
}

.mdv-form-card {
  padding: 34px 30px 38px;
}

.mdv-form-section {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.mdv-form-section + .mdv-form-section {
  padding-top: 10px;
}

.mdv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.mdv-field {
  display: grid;
  gap: 8px;
}

.mdv-field--full {
  grid-column: 1 / -1;
}

.mdv-field label {
  font-size: 1rem;
  font-weight: 600;
}

.mdv-required {
  color: var(--mdv-color-primary);
}

.mdv-input,
.mdv-select,
.mdv-textarea {
  width: 100%;
  border: 1px solid #cbd6e2;
  border-radius: 14px;
  background: #ffffff;
  color: var(--mdv-color-text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mdv-input,
.mdv-select {
  height: 54px;
  padding: 0 16px;
}

.mdv-textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.mdv-input:focus,
.mdv-select:focus,
.mdv-textarea:focus {
  border-color: rgba(37, 104, 232, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 104, 232, 0.12);
}

.mdv-upload {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 24px;
  border: 1px dashed rgba(20, 36, 51, 0.28);
  border-radius: 22px;
  background: var(--mdv-color-surface-soft);
  text-align: center;
}

.mdv-upload img {
  width: 40px;
  margin-bottom: 12px;
}

.mdv-upload p {
  margin: 0;
  color: var(--mdv-color-muted);
  line-height: 1.8;
}

.mdv-upload span {
  color: var(--mdv-color-accent);
  font-weight: 600;
}

.mdv-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.mdv-form-actions {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 10px;
}

.mdv-form-intro .mdv-heading-section {
  font-size: clamp(1.65rem, 2.55vw, 2.55rem);
  letter-spacing: 0;
  text-transform: none;
}

.mdv-form-note {
  margin: 0;
  color: #7b8c9d;
  text-align: center;
}

.mdv-footer {
  margin-top: var(--mdv-section-y-compact);
  background: #ffffff;
  border-top: 1px solid rgba(20, 36, 51, 0.08);
}

.mdv-footer .mdv-container {
  max-width: var(--mdv-container-width);
  padding-left: 32px;
  padding-right: 32px;
}

.mdv-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr) minmax(240px, 0.95fr);
  justify-content: space-between;
  gap: 42px;
  padding: 44px 0 50px;
  align-items: start;
}

.mdv-footer__brand {
  display: grid;
  gap: 14px;
  justify-items: start;
  min-width: 0;
}

.mdv-footer__brand .mdv-brand__mark {
  width: 62px;
}

.mdv-footer__brand .mdv-brand {
  justify-self: start;
  line-height: 0;
}

.mdv-footer__brand p {
  max-width: 420px;
}

.mdv-footer__title {
  margin: 0 0 12px;
  color: var(--mdv-color-accent);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.mdv-footer__links {
  display: grid;
  gap: 12px;
  color: var(--mdv-color-text);
  justify-items: start;
  min-width: 0;
}

.mdv-footer__menu {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mdv-footer__contact {
  display: grid;
  gap: 10px;
  justify-items: start;
  min-width: 0;
}

.mdv-footer__contact p,
.mdv-footer__brand p {
  margin: 0;
  color: var(--mdv-color-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.mdv-footer__contact strong {
  color: var(--mdv-color-text);
}

.mdv-footer__icon {
  display: inline-flex;
  justify-content: center;
  width: 14px;
  margin-right: 8px;
  color: var(--mdv-color-primary);
}

@media (max-width: 1120px) {
  :root {
    --mdv-hero-height: 320px;
  }

  .mdv-about-company__grid,
  .mdv-about-why__grid {
    grid-template-columns: 1fr;
  }

  .mdv-about-why__image {
    max-width: 520px;
  }

  .mdv-page-intro,
  .mdv-grid-two,
  .mdv-detail-layout,
  .mdv-article-layout {
    grid-template-columns: 1fr;
  }

  .mdv-hero--products .mdv-hero__inner,
  .mdv-hero--quote .mdv-hero__inner,
  .mdv-hero--about .mdv-hero__inner {
    justify-content: center;
  }

  .mdv-hero__panel {
    width: 100%;
  }

  .mdv-industries-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mdv-card-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdv-hero--products .mdv-hero__inner {
    padding: 0 40px;
  }

  .mdv-hero--product-detail .mdv-hero__inner {
    padding: 0 40px;
  }

  .mdv-hero--about .mdv-hero__inner,
  .mdv-hero--quote .mdv-hero__inner {
    padding: 0 40px;
  }

  .mdv-hero__panel--products {
    width: min(100%, 560px);
  }

  .mdv-card-grid,
  .mdv-values,
  .mdv-product-showcase,
  .mdv-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdv-card-grid--blogs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdv-footer .mdv-container {
    max-width: var(--mdv-container-width);
    padding-left: 32px;
    padding-right: 32px;
  }

  .mdv-hero__copy,
  .mdv-hero__catalog {
    padding-bottom: 0;
  }

  .mdv-hero__catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .mdv-grid-two {
    gap: 40px;
  }

  .mdv-collage {
    padding: 20px 0 0;
  }

  .mdv-collage::before {
    left: 0;
    top: 72px;
    width: 78%;
  }

  .mdv-page-intro {
    gap: 18px;
  }

  .mdv-actions-split {
    gap: 20px;
  }

  .mdv-page-intro__copy {
    text-align: left;
  }

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

  .mdv-search {
    max-width: 100%;
  }
}

@media (max-width: 780px) {
  :root {
    --mdv-container-width: 100%;
    --mdv-hero-height: 240px;
  }

  .mdv-container {
    padding: 0 16px;
  }

  .mdv-footer .mdv-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mdv-header__bar {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 14px 0 18px;
    min-height: auto;
    text-align: left;
    gap: 14px;
  }

  .mdv-brand {
    align-items: center;
  }

  /* Keep mobile nav collapsed by default and opened only via .mdv-nav-open */
  .mdv-nav {
    order: initial !important;
    width: auto !important;
    flex-basis: auto !important;
    justify-content: initial !important;
  }

  .mdv-nav__list {
    order: initial !important;
    width: 100% !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    flex-basis: auto !important;
  }

  .mdv-title {
    letter-spacing: 0.02em;
  }

  .mdv-section {
    padding: 48px 0;
  }

  .mdv-contact-card {
    padding: 18px 16px;
  }

  .mdv-contact-right {
    padding: 18px 16px 14px;
  }

  .mdv-hero--page .mdv-hero__inner,
  .mdv-hero--products .mdv-hero__inner,
  .mdv-hero--quote .mdv-hero__inner,
  .mdv-hero--about .mdv-hero__inner {
    padding: 0 16px;
  }

  .mdv-title {
    font-size: clamp(1.65rem, 7vw, 2.35rem);
    line-height: 1.12;
  }

  .mdv-hero--product-detail .mdv-hero__inner {
    min-height: var(--mdv-hero-height);
    padding: 0 16px;
  }

  .mdv-hero--product-detail .mdv-title {
    letter-spacing: 0.08em;
  }

  .mdv-hero__panel--products {
    padding: 28px 22px;
  }

  .mdv-hero__panel--about,
  .mdv-hero__panel--quote {
    width: 100%;
  }

  .mdv-hero__panel,
  .mdv-hero__panel--products,
  .mdv-hero__panel--about,
  .mdv-hero__panel--quote {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .mdv-hero__panel--about {
    background: rgba(35, 111, 190, 0.56);
  }

  .mdv-about-hero-kicker {
    gap: 8px;
    font-size: 1.35rem;
  }

  .mdv-about-company__grid,
  .mdv-about-why__grid {
    gap: 34px;
  }

  .mdv-about-collage__wide,
  .mdv-about-collage__split > div,
  .mdv-about-why__image {
    height: auto;
    aspect-ratio: 1.35 / 1;
  }

  .mdv-about-collage__split {
    grid-template-columns: 1fr;
  }

  .mdv-values--about {
    gap: 28px;
  }

  .mdv-value-card--about .mdv-value-card__media {
    height: 160px;
  }

  .mdv-value-card--about .mdv-value-card__body {
    min-height: 190px;
  }

  .mdv-hero__catalog-grid,
  .mdv-card-grid,
  .mdv-card-grid--products,
  .mdv-values,
  .mdv-product-showcase,
  .mdv-footer__grid,
  .mdv-number-grid,
  .mdv-form-grid,
  .mdv-industries-grid {
    grid-template-columns: 1fr;
  }

  .mdv-collage {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .mdv-collage::before {
    display: none;
  }

  .mdv-collage__column:first-child,
  .mdv-collage__column:last-child .mdv-collage__card:last-child,
  .mdv-collage__column:last-child .mdv-collage__card:first-child {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .mdv-collage__column:first-child .mdv-collage__card img,
  .mdv-collage__column:last-child .mdv-collage__card:first-child img,
  .mdv-collage__column:last-child .mdv-collage__card:last-child img {
    min-height: 280px;
  }

  .mdv-center-intro,
  .mdv-page-intro,
  .mdv-align-end,
  .mdv-actions-split {
    text-align: center;
    justify-items: center;
    justify-content: center;
  }

  .mdv-copy--wide {
    max-width: 100%;
  }

  .mdv-industry-card {
    max-width: 240px;
    margin: 0 auto;
  }

  .mdv-toolbar {
    align-items: stretch;
  }

  .mdv-tabs {
    gap: 12px 18px;
    justify-content: center;
  }

  .mdv-search {
    width: 100%;
    max-width: 100%;
  }

  .mdv-button,
  .mdv-action-row .mdv-button {
    width: 100%;
  }

  .mdv-header__cta {
    width: auto;
  }

  .mdv-hero__actions,
  .mdv-action-row {
    flex-direction: column;
  }

  .mdv-hero__copy {
    padding-bottom: 0;
  }

  .mdv-product-spotlight {
    min-height: 0;
  }

  .mdv-product-spotlight a {
    grid-template-rows: 240px auto;
  }

  .mdv-product-spotlight > img {
    height: 240px;
  }

  .mdv-card__body {
    padding: 18px 16px 20px;
  }

  .mdv-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .mdv-card--product .mdv-card__body {
    padding: 12px 12px 14px;
  }

  .mdv-card--product .mdv-card__footer {
    align-items: flex-start;
  }

  .mdv-card--product .mdv-button--ghost {
    width: auto;
  }

  .mdv-toolbar--blogs {
    align-items: stretch;
  }

  .mdv-detail-panel .mdv-subtitle {
    max-width: none;
  }

  .mdv-action-row--detail .mdv-button {
    width: 100%;
  }

  .mdv-detail-layout,
  .mdv-article-layout,
  .mdv-page-intro {
    gap: 24px;
  }

  .mdv-detail-image {
    width: 100%;
    height: auto;
    aspect-ratio: 624 / 638;
  }

  .mdv-related-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .mdv-related-item img {
    width: 72px;
    height: 72px;
  }

  .mdv-footer {
    margin-top: 42px;
  }

  .mdv-footer__grid {
    gap: 28px;
    padding: 36px 0 42px;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .mdv-footer__brand,
  .mdv-footer__links,
  .mdv-footer__contact {
    justify-items: center;
  }

  .mdv-footer__brand p {
    max-width: 320px;
  }
}
