/* Shared mobile refinements for the mirrored Mayday frontend. */
.mayday-single-line-card {
  container-type: inline-size;
}

.mayday-single-line-card h3 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(12px, 5.5cqw, 26px);
}

.mayday-scrollable-tabs {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.mayday-scrollable-tabs-inner {
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}

.mayday-scrollable-tabs-inner::-webkit-scrollbar {
  display: none;
}

.mayday-tab-arrow {
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: #544a37;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.mayday-tab-arrow:first-child { margin-right: 8px; }
.mayday-tab-arrow:last-child { margin-left: 8px; }
.mayday-tab-arrow[hidden] { display: none; }
.mayday-tab-arrow:disabled { opacity: 0.3; cursor: default; }
.mayday-tab-arrow:focus-visible { outline: 2px solid #568177; outline-offset: 2px; }

#before-after > div {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

#before-after .mayday-portfolio-cta {
  margin-bottom: clamp(48px, 6vw, 72px);
}

#before-after > div > div:first-child .mb-16 {
  margin-bottom: 24px;
}

.ba-frame img[src="/assets/projects/dault-after.webp"] {
  object-position: center 85%;
}

.mayday-project-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.mayday-project-navigation button {
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  background: transparent;
  color: #544a37;
  font-size: 24px;
  cursor: pointer;
}

.mayday-project-navigation span {
  font-family: Syncopate, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mayday-project-navigation button:hover {
  background: #544a37;
  color: #f5f0e5;
  border-color: #544a37;
}

.mayday-project-navigation button:focus-visible {
  outline: 2px solid #544a37;
  outline-offset: 4px;
}

.mayday-branded-select-wrap {
  display: none;
}

.mayday-hero-title {
  max-width: 900px;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(40px, 6vw, 76px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 0.98 !important;
  text-transform: none !important;
}

.mayday-hero-subtitle {
  max-width: 760px;
  margin: 28px auto 0;
  font-family: Arimo, Arial, sans-serif !important;
  font-size: clamp(17px, 1.7vw, 21px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.5 !important;
  text-transform: none !important;
}

.mayday-hero-title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  font-family: Syncopate, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 4.2vw, 58px) !important;
  line-height: 1.35 !important;
  letter-spacing: 0.015em;
  text-align: center !important;
}

.mayday-hero-title span {
  display: block;
  width: max-content;
  text-align: center !important;
  white-space: nowrap;
}

.mayday-hero-title .mayday-hero-mobile-line {
  display: none;
}

.mayday-hero-review {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 12px);
  margin: 0 auto 24px;
  color: #f5f0e5;
  font-family: Syncopate, sans-serif;
  font-size: clamp(8px, 1.1vw, 11px);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.mayday-hero-review > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  line-height: 1;
}

.mayday-hero-review .mayday-review-stars {
  color: #ffd84d;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1;
  transform: translateY(9px);
}

div:has(> .mayday-hero-title) > .mayday-hero-subtitle + div {
  margin: 32px auto !important;
}

div:has(> .mayday-hero-title) > .mayday-hero-subtitle + div + div {
  margin-top: 0 !important;
}

.mayday-postal-result {
  display: block;
  margin-top: 8px;
  color: #544a37;
  font-family: Arimo, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.5;
}

.mayday-postal-result:empty {
  display: none;
}

.mayday-postal-result.is-error {
  color: #8a2f2f;
}

@media (min-width: 768px) {
  .mayday-global-contact,
  #root a[class~="md:hidden"][class~="bottom-0"] {
    display: none !important;
  }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #root main {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  #root header {
    height: 56px !important;
    min-height: 56px;
    padding: 6px 16px !important;
    overflow: visible !important;
  }

  #root header > button {
    display: flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px;
    min-height: 44px;
    order: 2;
    margin-left: auto;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #root header > button span {
    display: none !important;
  }

  #root header > div {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    order: 1;
    display: flex;
    flex: 0 0 160px !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    align-items: center;
    justify-content: flex-start;
    margin: 0 !important;
    overflow: visible !important;
    translate: none !important;
    transform: none !important;
  }

  #root header > div > a {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    font-size: 0 !important;
  }

  #root header > div > a > * {
    display: none !important;
  }

  #root header > div::before {
    display: block;
    width: 160px;
    height: 28px !important;
    content: "";
    background: url("/assets/logo-cream.svg") left center / 160px auto no-repeat;
  }

  #root header[class~="bg-background"] > div::before {
    background-image: url("/assets/logo-green.svg");
  }

  #root header[class~="text-foreground"] > div::before {
    background-image: url("/assets/logo-green.svg");
  }

  #root header > a:last-child {
    display: none !important;
  }

  body.mayday-scrolled #root header > a:last-child {
    display: none !important;
  }

  #root a[class~="md:hidden"][class~="bottom-0"] {
    display: none !important;
  }

  body.mayday-scrolled #root a[class~="md:hidden"][class~="bottom-0"] {
    display: none !important;
  }

  .mayday-global-contact {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    background: #99aa8d;
    color: #f5f0e5;
    font-family: Syncopate, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  body.mayday-scrolled .mayday-global-contact {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #root h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[600px]"]
    > div,
  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[600px]"]
    > div
    > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  #root .mayday-about-hero,
  #root .mayday-about-hero div[class~="flex"][class~="flex-col"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root .mayday-about-hero h1,
  #root .mayday-about-hero h2,
  #root .mayday-about-hero p,
  #root .mayday-about-hero img,
  #root .mayday-about-hero a {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root .mayday-about-hero h1,
  #root .mayday-about-hero h2 {
    width: 100% !important;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[600px]"]
    p,
  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[600px]"]
    img,
  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[600px]"]
    a {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[680px]"]
    > div[class~="bg-background"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[680px]"]
    > div[class~="bg-background"]
    > * {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[680px]"]
    > div[class~="bg-background"]
    > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[680px]"]
    > div[class~="bg-background"]
    img {
    display: block !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[680px]"]
    > div[class~="bg-background"]
    div[class~="h-px"] {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html[data-mayday-path="/about"]
    #root
    section[class~="min-h-[680px]"]
    > div[class~="bg-background"]
    p[class~="font-sans"][class~="uppercase"] {
    display: block !important;
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  html[data-mayday-path="/about"]
    #root
    div[class~="md:grid-cols-4"]:has(> article) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-mayday-path="/about"]
    #root
    div[class~="md:grid-cols-4"]
    > article {
    min-height: 280px !important;
    padding: 20px 14px !important;
  }

  html[data-mayday-path="/about"]
    #root
    div[class~="md:grid-cols-4"]
    > article
    svg {
    margin-bottom: 20px !important;
  }

  html[data-mayday-path="/about"]
    #root
    div[class~="md:grid-cols-4"]
    > article
    h3 {
    font-size: 20px !important;
  }

  html[data-mayday-path="/about"]
    #root
    div[class~="md:grid-cols-4"]
    > article
    p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  #root .hero-tagline {
    display: block;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center !important;
  }

  #root .mayday-hero-title {
    font-size: clamp(15px, 4.9vw, 36px) !important;
    line-height: 1.4 !important;
    letter-spacing: 0;
  }

  #root .mayday-hero-title span {
    width: auto;
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
  }

  #root .mayday-hero-title .mayday-hero-desktop-line {
    display: none;
  }

  #root .mayday-hero-title .mayday-hero-mobile-line {
    display: block;
    white-space: nowrap;
  }

  #root :is(input, select, textarea) {
    max-width: 100%;
    font-size: 16px;
  }

  #root :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
    min-height: 44px;
    min-width: 0;
  }

  #root form button[type="submit"] {
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
  }

  #root .mayday-hero-subtitle {
    max-width: 34rem;
    margin-top: 22px;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  #root div:has(> .mayday-hero-title) > .mayday-hero-title {
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root div:has(> .mayday-hero-title) > .mayday-hero-subtitle {
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root div:has(> .mayday-hero-title) > .mayday-hero-subtitle + div {
    margin-right: auto !important;
    margin-left: auto !important;
    margin-top: 28px !important;
    margin-bottom: 28px !important;
  }

  #root div:has(> .mayday-hero-title) > .mayday-hero-subtitle + div + div {
    width: 100% !important;
    margin-top: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  #root div:has(> .mayday-hero-title) {
    align-items: center !important;
    text-align: center !important;
  }

  #root div:has(> .hero-tagline) > div:first-child {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  #root .hero-tagline + div {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  #root section > div[class~="max-w-[1600px]"] > div:first-child {
    align-items: center !important;
    text-align: center !important;
  }

  #root section > div[class~="max-w-[1600px]"] > div:first-child > div {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  #root section > div[class~="max-w-[1600px]"] > div[class~="grid"] h2,
  #root section > div[class~="max-w-[1600px]"] > div[class~="grid"] h3,
  #root section > div[class~="max-w-[1600px]"] > div[class~="grid"] p {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root div[class~="flex"][class~="flex-col"][class~="items-center"][class~="text-center"]:has(
      > p[class~="max-w-3xl"]
    ) {
    align-items: center !important;
    text-align: center !important;
  }

  #root div[class~="flex"][class~="flex-col"][class~="items-center"][class~="text-center"]:has(
      > p[class~="max-w-3xl"]
    )
    > * {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root div[class~="md:items-start"][class~="md:text-left"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root div[class~="md:items-start"][class~="md:text-left"] > * {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root section:has([data-testid^="partner-"])
    div[class~="flex"][class~="flex-col"][class~="text-center"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root section:has([data-testid^="partner-"])
    div[class~="flex"][class~="flex-col"][class~="text-center"]
    > * {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root section:has([data-testid="link-why-contact"])
    div[class~="flex"][class~="flex-col"][class~="justify-center"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root section:has([data-testid="link-why-contact"]) h2,
  #root section:has([data-testid="link-why-contact"]) p,
  #root section:has([data-testid="link-why-contact"]) div[class~="w-48"],
  #root section:has([data-testid="link-why-contact"]) [data-testid="link-why-contact"] {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root section:has([data-testid="link-cta-services"])
    div[class~="flex"][class~="flex-col"][class~="items-center"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root section:has([data-testid="link-cta-services"]) h2,
  #root section:has([data-testid="link-cta-services"]) p,
  #root section:has([data-testid="link-cta-services"]) img,
  #root section:has([data-testid="link-cta-services"]) div[class~="w-32"],
  #root section:has([data-testid="link-cta-services"]) [data-testid="link-cta-services"],
  #root section:has([data-testid="link-cta-services"]) [data-testid="link-cta-products"] {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root #garden-center,
  #root #garden-center div[class~="text-center"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root #garden-center h2,
  #root #garden-center p,
  #root #garden-center img,
  #root #garden-center div[class~="w-24"],
  #root #garden-center [data-testid="link-garden-phone"] {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root section:has([data-testid="map-service-area"]) ul[class~="grid-cols-2"] {
    grid-auto-rows: min-content !important;
    align-content: start !important;
    row-gap: 12px !important;
  }

  #root section:has([data-testid="map-service-area"]) ul[class~="grid-cols-2"] li {
    min-height: 0 !important;
    margin: 0 !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  #root
    section:has([data-testid="map-service-area"])
    > div[class~="grid"]
    > div:not(:has([data-testid="map-service-area"])) {
    align-items: center !important;
    text-align: center !important;
  }

  #root section:has([data-testid="map-service-area"]) h2,
  #root section:has([data-testid="map-service-area"]) p {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root .mayday-delivery-info {
    align-items: center !important;
    text-align: center !important;
  }

  #root .mayday-delivery-info h2,
  #root .mayday-delivery-info p {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root .mayday-delivery-title {
    width: 100% !important;
    font-size: clamp(25px, 7.6vw, 32px) !important;
  }

  #root .mayday-delivery-title span {
    display: block;
    white-space: normal;
    text-wrap: balance;
  }

  #root main p[class~="font-body"][class~="text-[20px]"] {
    font-size: 17px !important;
  }

  #root .mayday-faq-intro {
    align-items: flex-start !important;
    text-align: left !important;
  }

  #root .mayday-faq-intro h1,
  #root .mayday-faq-intro h2,
  #root .mayday-faq-intro p {
    margin-right: auto !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  #root .mayday-faq-intro div[class~="h-px"] {
    margin-right: auto !important;
    margin-left: 0 !important;
  }

  #root section:has(img[alt="May Day material delivery to a residential project"])
    div[class~="flex"][class~="flex-col"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root section:has(img[alt="May Day material delivery to a residential project"]) h2,
  #root section:has(img[alt="May Day material delivery to a residential project"]) p,
  #root section:has(img[alt="May Day material delivery to a residential project"])
    div[class~="h-px"] {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root article[class~="bg-background"] ul[class~="sm:grid-cols-3"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #root article[class~="bg-background"] ul[class~="sm:grid-cols-3"] li {
    min-width: 0;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal;
  }

  #root article[class~="bg-background"] ul[class~="sm:grid-cols-3"] li svg {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  #root div[class~="max-w-[560px]"][class~="bg-background"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root div[class~="max-w-[560px]"][class~="bg-background"] > h2,
  #root div[class~="max-w-[560px]"][class~="bg-background"] > img,
  #root div[class~="max-w-[560px]"][class~="bg-background"] > p,
  #root div[class~="max-w-[560px]"][class~="bg-background"] > div,
  #root div[class~="max-w-[560px]"][class~="bg-background"] > a {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root div[class~="md:w-1/2"][class~="items-center"][class~="text-center"] {
    align-items: center !important;
    text-align: center !important;
  }

  #root div[class~="md:w-1/2"][class~="items-center"][class~="text-center"] > h2,
  #root div[class~="md:w-1/2"][class~="items-center"][class~="text-center"] > img,
  #root div[class~="md:w-1/2"][class~="items-center"][class~="text-center"] > p,
  #root div[class~="md:w-1/2"][class~="items-center"][class~="text-center"] > div,
  #root div[class~="md:w-1/2"][class~="items-center"][class~="text-center"] > a {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  #root section {
    scroll-margin-top: 56px;
  }

  #root section[class~="grid-cols-1"]
    > div[class~="flex"][class~="flex-col"][class~="justify-center"] {
    align-items: center;
    text-align: center;
  }

  #root article[class~="text-left"][class~="md:grid-cols-2"],
  #root article[class~="text-left"][class~="md:grid-cols-2"]
    > div[class~="flex"] {
    text-align: center;
  }

  #root article[class~="text-left"][class~="md:grid-cols-2"] h2,
  #root article[class~="text-left"][class~="md:grid-cols-2"] h3,
  #root article[class~="text-left"][class~="md:grid-cols-2"] p {
    margin-left: auto;
    margin-right: auto;
  }

  #root a:has(.capability-card-media) > div:last-child,
  #root a:has(.capability-card-media-wide) > div:last-child {
    display: flex !important;
    width: 100%;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  #root .hl-icon {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  #root footer {
    text-align: left !important;
  }

  #root footer address,
  #root footer [class~="flex-col"] {
    align-items: flex-start !important;
  }

  #root footer a {
    justify-content: flex-start !important;
  }

  #root footer [data-testid="link-email"],
  #root footer [data-testid="link-address"] {
    width: 100%;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  #root footer [data-testid="link-email"] span,
  #root footer [data-testid="link-address"] span {
    overflow-wrap: anywhere;
    text-align: left !important;
  }

  #root footer div:has(> [data-testid="link-instagram"]) {
    width: 100%;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  #catalog > div > div:first-child {
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  #catalog .mayday-product-tabs,
  .mayday-pricing-tabs,
  .mayday-services-tabs {
    display: none !important;
  }

  .mayday-branded-select-wrap {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 40px;
  }

  .mayday-branded-select {
    width: 100%;
    min-height: 56px;
    appearance: none;
    border: 1px solid #568177;
    border-radius: 0;
    box-shadow: inset 0 -3px 0 #568177;
    outline: none;
    border-radius: 0;
    background: #f5f0e5;
    padding: 14px 46px 14px 16px;
    color: #544a37;
    font-family: Syncopate, sans-serif;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mayday-branded-select.is-long {
    padding-right: 42px;
    padding-left: 12px;
    font-size: clamp(9px, 2.7vw, 11px);
    letter-spacing: 0.07em;
  }

  .mayday-branded-select.is-extra-long {
    font-size: clamp(8px, 2.4vw, 10px);
    letter-spacing: 0.04em;
  }

  .mayday-branded-select:focus {
    outline: 2px solid #568177;
    outline-offset: 3px;
  }

  .mayday-branded-select-wrap::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #568177;
    border-bottom: 2px solid #568177;
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
  }

  #catalog article > div[class~="flex"][class~="flex-col"] {
    align-items: center !important;
    text-align: center !important;
  }

  #catalog article > div[class~="flex"][class~="flex-col"] > * {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }
}

.mayday-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  background: #f5f0e5;
  color: #544a37;
}

.mayday-nav-shell {
  display: grid;
  min-height: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.mayday-nav-content {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 40px 48px;
}

.mayday-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mayday-nav-logo img {
  display: block;
  width: min(220px, 60vw);
  height: auto;
}

.mayday-nav-close {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(84, 74, 55, 0.35);
  font-family: Arimo, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.mayday-nav-links {
  margin-top: 48px;
  border-top: 1px solid rgba(84, 74, 55, 0.2);
}

.mayday-nav-links a {
  display: flex;
  min-height: 62px;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid rgba(84, 74, 55, 0.2);
  padding: 16px 4px;
}

.mayday-nav-number {
  color: #71917a;
  font-family: Syncopate, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.mayday-nav-label {
  font-family: Syncopate, sans-serif;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mayday-nav-panel {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(rgba(35, 48, 39, 0.22), rgba(35, 48, 39, 0.58)),
    url("/assets/why-mayday-bg-i1GlPPRD.webp") center / cover;
}

.mayday-nav-panel-copy {
  position: absolute;
  right: 48px;
  bottom: 48px;
  left: 48px;
  color: #f5f0e5;
}

.mayday-nav-panel-copy p:first-child {
  margin-bottom: 16px;
  font-family: Syncopate, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mayday-nav-panel-copy p:last-child {
  max-width: 430px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .mayday-nav-shell {
    display: block;
  }

  .mayday-nav-content {
    min-height: 100%;
    padding: 20px;
  }

  .mayday-nav-links {
    margin-top: 32px;
  }

  .mayday-nav-links a {
    min-height: 58px;
    padding: 14px 2px;
  }

  .mayday-nav-label {
    font-size: 16px;
  }

  .mayday-nav-panel {
    display: none;
  }
}