/* Shared Figma header component, based on the approved /figma-home/ header. */
.figma-header-shell,
.figma-header-shell * {
  box-sizing: border-box;
}

.figma-header-shell {
  display: contents;
  --header-ink: var(--ink, #12233b);
  --header-cream: var(--cream, #e9e3cc);
  --header-gold: var(--gold, #bea575);
  --header-pill: #3b485c;
  --font-body-fallback: var(--font-body, "Gilroy", "Segoe UI", Arial, sans-serif);
  --font-display-fallback: var(--font-display, "Times New Roman", serif);
}

.figma-header-shell a {
  color: inherit;
  text-decoration: none;
}

.figma-header-shell img {
  display: block;
  max-width: 100%;
}

.figma-header-shell .site-header.figma-header {
  position: relative;
  z-index: 55;
  top: auto;
  left: auto;
  right: auto;
  width: min(1740px, calc(100vw - 36px));
  max-width: none;
  height: 95px;
  min-height: 0;
  max-height: none;
  margin: 0px auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  color: var(--header-cream);
  font-family: var(--font-body-fallback);
  background: transparent;
}


.figma-header-shell .brand {
  display: inline-flex;
  align-items: flex-start;
  color: var(--header-cream);
  min-width: max-content;
}

.figma-header-shell .brand-logo {
  position: relative;
  width: 240px;
  height: 79px;
  gap: 13px;
}

.figma-header-shell .brand-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: url("/figma-ui/assets/images/logo-dark.svg") left top / 100% 100% no-repeat;
  transition: opacity .18s ease;
}

.figma-header-shell .brand-emblem {
  width: 54px;
  height: 79px;
  flex: 0 0 54px;
  object-fit: contain;
  filter: none;
  transition: opacity .18s ease, filter .18s ease;
}

.figma-header-shell .brand-lockup {
  display: grid;
  gap: 5px;
  padding-top: 7px;
  transition: opacity .18s ease, filter .18s ease;
}

.figma-header-shell .brand-wordmark {
  width: 173px;
  height: 52px;
  object-fit: contain;
  filter: none;
}

.figma-header-shell .brand-tagline {
  width: 120px;
  height: 7px;
  object-fit: contain;
  filter: none;
}

.figma-header-shell .header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: 1;
  margin-left: 36px;
}

.figma-header-shell .header-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .94);
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.figma-header-shell .header-nav a.has-chevron::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .85;
}

.figma-header-shell .header-nav a:hover {
  background: rgba(233, 227, 204, .08);
  border-color: rgba(233, 227, 204, .08);
}

.figma-header-shell .header-nav a.is-active,
.figma-header-shell .header-nav a[aria-current="page"] {
  color: var(--header-gold);
}

.figma-header-shell .header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}

.figma-header-shell .icon-link,
.figma-header-shell .menu-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--header-pill);
  color: var(--header-cream);
  cursor: pointer;
  font-size: 0;
}

.figma-header-shell .icon-link img,
.figma-header-shell .favorite-link img,
.figma-header-shell .social-links img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: none;
  transition: filter .18s ease, opacity .18s ease;
}

.figma-header-shell .favorite-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.figma-header-shell .favorite-link img {
  width: 46px;
  height: 46px;
  padding: 12px;
}

.figma-header-shell .favorite-link.has-favorites img,
.search-overlay-actions .favorite-link.has-favorites img {
  display: none;
}

.figma-header-shell .favorite-link.has-favorites::before,
.search-overlay-actions .favorite-link.has-favorites::before {
  content: "";
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("/figma-ui/assets/icons/heart-filled.svg") center / 23px 20px no-repeat;
  mask: url("/figma-ui/assets/icons/heart-filled.svg") center / 23px 20px no-repeat;
}

.figma-header-shell .favorite-link-count,
.search-overlay .favorite-link-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--gold, #bea575);
  color: var(--header-ink, #12233b);
  box-shadow: 0 8px 18px rgba(19, 35, 59, .14);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-1px);
}

.figma-header-shell .favorite-link-count[hidden],
.search-overlay .favorite-link-count[hidden] {
  display: none !important;
}

.figma-header-shell .social-links {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 46px;
}

.figma-header-shell .social-links a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
}

.figma-header-shell .phone-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--header-pill);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.figma-header-shell .menu-toggle {
  display: none;
  position: relative;
}

.figma-header-shell .menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  position: absolute;
  left: 14px;
  background: var(--header-cream);
  transition: transform .24s ease, background .18s ease;
}

.figma-header-shell .menu-toggle span:first-child {
  top: 17px;
}

.figma-header-shell .menu-toggle span:last-child {
  bottom: 17px;
}

.menu-open .figma-header-shell .menu-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .figma-header-shell .menu-toggle span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.figma-header-shell .mobile-menu {
  display: none;
}

.figma-header-shell .sale-mega {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(236px, 24.6vw, 472px);
  overflow: hidden;
  color: var(--header-ink);
  background: #eef1f3 url("/figma-shared/assets/sale-mega-pattern.svg") center top / cover no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity .24s ease, transform .24s ease;
}

.sale-menu-open .figma-header-shell .sale-mega {
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.sale-menu-open .figma-header-shell .sale-mega-columns,
.sale-menu-open .figma-header-shell .sale-mega-promo {
  pointer-events: auto;
}

.sale-menu-open .figma-header-shell .site-header.figma-header {
  z-index: 55;
}

.sale-menu-open .figma-header-shell .header-nav a,
.sale-menu-open .figma-header-shell .favorite-link,
.sale-menu-open .figma-header-shell .social-links a {
  color: var(--header-ink);
}

.sale-menu-open .figma-header-shell .favorite-link img,
.sale-menu-open .figma-header-shell .social-links img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(967%) hue-rotate(178deg) brightness(90%) contrast(94%);
}

.sale-menu-open .figma-header-shell .brand-logo::after {
  opacity: 1;
}

.sale-menu-open .figma-header-shell .brand-emblem,
.sale-menu-open .figma-header-shell .brand-lockup {
  opacity: 0;
}

.sale-menu-open .figma-header-shell .header-nav a[data-sale-trigger] {
  color: var(--header-gold);
  background: rgba(190, 165, 117, .08);
}

.sale-menu-open .figma-header-shell .header-nav a[data-sale-trigger]::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.sale-menu-open .figma-header-shell .header-nav a:hover {
  background: rgba(17, 34, 58, .06);
  border-color: transparent;
}

.sale-menu-open .figma-header-shell .header-nav a[data-sale-trigger]:hover {
  background: rgba(190, 165, 117, .12);
}

.figma-header-shell .sale-mega-inner {
  width: min(1740px, calc(100vw - 36px));
  height: 100%;
  margin: 0 auto;
  padding: clamp(92px, 7.5vw, 144px) 0 clamp(24px, 2.4vw, 46px);
  display: grid;
  grid-template-columns: minmax(620px, 1fr) clamp(300px, 31vw, 595px);
  gap: clamp(26px, 4.8vw, 92px);
  align-items: start;
}

.figma-header-shell .sale-mega-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: clamp(22px, 3.3vw, 64px);
}

.figma-header-shell .sale-mega-col {
  display: grid;
  gap: clamp(6px, .52vw, 10px);
  align-content: start;
}

.figma-header-shell .sale-mega-col h2 {
  margin: 0 0 clamp(8px, .9vw, 18px);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--header-ink);
  font-family: var(--font-display-fallback);
  font-size: clamp(18px, 1.47vw, 28px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.figma-header-shell .sale-mega-col h2 span {
  min-width: 39px;
  height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--green, #064632);
  color: #fff;
  font-family: var(--font-body-fallback);
  font-size: 14px;
  line-height: 1;
}

.figma-header-shell .sale-mega-col a {
  color: rgba(17, 34, 58, .62);
  font-size: clamp(11px, .79vw, 15px);
  line-height: 1;
  transition: color .18s ease;
}

.figma-header-shell .sale-mega-col a:hover {
  color: var(--header-ink);
}

.figma-header-shell .sale-mega-promo {
  position: relative;
  min-height: clamp(132px, 13.75vw, 264px);
  border-radius: clamp(16px, 1.35vw, 26px);
  overflow: hidden;
  align-self: center;
  display: grid;
  align-content: end;
  gap: clamp(8px, .9vw, 18px);
  padding: clamp(20px, 1.9vw, 36px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 34, 58, .84) 0 40%, rgba(17, 34, 58, .18) 68%),
    url("/figma-home/assets/images/hero-card-original.jpg") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(17, 34, 58, .22);
}

.figma-header-shell .sale-mega-promo span {
  align-self: start;
  margin-bottom: auto;
  font-family: var(--font-display-fallback);
  font-size: clamp(18px, 1.4vw, 27px);
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.figma-header-shell .sale-mega-promo strong {
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 400;
}

.figma-header-shell .sale-mega-promo em {
  width: max-content;
  min-height: 34px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--header-gold);
  font-style: normal;
  font-size: clamp(11px, .72vw, 14px);
  font-weight: 600;
}

.figma-header-shell .sale-mega-promo i {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 66px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #fff 0 2px, transparent 2.5px) 0 50% / 14px 8px repeat-x;
  opacity: .85;
}

.figma-header-shell .sale-mega-promo.sale-promo-slider {
  display: block;
  padding: 0;
  background: var(--header-ink);
}

.figma-header-shell .sale-promo-slides {
  position: absolute;
  inset: 0;
}

.figma-header-shell .sale-promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: clamp(8px, .9vw, 18px);
  padding: clamp(20px, 1.9vw, 36px);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
  isolation: isolate;
}

.figma-header-shell .sale-promo-slide.is-active {
  opacity: 1;
  pointer-events: none;
}

.sale-menu-open .figma-header-shell .sale-promo-slide.is-active {
  pointer-events: auto;
}

.figma-header-shell .sale-promo-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 34, 58, .88) 0 41%, rgba(17, 34, 58, .25) 70%, rgba(17, 34, 58, .06) 100%);
}

.figma-header-shell .sale-promo-slide img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-header-shell .sale-promo-slide span {
  max-width: 64%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.figma-header-shell .sale-promo-slide strong,
.figma-header-shell .sale-promo-slide em {
  position: relative;
  z-index: 1;
}

.figma-header-shell .sale-promo-dots {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.figma-header-shell .sale-promo-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, .48);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.figma-header-shell .sale-promo-dots button[aria-current="true"],
.figma-header-shell .sale-promo-dots button:hover,
.figma-header-shell .sale-promo-dots button:focus-visible {
  background: #fff;
  transform: scale(1.18);
}

.figma-header-shell .sale-mega-promo.sale-promo-slider .sale-promo-slide strong {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  max-width: 64%;
  gap: .22em;
}

.figma-header-shell .sale-mega-promo.sale-promo-slider .sale-promo-slide strong i.fa {
  position: static;
  right: auto;
  bottom: auto;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  color: inherit;
  font-size: .82em;
  line-height: 1;
  vertical-align: baseline;
}

.figma-header-shell .sale-mega-promo.sale-promo-slider .sale-promo-slide strong i.fa-rub::before {
  content: "₽";
  font-family: inherit;
}

.figma-header-shell .sale-mega-promo.sale-promo-slider .sale-promo-slide strong i.fa-usd::before,
.figma-header-shell .sale-mega-promo.sale-promo-slider .sale-promo-slide strong i.fa-dollar::before {
  content: "$";
  font-family: inherit;
}

.figma-header-shell .sale-mega-promo.sale-promo-slider .sale-promo-slide strong i.fa-eur::before {
  content: "€";
  font-family: inherit;
}

body.search-open {
  overflow: hidden;
}

.search-overlay,
.search-overlay * {
  box-sizing: border-box;
}

.search-overlay {
  --search-x: 50%;
  --search-y: 28px;
  --search-ink: var(--ink, #12233b);
  --search-gold: var(--gold, #bea575);
  --search-body-font: var(--font-body, "Gilroy", "Segoe UI", Arial, sans-serif);
  --search-display-font: var(--font-display, "Philosopher", Georgia, "Times New Roman", serif);
  position: fixed;
  z-index: 100000;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: #eef0f2;
  color: var(--search-ink);
  font-family: var(--search-body-font);
  opacity: 0;
  pointer-events: none;
  clip-path: circle(0 at var(--search-x) var(--search-y));
  transition: clip-path .62s cubic-bezier(.19, 1, .22, 1), opacity .18s ease;
letter-spacing: 0;
}

.search-open .search-overlay {
  opacity: 1;
  pointer-events: auto;
  clip-path: circle(155% at var(--search-x) var(--search-y));
}

.search-overlay[aria-hidden="true"] {
  visibility: hidden;
}

.search-open .search-overlay[aria-hidden="false"] {
  visibility: visible;
}

.search-overlay a {
  color: inherit;
  text-decoration: none;
}

.search-overlay img {
  display: block;
  max-width: 100%;
}

.search-overlay-pattern {
  position: absolute;
  top: 76px;
  right: -42px;
  width: min(55vw, 850px);
  height: calc(100vh - 76px);
  opacity: .36;
  background: url("/figma-home/assets/images/approach-floral-pattern.png") right top / cover no-repeat;
  pointer-events: none;
}

.search-overlay-header {
  position: relative;
  z-index: 2;
  width: min(1740px, calc(100vw - 36px));
  height: 79px;
  margin: 10px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.search-overlay .brand {
  display: inline-flex;
  align-items: flex-start;
  color: var(--search-ink);
  min-width: max-content;
}

.search-overlay .brand-logo {
  position: relative;
  width: 240px;
  height: 79px;
  gap: 13px;
}

.search-overlay .brand-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background: url("/figma-ui/assets/images/logo-dark.svg") left top / 100% 100% no-repeat;
}

.search-overlay .brand-emblem {
  width: 54px;
  height: 79px;
  flex: 0 0 54px;
  object-fit: contain;
  opacity: 0;
}

.search-overlay .brand-lockup {
  display: grid;
  gap: 5px;
  padding-top: 7px;
  opacity: 0;
}

.search-overlay .brand-wordmark {
  width: 173px;
  height: 52px;
  object-fit: contain;
}

.search-overlay .brand-tagline {
  width: 120px;
  height: 7px;
  object-fit: contain;
}

.search-overlay-nav {
  flex: 1;
  margin-left: 36px;
  display: flex;
  align-items: center;
  gap: 0;
}

.search-overlay-nav a {
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--search-ink);
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}

.search-overlay-nav a.has-chevron::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .85;
}

.search-overlay-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
  padding-right: 46px;
}

.search-overlay-search-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #3b485c;
}

.search-overlay-search-icon img {
  width: 18px;
  height: 18px;
}

.search-overlay .favorite-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--search-ink);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.search-overlay .favorite-link img {
  width: 46px;
  height: 46px;
  padding: 12px;
  filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(967%) hue-rotate(178deg) brightness(90%) contrast(94%);
}

.search-overlay .phone-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: #3b485c;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.overlay-close {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 3px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--search-ink);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.search-close {
  position: absolute;
  top: 76px;
  right: 70px;
}

.search-overlay-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 56px));
  margin: clamp(84px, 11.2vh, 142px) auto 0;
  transform: translateX(-5vw);
}

.search-overlay h2 {
  margin: 0 0 86px;
  color: var(--search-ink);
  font-family: var(--search-display-font);
  font-size: clamp(54px, 4.7vw, 90px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: 0;
  text-align: center;
}

.search-overlay-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 114px;
  gap: 12px;
  align-items: center;
}

.search-overlay-form label {
  position: relative;
  display: block;
  margin: 0;
}

.search-overlay-form input {
  width: 100%;
  height: 51px;
  border: 0;
  border-radius: 999px;
  outline: none;
  padding: 0 58px 0 34px;
  background: #d8dde4;
  color: var(--search-ink);
  font-size: 13px;
}

.search-overlay-form input::placeholder {
  color: rgba(17, 34, 58, .62);
}

.search-overlay-form label span {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: transparent;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}

.search-overlay-form label span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.search-overlay-form label span::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-overlay-form button {
  height: 51px;
  border: 0;
  border-radius: 999px;
  background: var(--search-gold);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.search-overlay .search-suggestions {
  width: min(555px, 100%);
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-overlay .search-suggestions a {
  min-height: 25px;
  padding: 0 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: rgba(17, 34, 58, .8);
  font-size: 11px;
  line-height: 1;
}

@media (max-width: 1440px) {
  .figma-header-shell .favorite-link span {
    display: none;
  }
}

@media (max-width: 767px) {
  .figma-header-shell .header-nav {
    display: none;
  }

  .figma-header-shell .menu-toggle {
    display: inline-grid;
  }
}

.menu-open .figma-header-shell .site-header.figma-header {
  position: fixed;
  z-index: 120;
  background: transparent;
}

@media (max-width: 1180px) {
  .figma-header-shell .sale-mega {
    display: none;
  }

  .search-overlay-header {
    width: auto;
    margin: 10px 28px 0;
  }

  .search-overlay-nav {
    display: none;
  }

  .search-overlay-actions {
    margin-left: auto;
  }

  .search-overlay-content {
    transform: none;
  }
}

@media (max-width: 760px) {
  .search-overlay {
    min-height: 100dvh;
    overflow: hidden;
    background:
      linear-gradient(to bottom, #e7e9eb 0, #e7e9eb 63.5dvh, rgba(8, 18, 32, .76) 63.5dvh, rgba(8, 18, 32, .86) 100%),
      url("/figma-home/assets/images/hero-photo-original.jpg") center bottom / cover no-repeat;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .search-overlay-pattern {
    top: 245px;
    right: -158px;
    width: 480px;
    height: 340px;
    opacity: .28;
    background-size: contain;
  }

  .search-overlay-header {
    height: 60px;
    margin: 10px 20px 0;
    align-items: flex-start;
  }

  .search-overlay .brand-logo {
    width: 166px;
    height: 48px;
    gap: 8px;
  }

  .search-overlay .brand-emblem {
    width: 49px;
    height: 49px;
    flex-basis: 49px;
  }

  .search-overlay .brand-lockup {
    gap: 2px;
    padding-top: 5px;
  }

  .search-overlay .brand-wordmark {
    width: 111px;
    height: 31px;
  }

  .search-overlay .brand-tagline {
    width: 89px;
    height: 6px;
  }

  .search-overlay-actions {
    position: absolute;
    top: 0;
    right: 52px;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .search-overlay-actions .favorite-link,
  .search-overlay-actions .phone-link {
    display: none;
  }

  .search-overlay-search-icon {
    width: 46px;
    height: 46px;
    background: #3b485c;
  }

  .search-overlay-search-icon img {
    width: 18px;
    height: 18px;
  }

  .search-close {
    top: 20px;
    right: 0;
    width: 32px;
    height: 32px;
    border: 0;
    color: transparent;
    font-size: 0;
  }

  .search-close::before,
  .search-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 31px;
    height: 2px;
    border-radius: 999px;
    background: var(--search-ink);
    transform-origin: center;
  }

  .search-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .search-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .search-overlay-content {
    width: calc(100vw - 40px);
    margin-top: 61px;
    transform: none;
  }

  .search-overlay h2 {
    width: min(260px, 100%);
    margin: 0 auto 38px;
    font-size: clamp(36px, 10.2vw, 39px);
    line-height: .82;
    letter-spacing: 0;
    text-align: center;
  }

  .search-overlay-form {
    grid-template-columns: minmax(0, 1fr) 98px;
    gap: 8px;
    align-items: center;
  }

  .search-overlay-form input,
  .search-overlay-form button {
    height: 37px;
  }

  .search-overlay-form input {
    padding: 0 37px 0 16px;
    background: #d8dde4;
    font-size: 10px;
    line-height: 1;
  }

  .search-overlay-form label span {
    right: 13px;
    width: 18px;
    height: 18px;
  }

  .search-overlay-form label span::before {
    left: 6px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
  }

  .search-overlay-form label span::after {
    left: 4px;
    top: 12px;
    width: 10px;
    height: 5px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    border-radius: 0 0 8px 8px;
    background: transparent;
    transform: none;
  }

  .search-overlay-form button {
    width: 98px;
    padding: 0;
    font-size: 13px;
  }

  .search-overlay .search-suggestions {
    width: 100%;
    margin-top: 10px;
    gap: 6px 5px;
  }

  .search-overlay .search-suggestions a {
    min-height: 22px;
    padding: 0 11px;
    font-size: 10px;
    color: rgba(17, 34, 58, .74);
  }

  .search-overlay .search-suggestions a:nth-child(1) { order: 2; }
  .search-overlay .search-suggestions a:nth-child(2) { order: 3; }
  .search-overlay .search-suggestions a:nth-child(3) { order: 4; }
  .search-overlay .search-suggestions a:nth-child(4) { order: 5; }
  .search-overlay .search-suggestions a:nth-child(5) { order: 6; }
  .search-overlay .search-suggestions a:nth-child(6) { order: 1; }

  .figma-header-shell .site-header.figma-header {
    top: auto;
    left: auto;
    right: auto;
    width: calc(100vw - 40px);
    margin: 10px auto 0;
    height: 60px;
    align-items: flex-start;
  }

  .figma-header-shell .brand-logo {
    width: 166px;
    height: 48px;
    gap: 8px;
  }

  .figma-header-shell .brand-emblem {
    width: 49px;
    height: 49px;
    flex-basis: 49px;
  }

  .figma-header-shell .brand-lockup {
    gap: 2px;
    padding-top: 5px;
  }

  .figma-header-shell .brand-wordmark {
    width: 111px;
    height: 31px;
  }

  .figma-header-shell .brand-tagline {
    width: 89px;
    height: 6px;
  }

  .figma-header-shell .header-actions {
    gap: 22px;
    padding-top: 3px;
  }

  .figma-header-shell .icon-link,
  .figma-header-shell .search-link {
    display: inline-grid;
    width: 46px;
    height: 46px;
    background: var(--header-pill);
  }

  .figma-header-shell .favorite-link,
  .figma-header-shell .phone-link,
  .figma-header-shell .social-links {
    display: none;
  }

  .figma-header-shell .menu-toggle {
    display: inline-grid;
    width: 33px;
    height: 28px;
    margin-top: 6px;
    border-radius: 0;
    background: transparent;
  }

  .figma-header-shell .menu-toggle::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 13px;
    width: 31px;
    height: 2px;
    background: var(--header-cream);
    transition: opacity .2s ease, background .18s ease;
  }

  .figma-header-shell .menu-toggle span {
    left: 1px;
    width: 31px;
    height: 2px;
  }

  .figma-header-shell .menu-toggle span:first-child {
    top: 3px;
  }

  .figma-header-shell .menu-toggle span:last-child {
    bottom: 3px;
  }

  .menu-open .figma-header-shell .menu-toggle::before {
    opacity: 0;
  }

  .menu-open .figma-header-shell .menu-toggle span:first-child {
    transform: translateY(10px) rotate(45deg);
  }

  .menu-open .figma-header-shell .menu-toggle span:last-child {
    transform: translateY(-10px) rotate(-45deg);
  }
}

@media (max-width: 374px) {
  .search-overlay-form {
    grid-template-columns: minmax(0, 1fr) 88px;
  }

  .search-overlay-form button {
    width: 88px;
  }

  .search-overlay-form input {
    padding-left: 14px;
    font-size: 9px;
  }
}

/* Open sale menu must be visually identical for both closed header variants. */
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .site-header.figma-header {
  color: var(--header-ink, #13233b);
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .brand-logo::after {
  opacity: 1;
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .brand-emblem,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .brand-lockup {
  opacity: 0;
  filter: none;
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .header-nav a,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .favorite-link,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .social-links a {
  color: var(--header-ink, #13233b);
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .header-nav a:hover,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .header-nav a:focus-visible,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .favorite-link:hover,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .favorite-link:focus-visible,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .social-links a:hover,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .social-links a:focus-visible {
  color: var(--header-ink, #13233b);
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .header-nav a[data-sale-trigger],
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .header-nav a[data-sale-trigger]:hover,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .header-nav a[data-sale-trigger]:focus-visible {
  border-color: rgba(190, 165, 117, .16);
  background: rgba(190, 165, 117, .12);
  color: var(--header-gold, #bea575);
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .favorite-link img,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .social-links img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(967%) hue-rotate(178deg) brightness(90%) contrast(94%);
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .icon-link,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .phone-link {
  background: var(--header-pill, #3b485c);
  color: #fff;
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .menu-toggle {
  color: var(--header-ink, #13233b);
}

body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .menu-toggle span,
body.sale-menu-open .site-wrap.figma-backend-wrap .figma-header-shell .menu-toggle::before {
  background: var(--header-ink, #13233b);
}
