/* Phone and tablet. Loaded last so it wins over the earlier mobile rules. */

a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 900px) {
  .l-header__inner {
    row-gap: 0.15rem;
    padding-top: 0.4rem;
    padding-bottom: 0.45rem;
  }

  .l-header .l-nav,
  .s-skin--marble .l-header .l-nav,
  .s-skin--silver .l-header .l-nav {
    order: 1;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem 0.55rem;
    font-size: 0.8rem;
  }

  .l-header .l-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.2rem 0.05rem;
    white-space: nowrap;
  }

  .l-header .l-actions,
  .s-skin--marble .l-header .l-actions,
  .s-skin--silver .l-header .l-actions {
    order: 2;
    width: 100%;
    margin-left: 0;
    margin-inline-start: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }

  .l-header .l-phone,
  .s-skin--marble .l-header .l-phone,
  .s-skin--silver .l-header .l-phone {
    display: inline;
    margin-inline-end: auto;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
  }

  .l-header .l-msg svg {
    width: 34px;
    height: 34px;
  }

  .l-header .l-lang {
    min-width: 0;
    max-width: 42%;
  }

  .l-header .l-lang__select {
    width: 100%;
    max-width: 8.4rem;
    min-height: 34px;
    font-size: 0.78rem;
  }

  .l-hero__rails {
    min-height: 0;
  }

  .l-hero .l-vrail {
    height: auto;
    max-height: none;
    overflow: hidden;
  }

  .l-hero .l-vrail__col > :nth-child(n + 3),
  .l-hero .l-vrail__col--down > :nth-child(n + 3) {
    display: none;
  }

  .hero-vrail h1,
  .hero-vrail__lead {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .vs-usp-split,
  .vs-craft-bleed,
  .vs-craft-bleed--flip,
  .vs-salon-strip,
  .vs-visit,
  .vs-dirs-stack .l-dir {
    grid-template-columns: 1fr;
  }

  .vs-usp-split__media,
  .vs-usp-split__media img {
    width: 100%;
    max-height: 24rem;
    object-fit: cover;
  }

  .l-pdp dl,
  .pdp-spec {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.1rem;
  }

  .l-pdp dt,
  .pdp-spec dt {
    margin-top: 0.7rem;
  }

  .l-pdp dd,
  .pdp-spec dd {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .l-hero .l-vrail__col,
  .l-hero .l-vrail__col--down {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .l-hero .l-vrail {
    gap: 0.45rem;
  }

  .hero-vrail__logo,
  .hero-vrail__logo-slot {
    width: min(15rem, 68%);
  }

  .hero-vrail h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
  }
}

@media (max-width: 420px) {
  .l-header .l-nav,
  .s-skin--marble .l-header .l-nav,
  .s-skin--silver .l-header .l-nav {
    flex-wrap: nowrap;
    font-size: 0.68rem;
    gap: 0.15rem 0.28rem;
  }

  .l-header .l-phone,
  .s-skin--marble .l-header .l-phone,
  .s-skin--silver .l-header .l-phone {
    font-size: 0.72rem;
  }

  .l-header .l-msg svg {
    width: 32px;
    height: 32px;
    padding: 7px;
  }

  .l-header .l-lang {
    max-width: 38%;
  }

  .l-header .l-lang__select {
    max-width: 6.7rem;
    font-size: 0.74rem;
    padding-inline: 0.35rem;
  }
}
