/* Clone overrides.
   The mirror ships Elementor's real CSS, but not its runtime (webpack) or the
   WordPress/WooCommerce scripts. This file reimplements the handful of
   behaviours that CSS alone cannot cover, using the physical values measured
   from the live site (dark header #22201F, gold #D8B66E, accent #F4CA16). */

:root {
  --clone-dark: #22201F;
  --clone-gold: #D8B66E;
  --clone-accent: #F4CA16;
}

body.clone-home { background: #ffffff; }

/* Leave room for the fixed navigation when jumping to an in-page anchor. */
[id] { scroll-margin-top: 96px; }

/* ---------- Sticky navigation (data-settings sticky:top) ---------- */
.clone-sticky-spacer { display: none; }
.elementor-element-00543e2.clone-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9990;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.elementor-element-00543e2.clone-stuck > .e-con-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ---------- Mobile menu toggle ---------- */
.elementor-menu-toggle { cursor: pointer; }
.elementor-menu-toggle.elementor-active .elementor-menu-toggle__icon--open { display: none; }
.elementor-menu-toggle:not(.elementor-active) .elementor-menu-toggle__icon--close { display: none; }

/* ---------- Popup (Elementor id 277, entrance_animation zoomIn) ---------- */
[data-elementor-type="popup"][data-elementor-id="277"] { display: none; }
[data-elementor-type="popup"][data-elementor-id="277"].clone-open {
  display: flex !important;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 16, 15, 0.7);
  animation: zoomIn 0.3s ease both;
}
[data-elementor-type="popup"][data-elementor-id="277"].clone-open > .e-con-boxed {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: auto;
  border-radius: 8px;
}
.clone-popup-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 10;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clone-gold);
  border-radius: 50%;
  background: #2b2927;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.clone-popup-close:hover { background: var(--clone-gold); color: var(--clone-dark); }
body.clone-modal-open { overflow: hidden; }

/* ---------- Form feedback ---------- */
.clone-field-error { border: 1px solid #d64545 !important; border-radius: 4px; }
.clone-form-success {
  margin: 0 0 14px;
  color: #1a7f37;
  font-family: "Rubik", Sans-serif;
  font-weight: 500;
  text-align: center;
}

/* ---------- Contacts page map ---------- */
.clone-map-frame { display: block; width: 100%; border: 0; }

/* ---------- Accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--clone-accent);
  outline-offset: 2px;
}
