/* base.css — GHL layout framework re-implementation
   MUST load before style.css on every page
   ================================================ */

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  color: var(--my-custom-color-27, #2c2c2c);
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", sans-serif;
  margin: 0 0 0.5em;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

/* ─── Section ────────────────────────────────────── */
/* IMPORTANT: NO isolation:isolate — it creates stacking contexts
   that trap child z-index values, breaking nav dropdowns */
.c-section {
  position: relative;
  width: 100%;
  display: block;
}
.fullSection { width: 100%; }

/* Background overlay divs inside sections */
.bgCover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* .bg is absolutely positioned inside the section */
.c-section > .bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center center;
}
/* .inner sits on top of .bg via normal DOM order */
.c-section > .inner {
  position: relative;
}

/* ─── Inner container ────────────────────────────── */
.inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ─── Row ────────────────────────────────────────── */
.c-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.row-align-center { align-items: center; }
.c-row > .inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

/* ─── Column ─────────────────────────────────────── */
.c-column {
  flex: 1 1 auto;
  min-width: 0;
}
.c-column > .inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vertical > .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* ─── Mobile column stacking (GHL's 480px breakpoint) */
@media (max-width: 480px) {
  .c-row > .inner { flex-wrap: wrap; }
  .c-column {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ─── Border/radius helpers ──────────────────────── */
.noBorder  { border: none !important; }
.borderFull { border-style: solid; }
.borderBottom { border-bottom-style: solid; }
.radius0  { border-radius: 0; }
.radius4  { border-radius: 4px; }
.radius10 { border-radius: 10px; }
.radius15 { border-radius: 15px; }

/* ─── Visibility helpers ─────────────────────────── */
@media (max-width: 767px)  { .desktop-only   { display: none !important; } }
@media (min-width: 768px)  { .desktop-hidden { display: none !important; } }
.sf-hidden { display: none !important; }

/* ─── Text/image components ──────────────────────── */
.text-output { width: 100%; }
.text-output > div { width: 100%; }
.image-container { width: 100%; }
.hl-image-picture { display: block; width: 100%; }
.hl-image-picture img { width: 100%; height: auto; }
.mw-100 { max-width: 100%; }

/* ─── Gallery image padding equalisation ─────────── */
[class*="cimage-"] { padding: 10px !important; }

/* ─── Button component ───────────────────────────── */
.c-button { display: inline-block; }
.c-button a, .c-button button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.btn-loader-position { display: none; }

/* ─── Empty slot (GHL placeholder) ──────────────── */
.empty-slot,
.empty-component-wrapper,
.empty-component-min-height { display: none; }

/* ─── Nav component ──────────────────────────────── */
/* Section max-width is controlled by style.css #section-U_kXsU6Ny>.inner{max-width:1170px} */
.c-nav-menu { width: 100%; }
.nav-menu-wrapper { width: 100%; }
.cart-nav-wrapper { width: 100%; }
.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu-item { position: relative; }
.nav-menu-item a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

/* Dropdown */
.nav-menu-item.dropdown { position: relative; }
.nav-menu-item .submenu,
.nav-menu-item .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 8px 0;
}
.nav-menu-item .submenu li,
.nav-menu-item .dropdown-menu li { list-style: none; }
.nav-menu-item .submenu a,
.nav-menu-item .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
}
.nav-menu-item.dropdown:hover .submenu,
.nav-menu-item.dropdown:hover .dropdown-menu,
.nav-menu-item.dropdown[aria-expanded="true"] .submenu,
.nav-menu-item.dropdown[aria-expanded="true"] .dropdown-menu {
  display: block;
}

/* ─── Social icons ───────────────────────────────── */
.social-icons-container {
  display: flex;
  flex-wrap: wrap;
  -webkit-font-smoothing: auto !important;
}
.social-icon {
  color: inherit;
  cursor: pointer;
  display: block;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}

/* ─── Cookie banner (hide — we add our own if needed) */
.hl-cookie-consent-banner { display: none !important; }

/* ─── GHL nuxt wrapper strip ────────────────────── */
#__nuxt { display: contents; }
.preview-container { display: contents; }
