/**
 * Vatech Asia - About Page Stylesheet
 * Scaffolds Sections 1 through 4 per Visuals 14, 15, 16, 28, and 29
 */

/* ==========================================================================
   HEADER DARK THEME ADAPTATION (For dark hero viewport)
   ========================================================================== */
.site-header--dark:not(.is-scrolled) .site-header__nav-link {
  color: var(--color-brand-white);
}

.site-header--dark:not(.is-scrolled) .site-header__nav-link.is-active {
  color: var(--color-brand-red);
}

.site-header--dark:not(.is-scrolled) .site-header__nav-link.is-active::after {
  width: 100%;
}

.site-header--dark:not(.is-scrolled) .site-header__login {
  color: var(--color-brand-white);
}

.site-header--dark:not(.is-scrolled) .site-header__login-icon {
  filter: brightness(0) invert(1);
}

.site-header--dark:not(.is-scrolled) .site-header__menu-toggle {
  color: var(--color-brand-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-header--dark:not(.is-scrolled) .site-header__menu-icon {
  filter: brightness(0) invert(1);
}

/* Active Nav State across all header modes */
.site-header__nav-link.is-active {
  color: var(--color-brand-red);
  font-weight: 600;
}

.site-header__nav-link.is-active::after {
  width: 100%;
}

.curtain-nav__link.is-active {
  color: var(--color-brand-red);
}

/* ==========================================================================
   SECTION 1: Hardware Hero & Narrative Scrub (Visuals 14, 15, 16)
   ========================================================================== */
.about-hero {
  position: relative;
  background-color: var(--color-brand-black);
  color: var(--color-brand-white);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  --hero-headline-size: clamp(2.5rem, min(8.5vw, 10.5vh), 9.5rem);
}

.about-hero__pin-wrap {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(100px, 14vh, 160px);
  padding-bottom: clamp(40px, 6vh, 80px);
  position: relative;
  z-index: 1;
}

.about-hero__layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
  gap: clamp(32px, 5vh, 64px);
}

.about-hero__headline-stage {
  width: 100%;
}

.about-hero__title-wrap {
  margin-top: clamp(10px, 2vh, 40px);
  will-change: transform, opacity;
  width: 100%;
}


.about-hero__title {
  font-family: var(--hero-headline-font-family, var(--font-display));
  font-weight: var(--hero-headline-font-weight, 700);
  font-size: var(--hero-headline-size, clamp(2.5rem, min(8.5vw, 10.5vh), 9.5rem));
  line-height: var(--hero-headline-line-height, 0.92);
  letter-spacing: var(--hero-headline-letter-spacing, -0.035em);
  color: var(--color-brand-white);
  text-transform: none;
  margin: 0;
  width: 100%;
}

.about-hero__title-line {
  display: block;
  will-change: transform, opacity;
}

@media (max-height: 820px) {
  .about-hero__pin-wrap {
    padding-top: calc(var(--header-height, 80px) + 16px);
    padding-bottom: 24px;
  }

  .about-hero__title-wrap {
    margin-top: 8px;
  }

  .about-hero__intro-bar {
    margin-top: clamp(16px, 3vh, 32px);
    padding-top: 16px;
  }
}

@media (max-height: 700px) {
  .about-hero {
    --hero-headline-size: clamp(2.25rem, min(8vw, 9.5vh), 8rem);
  }
}

.about-hero__content-grid {
  display: grid;
  grid-template-columns: minmax(320px, 640px) 1fr;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 80px);
  width: 100%;
}

/* Left Column: Intro Bar & Narrative Scrub */
.about-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  max-width: 640px;
}

.about-hero__intro-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 6vh, 80px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--color-text-dark-secondary);
  max-width: 420px;
  line-height: 1.5;
  margin: 0;
}

.about-hero__scroll-indicator {
  flex-shrink: 0;
}

.scroll-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-brand-white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.scroll-pill__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  animation: bounceDown 2s infinite ease-in-out;
}

/* Scrubbed Corporate Narrative Story Blocks */
.about-hero__narrative {
  margin-top: clamp(40px, 6vh, 80px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-hero__narrative-block {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero__narrative-heading {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 600;
  color: var(--color-brand-white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.about-hero__narrative-text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--color-text-dark-secondary);
  margin: 0;
}

/* Boundless Campaign Manifesto Card */
.about-hero__boundless-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.about-hero__boundless-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-brand-red);
}

.about-hero__boundless-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.boundless-badge {
  background-color: var(--color-brand-red);
  color: var(--color-brand-white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

.boundless-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-dark-muted);
}

.about-hero__boundless-title {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 600;
  color: var(--color-brand-white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.about-hero__boundless-text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--color-text-dark-secondary);
  margin: 0;
}

/* ==========================================================================
   Full-Width Flagship CBCT Apparatus Background Stage with Parallax
   ========================================================================== */
.about-hero__apparatus-stage {
  position: absolute;
  top: 0;
  left: 5%;
  width: 80%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}


.about-hero__apparatus-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  min-height: 100%;
  transform-origin: top center;
  will-change: transform;
}

.about-hero__apparatus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8));
  display: block;
}

.about-hero__apparatus-ambient-glow {
  position: absolute;
  top: 25%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at center, rgba(219, 7, 47, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================================
   SECTION 2: Leadership Philosophy Transition (Visual 16 - Bottom)
   ========================================================================== */
.about-philosophy {
  position: relative;
  background-color: var(--color-brand-white);
  color: var(--color-text-primary);
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(60px, 10vh, 120px);
  overflow: hidden;
}

/* Seamless pitch-black to white transition surface */
.about-philosophy__transition-surface {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.about-philosophy__content {
  position: relative;
  z-index: 2;
}

.about-philosophy__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}

.about-philosophy__lead {
  display: flex;
  flex-direction: column;
}

.about-philosophy__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 5.2rem);
  line-height: 0.95;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.about-philosophy__body {
  max-width: 580px;
}

.about-philosophy__text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

.about-philosophy__cta {
  margin-top: clamp(28px, 4vh, 40px);
}

/* Right Clinical Photo Frame */
.about-philosophy__media {
  position: relative;
}

.about-philosophy__photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  background-color: var(--color-brand-gray);
  will-change: transform;
}

.about-philosophy__photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  will-change: transform;
  transition: var(--transition-image-hover, transform 500ms cubic-bezier(0.16, 1, 0.3, 1));
}

.about-philosophy__photo-frame:hover .about-philosophy__photo-img,
.about-philosophy__photo-frame:focus-within .about-philosophy__photo-img {
  transform: scale(1.03);
}

.about-philosophy__photo-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #ffffff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   SECTION 3: Regional Footprint — "Connected Across Asia" (Visual 29)
   ========================================================================== */
.about-map {
  position: relative;
  background-color: #def0fe;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-margin-top: 80px;
  overflow: hidden;
  padding: 0;
}

/* Full-Bleed Interactive Regional Map Layer */
.about-map__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-map__backdrop .asia-map-vector {
  width: 100%;
  height: 100%;
  display: block;
}

.about-map__content {
  position: relative;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vh, 48px) clamp(20px, 4vw, 56px) clamp(24px, 3vh, 36px) clamp(20px, 4vw, 56px);
  box-sizing: border-box;
}

.about-map__header-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-map__heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: clamp(340px, 30vw, 440px);
}

@media (max-width: 900px) {
  .about-map__heading-wrap {
    max-width: 100%;
  }
}

.about-map__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 5.2rem);
  line-height: 0.92;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-top: 8px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.about-map__intro-wrap {
  margin-top: 20px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}

.about-map__intro-text {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
  color: #1e293b;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.about-map__action {
  margin-top: 8px;
  pointer-events: auto;
}

.about-map__action--mobile {
  display: none;
}

.about-map__action--desktop {
  display: block;
}



/* =============================================================================
   INTERACTIVE SVG MAP PIN MARKERS & ZERO-TRANSFORM KEYFRAME ANIMATIONS
   (Guarantees zero diagonal fly-away artifacts)
   ============================================================================= */
.map-pin {
  cursor: pointer;
  outline: none;
}

.map-pin .pin-pulse {
  animation: pin-pulse-wave 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pin-pulse-wave {
  0% {
    r: 7px;
    opacity: 0.8;
  }
  65% {
    r: 20px;
    opacity: 0.2;
  }
  100% {
    r: 26px;
    opacity: 0;
  }
}

.map-pin:hover .pin-core,
.map-pin:focus-visible .pin-core,
.map-pin.is-active .pin-core {
  fill: #db072f;
  stroke: #ffffff;
  stroke-width: 3.5px;
  r: 9px;
}

/* Malaysia Vatech Asia HQ Marker (Zero-Transform Safe Pulse & Flow) */
.map-pin--hq {
  cursor: pointer;
  outline: none;
}

.map-pin--hq .pin-pulse-hq-outer {
  animation: hq-pulse-outer 2.4s cubic-bezier(0.16, 0.8, 0.3, 1) infinite;
}

.map-pin--hq .pin-pulse-hq-inner {
  animation: hq-pulse-inner 2.4s cubic-bezier(0.16, 0.8, 0.3, 1) infinite 0.4s;
}

.map-pin--hq .pin-beacon-ring {
  animation: hq-dash-flow 3s linear infinite;
}

@keyframes hq-pulse-outer {
  0% {
    r: 12px;
    opacity: 0.7;
  }
  60% {
    r: 32px;
    opacity: 0.15;
  }
  100% {
    r: 40px;
    opacity: 0;
  }
}

@keyframes hq-pulse-inner {
  0% {
    r: 10px;
    opacity: 0.8;
  }
  60% {
    r: 22px;
    opacity: 0.25;
  }
  100% {
    r: 28px;
    opacity: 0;
  }
}

@keyframes hq-dash-flow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -28;
  }
}

.map-pin--hq:hover .pin-core--hq,
.map-pin--hq:focus-visible .pin-core--hq,
.map-pin--hq.is-active .pin-core--hq {
  r: 12px;
  stroke-width: 4px;
}

.pin-hq-badge rect {
  transition: fill 200ms ease;
}

.map-pin--hq:hover .pin-hq-badge rect,
.map-pin--hq.is-active .pin-hq-badge rect {
  fill: var(--color-brand-red, #db072f);
}

/* Floating Tooltip Card */
.map-tooltip {
  position: absolute;
  width: clamp(260px, 25vw, 340px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(203, 221, 233, 0.8);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 16px 40px rgba(13, 37, 63, 0.16);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -110%) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.map-tooltip.is-active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -118%) scale(1);
}

.map-tooltip__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 14px;
  color: #8c959f;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.map-tooltip__close:hover {
  color: var(--color-brand-red);
}

.map-tooltip__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-red);
  background: rgba(219, 7, 47, 0.08);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.map-tooltip__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 4px 0;
}

.map-tooltip__location {
  font-family: var(--font-body);
  font-size: 12px;
  color: #656d76;
  margin: 0 0 8px 0;
}

.map-tooltip__scope {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #333942;
  margin: 0 0 14px 0;
}

.map-tooltip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand-red);
  text-decoration: none;
  transition: color 0.2s ease;
}

.map-tooltip__link:hover {
  color: var(--color-brand-red-hover);
}

.map-tooltip__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.map-tooltip__link:hover .map-tooltip__arrow {
  transform: rotate(-45deg) translateX(2px);
}

/* Directory Grid below map (accessible fallback & mobile view) */
.about-map__directory {
  margin-top: clamp(40px, 8vh, 80px);
  padding-top: 40px;
  border-top: 1px solid rgba(44, 62, 80, 0.12);
}

.about-map__directory-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.about-map__directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.directory-card {
  background-color: #ffffff;
  border: 1px solid rgba(203, 221, 233, 0.6);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.directory-card--hq {
  border-color: var(--color-brand-red);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
}

.directory-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.directory-card__city {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand-red);
}

.directory-card__country {
  font-family: var(--font-body);
  font-size: 12px;
  color: #656d76;
}

.directory-card__hub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 6px 0;
}

.directory-card__scope {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Per 02 About.md Specification)
   ========================================================================== */
@media (max-width: 1024px) {
  .about-hero__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero__left {
    min-height: auto;
    max-width: 100%;
  }

  .about-hero__apparatus-stage {
    height: 100vh;
    max-height: 800px;
  }

  .about-hero__apparatus-wrap {
    height: 100%;
  }

  .about-hero__apparatus-img {
    opacity: 0.45;
  }

  .about-philosophy__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .leader-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .leader-card--left {
    grid-template-columns: 1fr;
  }

  .leader-card__image-wrap {
    max-width: 380px;
  }

  .leader-card__inner--center {
    grid-template-columns: 1fr;
  }

  .about-map__header-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .about-map {
    min-height: auto;
    scroll-margin-top: 60px;
  }

  .about-map__content {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 40px;
    padding-left: clamp(20px, 4vw, 32px);
    padding-right: clamp(20px, 4vw, 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .about-map__header-row {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-map__heading-wrap {
    max-width: 100%;
  }

  .about-map__action--desktop {
    display: none !important;
  }

  .about-map__backdrop {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin: 24px 0 16px 0;
    z-index: 1;
    pointer-events: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-map__backdrop .asia-map-vector {
    width: 200%;
    min-width: 200%;
    height: auto;
    max-width: none;
    flex-shrink: 0;
    display: block;
  }

  .about-map__action--mobile {
    display: flex !important;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: auto;
    --hero-headline-size: clamp(2.25rem, 11.5vw, 3.75rem);
  }

  .about-hero__pin-wrap {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .about-hero__intro-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-hero__scroll-indicator {
    display: none;
  }

  .map-tooltip {
    position: fixed;
    bottom: 24px;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px);
    max-width: 380px;
  }
}