/* ============================================================
   style-fix.css – Sabugueira mirror critical overrides
   Injected last to fill gaps from missing wp-content assets
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  background-color: #f5f0e8;
  margin: 0;
  color: #333;
}

/* Background image (mirror – uses local Unsplash version) */
body.custom-background {
  background-image: url('/wp-content/uploads/2020/09/palm-4211167_640.jpg') !important;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.main-wrapper {
  max-width: 100%;
  min-height: 100vh;
  background: rgba(255,255,255,0.96);
}

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* ---- HEADER ---- */
.header { background: #fff; border-bottom: 3px solid #8B6914; position: relative; z-index: 100; }
.header-row-2 { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; flex-wrap: wrap; gap: 10px; }
.logo { flex: 0 0 auto; }
.header-logo-text { margin: 0; line-height: 1; }
.header-logo-text a { font-family: 'Caveat', 'Montserrat', cursive; font-size: 2.6rem; font-weight: 700; color: #8B6914; text-decoration: none; letter-spacing: 1px; }
.header-logo-text a:hover { color: #5a4410; }
.tagline { flex: 0 0 auto; }
.tagline p { margin: 0; font-family: 'Raleway', sans-serif; font-size: 0.85rem; color: #888; font-style: italic; letter-spacing: 2px; text-transform: uppercase; }

/* ---- NAVBAR ---- */
.header-row-3 { background: #fff; border-top: 1px solid #eee; }
.navbar.navbar-default { background: #fff; border: none; border-radius: 0; margin: 0; min-height: 0; }
.navbar-collapse { padding: 0; }
.navbar-default .navbar-nav { display: flex; align-items: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.navbar-default .navbar-nav > li > a { color: #555; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 15px 14px; display: block; transition: color 0.2s; }
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus { color: #8B6914; background: transparent; text-decoration: none; }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .current-menu-item > a,
.navbar-default .navbar-nav > .current_page_item > a { color: #8B6914; border-bottom: 3px solid #8B6914; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #e0d8c8; list-style: none; padding: 5px 0; min-width: 210px; z-index: 9999; box-shadow: 0 4px 12px rgba(0,0,0,.1); border-radius: 2px; }
.dropdown-menu li a { display: block; padding: 9px 18px; color: #555; font-size: 0.82rem; font-family: 'Montserrat', sans-serif; }
.dropdown-menu li a:hover { background: #f5f0e8; color: #8B6914; text-decoration: none; }
li.dropdown { position: relative; }
li.dropdown:hover .dropdown-menu { display: block; }
li.search a { padding: 15px 14px; color: #555; display: block; }
.main_search { min-width: 230px; padding: 10px; }
.main_search input.form-control { width: 100%; padding: 7px 10px; border: 1px solid #ddd; border-radius: 3px; font-size: 0.85rem; }
.navbar-header { display: none; }
.caret { display: inline-block; width: 0; height: 0; border-top: 4px solid; border-right: 4px solid transparent; border-left: 4px solid transparent; margin-left: 4px; vertical-align: middle; }

/* ---- ELEMENTOR LAYOUT ---- */
.elementor { width: 100%; }
.elementor-section { padding: 40px 0; }
.elementor-section-boxed > .elementor-container { max-width: 1140px; }
.elementor-container { margin-left: auto; margin-right: auto; padding: 0 15px; }
.elementor-row { display: flex; flex-wrap: wrap; width: 100%; }
.elementor-column { display: flex; flex-direction: column; min-height: 1px; position: relative; }
.elementor-col-100 { flex: 0 0 100%; max-width: 100%; }
.elementor-col-50  { flex: 0 0 50%;  max-width: 50%; }
.elementor-col-33  { flex: 0 0 33.333%; max-width: 33.333%; }
.elementor-col-66  { flex: 0 0 66.666%; max-width: 66.666%; }
.elementor-column-wrap { display: flex; flex-direction: column; width: 100%; }
.elementor-widget-wrap { position: relative; display: flex; flex-direction: column; }
.elementor-element-populated > .elementor-widget-wrap { padding: 10px; }
.elementor-widget { position: relative; width: 100%; margin-bottom: 20px; }
.elementor-widget-container { margin: 0; }

/* ---- HEADINGS ---- */
.elementor-heading-title { font-family: 'Montserrat', sans-serif; color: #333; margin: 0 0 20px; line-height: 1.3; }
.elementor-size-medium { font-size: 1.7rem; }
.elementor-size-large  { font-size: 2.2rem; }
.elementor-size-small  { font-size: 1.2rem; }
.elementor-heading-title::after { content: ''; display: block; width: 48px; height: 3px; background: #8B6914; margin-top: 8px; }

/* ---- TEXT ---- */
.elementor-text-editor { line-height: 1.75; }
.elementor-text-editor p { margin-bottom: 10px; }
.elementor-text-editor h3 { font-size: 1.1rem; font-family: 'Montserrat', sans-serif; margin: 4px 0; }
.elementor-text-editor a { color: #8B6914; }

/* ---- BUTTONS ---- */
.elementor-button-wrapper { display: flex; justify-content: center; }
.elementor-button-link,
.elementor-button { display: inline-block; padding: 12px 30px; background: #61a229; color: #fff !important; border-radius: 4px; text-decoration: none !important; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px; transition: background 0.2s; }
.elementor-button:hover,
.elementor-button-link:hover { background: #4e8221 !important; color: #fff !important; text-decoration: none !important; }
.elementor-button-content-wrapper { display: flex; align-items: center; gap: 8px; }

/* ---- ICONS ---- */
.elementor-icon-wrapper { text-align: center; padding: 5px; }
.elementor-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #8B6914; width: 50px; height: 50px; }
.elementor-icon a { color: #8B6914; }
.elementor-icon a:hover { color: #5a4410; text-decoration: none; }
.elementor-animation-shrink { transition: transform 0.2s; }
.elementor-animation-shrink:hover { transform: scale(0.9); }
.elementor-view-default .elementor-icon { background: transparent; }

/* ---- INNER SECTION CONTACT LAYOUT ---- */
.elementor-inner-section .elementor-row { align-items: center; }
.elementor-inner-column .elementor-column-wrap { align-items: center; justify-content: center; }

/* ---- IMAGE ---- */
.elementor-image { text-align: center; }
.elementor-image img { border-radius: 4px; width: 100%; height: auto; display: block; }

/* ---- CAROUSEL / SWIPER ---- */
.elementor-image-carousel-wrapper { position: relative; overflow: hidden; border-radius: 4px; }
.swiper-container { position: relative; overflow: hidden; }
.swiper-wrapper { display: flex; transition-property: transform; transition-timing-function: ease; box-sizing: content-box; }
.swiper-slide { flex-shrink: 0; width: 100%; position: relative; }
.swiper-slide-inner { display: block; margin: 0; overflow: hidden; }
.swiper-slide-image { width: 100%; height: 380px; object-fit: cover; display: block; }
.elementor-swiper-button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; cursor: pointer; color: #fff; background: rgba(0,0,0,.55); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: background 0.2s; }
.elementor-swiper-button:hover { background: rgba(139,105,20,.85); }
.elementor-swiper-button-prev { left: 8px; }
.elementor-swiper-button-next { right: 8px; }
.swiper-pagination { display: flex; justify-content: center; gap: 6px; padding: 14px 0 4px; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: #ccc; border-radius: 50%; cursor: pointer; display: inline-block; transition: background 0.2s; }
.swiper-pagination-bullet-active { background: #8B6914; }
.swiper-notification { position: absolute; left: -9999px; }

/* ---- GOOGLE MAP ---- */
.elementor-custom-embed { border-radius: 4px; overflow: hidden; }
.elementor-custom-embed iframe { width: 100%; height: 350px; border: 0; display: block; }

/* ---- SCREEN READER ---- */
.screen-reader-text,.elementor-screen-only,.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -100px; }

/* ---- FOOTER ---- */
.footer { background: #2d2d2d; color: #aaa; padding: 28px 20px; text-align: center; margin-top: 50px; }
.footer a { color: #f0c040; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-copyright { font-size: 0.83rem; margin: 5px 0; }
.credit { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }

/* ---- COOKIE BAR ---- */
#cookie-law-info-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 2px solid #8B6914; padding: 14px 20px; z-index: 99999; font-size: 0.84rem; box-shadow: 0 -3px 12px rgba(0,0,0,.1); }
.cli-bar-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: 1140px; margin: 0 auto; }
.cli-bar-message { flex: 1; color: #333; }
.cli-bar-btn_container { display: flex; gap: 8px; flex-shrink: 0; }
.cli-plugin-button { padding: 8px 16px; border-radius: 4px; cursor: pointer; font-size: 0.78rem; font-weight: 600; border: none; font-family: inherit; }
.cli_settings_button { background: #ddd; color: #333; }
.wt-cli-accept-all-btn { background: #61a229; color: #fff; }
.cli-modal { display: none; }
.cli-style-v2 { }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar-header { display: block; }
  .navbar-collapse { display: none; }
  .navbar-collapse.in { display: block; }
  .navbar-toggle { background: none; border: 1px solid #ddd; padding: 8px 10px; cursor: pointer; margin: 8px 0; border-radius: 3px; display: inline-block; }
  .navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; background: #555; margin: 5px 0; }
  .navbar-default .navbar-nav { flex-direction: column; }
  .navbar-default .navbar-nav > li { width: 100%; }
  .navbar-default .navbar-nav > li > a { padding: 10px 5px; border-bottom: 1px solid #f0ebe0; }
  .header-row-2 { flex-direction: column; text-align: center; }
  .elementor-col-50, .elementor-col-33, .elementor-col-66 { flex: 0 0 100%; max-width: 100%; }
  .swiper-slide-image { height: 240px; }
  .elementor-custom-embed iframe { height: 260px; }
  .cli-bar-container { flex-direction: column; }
}
@media (max-width: 480px) {
  .header-logo-text a { font-size: 2rem; }
  .elementor-size-medium { font-size: 1.4rem; }
}
