.site-chrome-logo {
  width: clamp(224px, 22vw, 301px) !important;
  height: 27px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--samsaara-font-sans) !important;
  font-size: 27px !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  line-height: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}

.site-chrome-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-chrome-contact {
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  cursor: pointer;
  font: inherit;
  font-size: 14.4px !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.site-chrome-contact:hover,
.site-chrome-contact:focus-visible {
  opacity: 0.72;
}

footer#contact {
  background: var(--paper, #fff);
  border-top: 1px solid rgba(32, 32, 32, 0.1);
}

footer#contact .footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(64px, 0.5fr) minmax(220px, 1.25fr);
  gap: 28px;
}

footer#contact h3 {
  margin: 0 0 18px;
  color: var(--ink, #202020);
  font-family: var(--samsaara-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

footer#contact a,
footer#contact span {
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: var(--ink, #202020);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}

footer#contact a.footer-whatsapp-button {
  width: 100%;
  max-width: 190px;
  padding: 10px 14px;
  border: 1px solid var(--ink, #202020);
  background: var(--ink, #202020);
  color: #fff;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

footer#contact a.footer-whatsapp-button:hover {
  border-color: #3a3733;
  background: #3a3733;
  color: #fff;
}

footer#contact .footer-language-switch {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-top: 0;
}

footer#contact .footer-language-switch img {
  width: 21px;
  height: 21px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

body.contact-modal-open {
  overflow: hidden;
}

body.contact-modal-open > :not(.samsaara-contact-backdrop):not(script):not(style) {
  filter: blur(7px);
}

.samsaara-contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(12, 11, 10, 0.42);
}

body.contact-modal-open .samsaara-contact-backdrop {
  display: grid;
}

.samsaara-contact-modal {
  position: relative;
  width: min(430px, 100%);
  padding: 42px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(22, 20, 18, 0.22);
  color: var(--ink, #202020);
  text-align: center;
}

.samsaara-contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink, #202020);
  cursor: pointer;
}

.samsaara-contact-close::before,
.samsaara-contact-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.samsaara-contact-close::before {
  transform: rotate(45deg);
}

.samsaara-contact-close::after {
  transform: rotate(-45deg);
}

.samsaara-contact-modal h2 {
  margin: 0;
  color: var(--ink, #202020);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.samsaara-contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: var(--ink, #202020);
  font-size: 15px;
  line-height: 1.45;
}

.samsaara-contact-lines p {
  margin: 0;
}

.samsaara-contact-lines a:not(.samsaara-contact-action) {
  color: inherit;
  text-decoration: none;
}

.samsaara-contact-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  background: var(--ink, #202020);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (min-width: 1025px) {
  .nav.has-site-menu .site-chrome-logo,
  .topbar .site-chrome-logo,
  .stay-nav .site-chrome-logo {
    width: 217px !important;
  }
}

@media (max-width: 760px), (min-width: 761px) and (max-width: 1024px) {
  :root {
    --site-header-contact-optical-shift: 3px;
  }

  .site-chrome-logo,
  .site-chrome-contact,
  .site-menu-toggle {
    align-self: center;
  }

  .site-chrome-logo {
    width: clamp(224px, 22vw, 234px) !important;
  }

  .nav.has-site-menu {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(10px, 2.8vw, 18px);
  }

  .nav.has-site-menu .site-chrome-logo {
    min-width: 0;
    justify-self: start;
  }

  .nav-phone.site-chrome-contact,
  .header-right .nav-phone.site-chrome-contact,
  .header-actions .nav-phone.site-chrome-contact,
  .stay-nav .nav-phone.site-chrome-contact {
    min-width: max-content;
    display: inline-flex !important;
    justify-self: end;
    white-space: nowrap;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .site-header .header-left {
    min-width: 0;
  }

  .site-header .header-right,
  .topbar .header-actions {
    min-width: max-content;
    display: flex !important;
    justify-content: flex-end;
  }

  .nav-contact-button.site-chrome-contact {
    line-height: 1 !important;
    transform: translateY(var(--site-header-contact-optical-shift));
  }

  footer#contact .footer-inner {
    width: min(100% - 32px, 420px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-chrome-logo {
    width: clamp(176px, 57vw, 234px) !important;
    height: clamp(16px, 5.2vw, 21px) !important;
    font-size: clamp(18px, 5.2vw, 21px) !important;
  }

  .site-chrome-contact {
    font-size: clamp(9px, 2.35vw, 10px) !important;
    letter-spacing: 0.02em;
  }

  .nav.has-site-menu {
    width: min(100%, 390px) !important;
    max-width: 100%;
    grid-template-columns: 34px minmax(0, 1fr) 62px;
    column-gap: 8px;
  }

  .nav.has-site-menu .site-chrome-contact {
    width: 62px;
    max-width: 62px;
    justify-content: flex-end;
  }

  .site-header {
    width: min(100%, 390px) !important;
    max-width: 100%;
    grid-template-columns: 34px minmax(0, 1fr) 62px !important;
    column-gap: 8px;
    padding: 0 18px;
  }

  .site-header .header-left {
    grid-column: 1 / 3;
    min-width: 0;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
  }

  body.search-page .topbar {
    width: min(100%, 390px) !important;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) 62px !important;
  }

  body.search-page .brand-cluster {
    grid-column: 1 !important;
  }

  body.search-page .header-actions {
    grid-column: 2 !important;
  }

  body.search-page .hero-search {
    grid-column: 1 / -1 !important;
  }

  body.search-page .header-actions .site-chrome-contact,
  .site-header .header-right .site-chrome-contact {
    width: 62px;
    max-width: 62px;
    justify-content: flex-end;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  footer#contact .footer-inner {
    width: min(100% - 48px, 760px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 48px;
  }
}
