/* =======================================================================
   Scoped styles for the standard Zega Apparel header (includes/header.php)
   and footer (includes/footer.php) when dropped into a legacy Bootstrap 3
   landing page (e.g. custom-face-mask.php).

   Everything here is scoped to #header2 / .footer2 / #myModal so the host
   page's own layout is not affected. Component rules are lifted from
   assets/css/style.css; the .container-fluid / .d-flex / .row / .col-*
   helpers below re-create just the Bootstrap 5 utilities the markup uses.
   ======================================================================= */

/* ---- body offset for the fixed header (scoped via body class) ---- */
body.has-site-chrome { padding-top: 112px; }
@media (max-width: 1199px) { body.has-site-chrome { padding-top: 74px; } }
@media (max-width: 575px)  { body.has-site-chrome { padding-top: 66px; } }

/* ---- neutralise host-page (Bootstrap 3 + landing) bleed inside the chrome ---- */
#header2, #header2 *,
.footer2, .footer2 * {
  font-family: "Open Sans", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  box-sizing: border-box;
}
/* kill Bootstrap 3 clearfix pseudo-elements on the flex containers we reuse */
#header2 .container-fluid::before, #header2 .container-fluid::after,
.footer2 .container::before,  .footer2 .container::after,
.footer2 .row::before,        .footer2 .row::after { content: none !important; display: none !important; }

/* The landing stylesheet has aggressive `header … / footer …` element rules
   (skew transforms, forced white links, uppercasing, `footer p{padding:0 116px}`,
   `footer ul li{display:inline-block}`, …). Undo all of it inside the chrome. */
#header2.header2 { padding: 0; background: #fff; }
#header2 a { text-decoration: none; }
#header2 .logo { padding: 0 !important; }
#header2 .header2-navbar > ul {
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  top: auto !important;
  transform: none !important;
  text-align: left !important;
  font-family: inherit !important;
  background: none !important;
}
#header2 .header2-navbar > ul > li {
  color: inherit;
  margin: 0;
  border-radius: 0;
  font-size: inherit;
  text-transform: none;
}
#header2 .header2-navbar a,
#header2 .header2-mobile-nav a { text-transform: none; }
#header2 .h2-dropdown-menu,
#header2 .h2-megamenu { width: auto !important; transform: none !important; text-align: left !important; }
#header2 .h2-dropdown-menu li,
#header2 .h2-megamenu li { margin: 0 !important; color: inherit; text-transform: none; border-radius: 0; font-size: inherit; }
#header2 .header2-mobile-nav > ul {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  transform: none !important;
  background: none !important;
}
#header2 .header2-mobile-nav > ul > li { display: block !important; margin: 0 !important; color: inherit; text-transform: none; border-radius: 0; font-size: inherit; }

/* landing CSS: `div#clients,footer{text-align:center;padding:30px 0}` */
.footer2 { line-height: 1.6; text-align: left; padding: 0; }
.footer2 a { text-decoration: none; text-transform: none !important; }
.footer2 p { padding: 0 !important; margin: 0; }
.footer2 ul { text-align: left !important; margin-bottom: 0 !important; }
.footer2 ul li { display: block !important; margin: 0 !important; font-size: inherit !important; }
.footer2 ul li a { display: inline !important; }
/* restore the footer's own link colours (landing CSS uses `color:#fff !important`) */
.footer2 .footer2-logo { color: #fff !important; }
.footer2 .footer2-links li a { color: #888 !important; }
.footer2 .footer2-links li a:hover { color: #F76C17 !important; }
.footer2 .footer2-contact-info a { color: #aaa !important; }
.footer2 .footer2-contact-info a:hover { color: #F76C17 !important; }
.footer2 .footer2-socials a { color: #aaa !important; }
.footer2 .footer2-socials a:hover { color: #fff !important; }
.footer2 .footer2-bottom p { color: #555 !important; }

/* =========================================================
   Bootstrap-5 layout helpers — HEADER (scoped to #header2)
   ========================================================= */
#header2.header2.fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
#header2 .container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}
#header2 .d-flex { display: flex !important; }
#header2 .align-items-center { align-items: center !important; }
#header2 .justify-content-end { justify-content: flex-end !important; }
#header2 .me-auto { margin-right: auto !important; }
#header2 .ms-auto { margin-left: auto !important; }
@media (min-width: 992px) { #header2 .me-lg-0 { margin-right: 0 !important; } }
/* NB: Bootstrap 3 sets html{font-size:10px} on this page, so `rem` is unreliable — use px */
#header2 .ms-3 { margin-left: 16px !important; }
#header2 .ms-4 { margin-left: 24px !important; }
#header2 .px-4 { padding-right: 24px !important; padding-left: 24px !important; }
#header2 .py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
#header2 .p-3 { padding: 16px !important; }
#header2 .mt-2 { margin-top: 8px !important; }
#header2 .mb-0 { margin-bottom: 0 !important; }
#header2 .w-100 { width: 100% !important; }
#header2 .gap-1 { gap: 4px; }
#header2 .flex-shrink-0 { flex-shrink: 0 !important; }
#header2 .fw-semibold { font-weight: 600 !important; }
#header2 .list-unstyled { margin: 0; padding-left: 0; list-style: none; }
#header2 nav.header2-navbar { flex-shrink: 1; min-width: 0; }
#header2 nav.header2-navbar > ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}
#header2 nav.header2-navbar > ul > li { list-style: none; }
#header2 .btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 9px 22px;
  border-radius: 4px;
}
#header2 .d-xl-none { display: none !important; }
@media (max-width: 1199px) {
  #header2 .header2-navbar { display: none !important; }
  #header2 .btn.btn-primary-orange.ms-4 { display: none !important; }
  #header2 .header2-mobile-toggle.d-xl-none { display: block !important; }
  #header2 .header2-mobile-nav.d-xl-none { display: block !important; }
}

/* Pure-CSS hamburger — the landing page's font-awesome collides with the
   Bootstrap-Icons `bi-list` glyph, so draw the bars instead of relying on it. */
#header2 .header2-mobile-toggle {
  position: relative;
  width: 40px;
  height: 34px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
#header2 .header2-mobile-toggle > i { display: none; }
#header2 .header2-mobile-toggle::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 2px;
  background: #222;
  box-shadow: 0 7px 0 #222, 0 14px 0 #222;
}

/* =========================================================
   Bootstrap-5 layout helpers — FOOTER (scoped to .footer2)
   ========================================================= */
.footer2 .container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}
.footer2 .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.footer2 .row.g-5 { row-gap: 40px; }
.footer2 [class*="col-"] {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: none;
}
/* target only the lg-* classes so BS3's .col-md-6 (also on every column) can't win by source order */
.footer2 .col-lg-3 { flex: 0 0 25%;      max-width: 25%; }
.footer2 .col-lg-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
@media (max-width: 991px) {
  .footer2 .col-lg-3,
  .footer2 .col-lg-2 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575px) {
  .footer2 .col-lg-3,
  .footer2 .col-lg-2 { flex: 0 0 100%; max-width: 100%; }
}
.footer2 .d-flex { display: flex !important; }
.footer2 .flex-column { flex-direction: column !important; }
@media (min-width: 768px) { .footer2 .flex-md-row { flex-direction: row !important; } }
.footer2 .align-items-center { align-items: center !important; }
.footer2 .justify-content-between { justify-content: space-between !important; }
.footer2 .gap-2 { gap: 8px; }
.footer2 .mb-0 { margin-bottom: 0 !important; }
.footer2 .mt-4 { margin-top: 24px !important; }

/* Hide the header/footer quote modal on this page (no Bootstrap 5 JS to toggle it) */
#myModal.modal { display: none !important; }

/* =========================================================
   Header component styles  (from assets/css/style.css)
   ========================================================= */
.header2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header2-topbar { background: #1a1a1a; padding: 6px 0; font-size: 13px; }
.header2-topbar-link {
  color: #ccc; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.header2-topbar-link:hover { color: #F76C17; }
.header2-moq { color: #F76C17; font-weight: 600; font-size: 13px; letter-spacing: .5px; }
.header2-nav-wrap { background: #fff; padding: 10px 0; }
.header2-logo {
  display: inline-flex; align-items: center; gap: 0;
  background: #111; color: #fff; text-decoration: none;
  font-size: 17px; font-weight: 400; letter-spacing: 1.5px;
  padding: 7px 14px; border-radius: 4px; white-space: nowrap; line-height: 1;
}
.header2-logo:hover { color: #fff; text-decoration: none; }
.header2-logo-bold { font-weight: 800; margin-right: 6px; }
.header2-logo-img { height: 52px; width: auto; }
.header2-navbar ul li { position: relative; }
.header2-navbar ul li > a {
  display: block; padding: 8px 12px; color: #222;
  font-size: 14px; font-weight: 500; text-decoration: none;
  white-space: nowrap; transition: color .2s;
}
.header2-navbar ul li > a:hover,
.header2-navbar ul li > a.active { color: #F76C17; }
.header2-navbar ul li > a i { font-size: 11px; margin-left: 2px; vertical-align: middle; }
.h2-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border-top: 3px solid #F76C17;
  box-shadow: 0 6px 20px rgba(0,0,0,.12); border-radius: 0 0 6px 6px;
  list-style: none; padding: 8px 0; min-width: 200px; z-index: 1000;
}
.h2-dropdown-menu li a {
  display: block; padding: 7px 18px; color: #333; font-size: 13px;
  text-decoration: none; white-space: nowrap; transition: background .15s, color .15s;
}
.h2-dropdown-menu li a:hover { background: #fff5f0; color: #F76C17; }
.h2-dropdown:hover .h2-dropdown-menu { display: block; }
.h2-megamenu { display: none; flex-direction: row; min-width: 640px; padding: 16px; gap: 8px; }
.h2-megamenu li {
  display: flex; flex-direction: column; flex: 1;
  padding: 0 8px; border-right: 1px solid #f0f0f0;
}
.h2-megamenu li:last-child { border-right: none; }
.h2-megamenu li a { padding: 5px 0; font-size: 12.5px; }
.h2-dropdown:hover .h2-megamenu { display: flex; }
.header2-mobile-toggle {
  background: none; border: none; font-size: 26px; color: #222; cursor: pointer; line-height: 1;
}
.header2-mobile-nav {
  background: #fff; border-top: 1px solid #eee;
  max-height: 0; overflow-y: auto; overflow-x: hidden; transition: max-height .35s ease;
}
.header2-mobile-nav.open { max-height: 80vh; }
.header2-mobile-nav > ul > li > a {
  display: block; padding: 11px 4px; color: #222; font-size: 15px; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid #f5f5f5;
}
.header2-mobile-nav > ul > li > a:hover { color: #F76C17; }
@media (max-width: 480px) {
  .header2-topbar .container-fluid { flex-direction: column; gap: 4px; text-align: center; }
}
@media (max-width: 575px) {
  .header2-topbar { display: none; }
  .header2-logo-img { height: 42px; }
  .header2-nav-wrap { padding: 8px 0; }
  .header2-mobile-nav > ul > li > a { padding: 13px 8px; font-size: 16px; }
}

/* Orange CTA button (from assets/css/style.css) */
.btn-primary-orange {
  background: #F76C17; color: #fff; border-radius: 4px; font-size: 15px; border: none;
}
.btn-primary-orange:hover { background: #d45a0e; color: #fff; }

/* =========================================================
   Footer component styles  (from assets/css/style.css)
   ========================================================= */
.footer2 { background: #0f0f0f; color: #aaa; font-size: 14px; }
.footer2-main { padding: 60px 0 40px; border-bottom: 1px solid #2a2a2a; }
.footer2-logo {
  display: inline-block; font-size: 22px; font-weight: 400; color: #fff;
  text-decoration: none; letter-spacing: 1px; margin-bottom: 14px;
}
.footer2-logo-bold { font-weight: 800; }
.footer2-desc { color: #888; font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.footer2-contact-info {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 18px; border-bottom: 1px solid #2a2a2a; margin-bottom: 18px;
}
.footer2-contact-info a {
  color: #aaa; text-decoration: none; font-size: 13px;
  display: flex; align-items: center; gap: 8px; transition: color .2s;
}
.footer2-contact-info a:hover { color: #F76C17; }
.footer2-moq-block { display: flex; flex-direction: column; gap: 3px; }
.footer2-moq-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #F76C17; }
.footer2-moq-value { font-size: 15px; font-weight: 700; color: #fff; }
.footer2-col-heading {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer2-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer2-links li a { color: #888; text-decoration: none; font-size: 13.5px; transition: color .2s; }
.footer2-links li a:hover { color: #F76C17; }
.footer2-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer2-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: #1e1e1e;
  color: #aaa; font-size: 15px; text-decoration: none; transition: background .2s, color .2s;
}
.footer2-socials a:hover { background: #F76C17; color: #fff; }
.footer2-bottom { padding: 16px 0; font-size: 13px; color: #555; }
.footer2-bottom p { color: #555; margin: 0; }
