/*
Theme Name: OnTheSpot
Description: The OnTheSpot Theme
Author: UX Themes
Template: flatsome
Version: 3.6.2
*/

/* Neue Haas Unica: On The Spot's own font files from onthespot.net. Flatsome "Disable fonts" is on, so Lato is not loaded. */
@font-face {
  font-family: "Neue Haas Unica";
  src: url("assets/fonts/neue-haas-unica-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Unica";
  src: url("assets/fonts/neue-haas-unica-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body,
h1, h2, h3, h4, h5, h6,
.heading-font,
.nav > li > a,
button,
input,
select,
textarea {
  font-family: "Neue Haas Unica", Arial, Helvetica, sans-serif;
}

/* The header layout and footer block are configured in Flatsome Customizer. */
:root {
  --ots-cream: #fffcf5;
  --ots-ink: #252324;
  --ots-yellow: #ffe600;
}

#header .header-main {
  background: var(--ots-cream);
}

#header.transparent .header-main {
  background: transparent;
}

#header .header-inner {
  max-width: none;
  padding-inline: clamp(20px, 2.6vw, 50px); /* Same gutter as .ots-section (XD: 50px on 1920). */
}

#header #logo {
  margin-right: 0;
}

#header .header-main .flex-left.hide-for-medium {
  justify-content: center;
}

#header .header-nav-main.nav-left {
  justify-content: center;
}

#header #logo img {
  max-height: none;
}

/* Flatsome selects the light logo by page template; project singles use a filter instead. */
body.single-ots_project #header.transparent #logo .header-logo {
  display: none !important;
}

body.single-ots_project #header.transparent #logo .header-logo-dark {
  display: block !important;
}

#header .header-nav-main > li > a {
  color: var(--ots-ink);
  font-size: clamp(12px, .87vw, 15px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

#header .header-nav-main.nav-left > li {
  margin: 0 clamp(5px, .65vw, 12px);
}

/* Contact remains in the mobile menu; the desktop quote button is its entry point. */
#header .header-nav-main.nav-left > #menu-item-125 {
  display: none;
}

/* Yellow marker hugs the text: painted on the content box (line-height = text height), not the padded link.
   Hover/focus sweeps it in from the left like the card markers in sections.css. */
#header .header-nav-main > li > a {
  line-height: 1.2;
  background: linear-gradient(var(--ots-yellow), var(--ots-yellow)) left / 0 100% no-repeat content-box;
  transition: background-size .45s ease, color .2s ease;
}

#header .header-nav-main > li > a:is(:hover, :focus-visible),
#header .header-nav-main > li.current-menu-item > a,
#header .header-nav-main > li.current-page-ancestor > a {
  background-size: 100% 100%;
}

#header.transparent .header-nav-main > li > a,
#header.transparent .ots-site-lang {
  color: #fff;
}

#header.transparent .header-nav-main > li > a:is(:hover, :focus-visible),
#header.transparent .header-nav-main > li.current-menu-item > a,
#header.transparent .header-nav-main > li.current-page-ancestor > a {
  color: var(--ots-ink);
}

body.page-id-51 #header .header-nav-main > li.current-menu-item > a,
body.page-id-52 #header .header-nav-main > li:has(> a[href*="#showroom"]) > a {
  background: none;
}

body.page-id-51 #header.transparent .header-nav-main > li.current-menu-item > a {
  color: #fff;
}

#header.transparent .header-nav-main.nav-left > li:last-child {
  display: none;
}

#header .ots-site-lang {
  display: inline-block;
  color: var(--ots-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}

#header .header-button-1 .button {
  min-height: 43px;
  margin: 0;
  padding: 0 25px;
  border: 1px solid var(--ots-ink);
  border-radius: 99px;
  background: var(--ots-ink);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 41px;
  letter-spacing: 0;
  text-transform: none;
}

#header .header-button-1 .button:hover,
#header .header-button-1 .button:focus-visible {
  background: var(--ots-yellow);
  border-color: var(--ots-yellow);
  color: var(--ots-ink);
}

#header.transparent .header-button-1 .button {
  background: #fff;
  border-color: #fff;
  color: var(--ots-ink);
}

#header.transparent .header-button-1 .button:hover,
#header.transparent .header-button-1 .button:focus-visible {
  background: var(--ots-yellow);
  border-color: var(--ots-yellow);
}

.ots-site-anchor {
  display: block;
  position: relative;
  top: -90px;
  height: 0;
  visibility: hidden;
}

.ots-site-footer {
  background: var(--ots-cream);
  color: var(--ots-ink);
  padding: clamp(96px, 10vw, 178px) clamp(20px, 2.6vw, 50px) 48px; /* Same gutter as header and sections. */
}

.ots-site-footer__inner,
.ots-site-footer__bottom {
  max-width: 1820px;
  margin: 0 auto;
}

.ots-site-footer__inner {
  display: grid;
  /* XD01 column lines at 50 / 1121 / 1427 on 1920, shared with the section grids. */
  grid-template-columns: minmax(240px, 1071fr) minmax(160px, 306fr) minmax(230px, 443fr);
  gap: 0;
}

.ots-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  align-items: center;
  margin-top: clamp(100px, 12vw, 205px);
  color: #8d8c88;
}

.ots-site-footer__bottom small {
  font-size: 11px;
  line-height: 1.5;
}

.ots-site-footer__utility {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  align-items: center;
}

.ots-site-footer h2 {
  margin: 0 0 27px;
  color: #aaa9a3;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
}

.ots-site-footer a,
.ots-site-footer__column > span {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--ots-ink);
  font-size: 16px;
  line-height: 1.45;
  text-decoration: none;
}

.ots-site-footer a:hover,
.ots-site-footer a:focus-visible {
  color: #850a2b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ots-site-footer__logo img {
  display: block;
  width: min(275px, 100%);
  height: auto;
}

.ots-site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 57px;
}

.ots-site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  margin: 0;
  border: 1px solid var(--ots-ink);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.ots-site-footer__spaces {
  margin-top: 37px;
}

.ots-site-footer__contact address {
  margin: 0 0 32px;
  color: var(--ots-ink);
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
}

.ots-site-footer .ots-site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 228px;
  margin-top: 30px;
  padding: 11px 19px;
  border: 1px solid var(--ots-ink);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
}

.ots-site-footer .ots-site-footer__cta:hover,
.ots-site-footer .ots-site-footer__cta:focus-visible {
  background: var(--ots-yellow);
  color: var(--ots-ink);
  text-decoration: none;
}

#footer .absolute-footer {
  display: none;
}

.ots-site-footer .ots-site-footer__utility a {
  margin: 0;
  color: #8d8c88;
  font-size: 11px;
}

#main-menu .sidebar-menu {
  background: var(--ots-cream);
}

#main-menu .nav-sidebar > li > a {
  color: var(--ots-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

#main-menu .header-button-1 .button {
  margin: 20px;
  padding: 8px 22px;
  border-radius: 99px;
  background: var(--ots-ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-transform: none;
}

@media (max-width: 1200px) {
  #header .header-nav-main > li > a { font-size: 12px; }
  #header .header-nav-main.nav-left > li { margin: 0 4px; }
  #header #logo { margin-right: 20px; }
  .ots-site-footer__inner { gap: 42px; }
}

@media (max-width: 849px) {
  #header .header-main { min-height: 70px; }
  #header .header-inner { padding-inline: 20px; }
  #header #logo { margin-right: 0; }
  .ots-site-footer__inner { grid-template-columns: 1fr 1fr; gap: 70px 35px; }
  .ots-site-footer__brand { grid-column: 1 / -1; }
  .ots-site-footer__bottom { margin-top: 110px; }
}

@media (max-width: 549px) {
  .ots-site-footer { padding: 88px 20px 40px; }
  .ots-site-footer__inner { grid-template-columns: 1fr; gap: 62px; }
  .ots-site-footer__brand { grid-column: auto; }
  .ots-site-footer__social { margin-top: 35px; }
  .ots-site-footer h2 { margin-bottom: 20px; }
  .ots-site-footer__spaces { margin-top: 40px; }
  .ots-site-footer__bottom { margin-top: 95px; }
}

/* Keep the seven-item desktop navigation on one line near Flatsome's breakpoint. */
@media (min-width: 850px) and (max-width: 960px) {
  #header .header-main .hide-for-medium { display: none !important; }
  #header .header-main .show-for-medium { display: flex !important; }
  #header .header-main .header-inner { position: relative; justify-content: center; }
  #header .header-main #logo { position: absolute; left: 50%; margin: 0; transform: translateX(-50%); }
  #header .header-main .show-for-medium.flex-left { position: absolute; left: 28px; }
}
