/* Fallback Themify Ultra agency2 — snapshot-aligned layout when theme CSS unavailable */
:root {
  --tf-accent: #c45c26;
  --tf-accent-dark: #9a4518;
  --tf-header-bg: #1c1c1c;
  --tf-footer-bg: #1a1a1a;
  --tf-text: #444;
  --tf-heading: #222;
  --tf-width: 1200px;
  --tf-gutter: 3.2%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, "Public Sans", Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tf-text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tf-accent); text-decoration: none; }
a:hover { color: var(--tf-accent-dark); }
.pagewidth, #layout, #footer.footer, #header.header {
  max-width: var(--tf-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
#pagewrap { width: 100%; }
#headerwrap {
  background: var(--tf-header-bg);
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.fixed-header-enabled #headerwrap {
  position: sticky;
  top: 0;
}
#header { padding: 12px 0; }
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#site-logo img { max-height: 70px; width: auto; }
#main-nav-wrap { display: block; }
#main-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
#main-nav > li { position: relative; }
#main-nav > li > a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
#main-nav > li > a:hover,
#main-nav .current-menu-item > a,
#main-nav .current_page_item > a {
  color: var(--tf-accent);
}
#main-nav .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #2a2a2a;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
#main-nav li:hover > .sub-menu,
#main-nav li:focus-within > .sub-menu { display: block; }
#main-nav .sub-menu a {
  display: block;
  padding: 10px 16px;
  color: #eee;
  font-size: 13px;
  text-transform: none;
}
#main-nav .sub-menu a:hover { background: #333; color: #fff; }
#menu-icon, #menu-icon-close { display: none; }
.page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--tf-heading);
  margin: 1.2em 0 .6em;
  font-weight: 700;
}
.entry-content, .page-content { padding-bottom: 40px; }
.themify_builder_content { width: 100%; }
.module_row { width: 100%; clear: both; }
.themify_builder_row.fullwidth,
.module_row.fullwidth {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.sub_column { min-width: 0; }
.hide-mobile { display: block; }
.hide-desktop { display: none; }
@media (max-width: 900px) {
  .hide-mobile { display: none !important; }
  .hide-desktop { display: block !important; }
}
.row_inner {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--tf-gutter) * -1);
  margin-right: calc(var(--tf-gutter) * -1);
}
.module_column { padding: 0 var(--tf-gutter); }
.col4-2, .tb-column.col4-2 { width: 50%; }
.col-full, .tb-column.col-full { width: 100%; }
.col3-1 { width: 33.333%; }
.col4-1 { width: 25%; }
.col_align_top .row_inner { align-items: flex-start; }
.module { margin-bottom: 1.5rem; }
.tb_text_wrap h2, .tb_text_wrap h3, .module-fancy-heading h2 {
  color: var(--tf-heading);
  font-weight: 700;
}
.ui.builder_button, .module-buttons .builder_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75em 1.5em;
  background: var(--tf-accent);
  color: #fff !important;
  border-radius: 3px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.ui.builder_button.brown, .builder_button.brown {
  background: var(--tf-accent);
}
.ui.builder_button:hover { background: var(--tf-accent-dark); }
.module-image .image-wrap { text-align: center; }
.module-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.module-gallery-grid img { width: 100%; border-radius: 2px; }
/* Revolution slider fallback */
rs-module-wrap, #rev_slider_1_1_wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow: hidden;
}
rs-module, #rev_slider_1_1 {
  display: block !important;
  position: relative !important;
  height: auto !important;
  min-height: 280px;
}
rs-slides, .rs-slides { position: relative; width: 100%; }
rs-slide, .rs-slide {
  display: none;
  width: 100%;
}
rs-slide:first-child, .rs-slide:first-child,
rs-slide.rs-active, .rs-slide.active { display: block; }
rs-slide img.rev-slidebg, .rev-slidebg {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
}
.rs-p-wp-fix { display: none; }
.rs-error-message-box { display: none !important; }
.tf-rev-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  border-radius: 50%;
}
.tf-rev-nav:hover { background: rgba(0,0,0,.75); }
.tf-rev-prev { left: 12px; }
.tf-rev-next { right: 12px; }
/* Lazy images */
.tf_svg_lazy, [data-tf-src] { filter: none !important; opacity: 1 !important; visibility: visible !important; }
.wow, .themify_builder .wow { visibility: visible !important; animation: none !important; }
/* Footer */
#footerwrap {
  background: var(--tf-footer-bg);
  color: #ccc;
  padding: 40px 0 20px;
  margin-top: 40px;
}
#footerwrap a { color: #ddd; }
#footerwrap a:hover { color: #fff; }
.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-widgets > .tf_float { flex: 1 1 200px; }
.widgettitle {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 12px;
  font-weight: 700;
}
.footer-text { border-top: 1px solid #333; margin-top: 24px; padding-top: 16px; font-size: 14px; }
.floatwa {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floatwa img { width: 56px; height: auto; }
.back-top { text-align: center; margin-bottom: 12px; }
.back-top a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: var(--tf-accent);
  color: #fff;
  border-radius: 50%;
}
/* Mobile menu */
@media (max-width: 900px) {
  .header-icons { display: block !important; position: absolute; right: 16px; top: 22px; z-index: 110; }
  #menu-icon {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--tf-accent);
    border-radius: 4px;
  }
  .menu-icon-inner {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    box-shadow: 0 7px 0 #fff, 0 -7px 0 #fff;
  }
  #mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 88vw);
    max-width: 88vw;
    background: #1c1c1c;
    z-index: 10000;
    transform: translateX(-105%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 60px 20px 24px;
  }
  #mobile-menu.sidemenu-active,
  body.sidemenu-active #mobile-menu { transform: translateX(0); }
  #menu-icon-close {
    display: block !important;
    position: absolute;
    top: 12px;
    right: 12px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
  }
  #main-nav { flex-direction: column; align-items: stretch; }
  #main-nav .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #252525;
    padding-left: 12px;
  }
  #main-nav li.sub-open > .sub-menu { display: block; }
  .col4-2, .col3-1, .col4-1 { width: 100%; }
}
