/* Correctifs modernisation — compatible thème Santorini */

:root {
  --cabanes-gold: #ca9138;
  --cabanes-gold-dark: #a87428;
}

/* --- Boutons CTA --- */
.cabanes-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pre-head-cta .cabanes-cta {
  justify-content: flex-start;
}

.cabanes-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border: 2px solid transparent;
  border-radius: 3px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.14s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.14s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cabanes-btn:hover {
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.14);
}

.cabanes-btn:active {
  transform: translateY(3px) scale(0.97);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  transition-duration: 0.06s;
}

.cabanes-btn--primary {
  background: #fff;
  color: #333 !important;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

.cabanes-btn--primary:hover {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
}

.cabanes-btn--primary:active {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.12);
}

.cabanes-btn--gift {
  background: var(--cabanes-gold);
  color: #fff !important;
  border-color: var(--cabanes-gold-dark);
  box-shadow: 0 3px 0 var(--cabanes-gold-dark);
}

.cabanes-btn--gift:hover {
  background: var(--cabanes-gold-dark);
  color: #fff !important;
  box-shadow: 0 5px 0 #8a5f1f;
}

.cabanes-btn--gift:active {
  box-shadow: 0 0 0 #8a5f1f;
}

/* Header : CTA dans la zone pre-head (remplace météo) */
#header .pre-head-cta {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.alt #header .cabanes-btn--primary {
  background: #fff;
  color: #333 !important;
  border-color: #ccc;
}

/* Accueil : rétablit le positionnement du thème (annule vieux CSS en cache) */
.page-template-template-homepage-1-php #slider {
  margin: 0 0 -230px 0 !important;
  top: -231px !important;
  position: relative !important;
}

.page-template-template-homepage-1-php #slider .slides > li {
  height: 850px;
}

.page-template-template-homepage-1-php .booking-wrap.cabanes-home-cta {
  display: block !important;
  visibility: visible !important;
  z-index: 15;
  position: relative;
  margin: -381px 0 0 0 !important;
  height: 168px;
  min-height: 168px;
  padding: 48px 15px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-template-template-homepage-1-php #main {
  margin-top: -230px !important;
  padding-top: 25px !important;
}

.page-template-template-homepage-1-php .home-hero {
  margin-bottom: 0;
  padding-bottom: 20px;
}

.page-template-template-homepage-1-php .widget-area-1 {
  margin-top: 0 !important;
}

.booking-wrap.cabanes-home-cta .cabanes-cta {
  justify-content: center;
  gap: 14px;
}

.booking-wrap.cabanes-home-cta .cabanes-btn {
  font-size: 15px;
  padding: 16px 34px;
  min-height: 52px;
  border-radius: 4px;
}

.booking-wrap.cabanes-home-cta .cabanes-btn .fa {
  font-size: 17px;
}

/* Accueil : pas de doublon réseaux dans le footer */
.page-template-template-homepage-1-php #footer .footer-extras .cabanes-social,
.page-template-template-homepage-2-php #footer .footer-extras .cabanes-social {
  display: none !important;
}

/* Footer : réseaux + liens légaux sous la nav d'origine */
#footer .footer-extras {
  clear: both;
  text-align: center;
  padding: 10px 0 25px;
  margin-top: 10px;
  border-top: 1px solid #eee;
}

.cabanes-social,
.cabanes-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin: 0 12px 8px;
  padding: 0;
  list-style: none;
  vertical-align: middle;
}

.cabanes-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cabanes-gold);
  color: #fff !important;
  font-size: 16px;
}

.cabanes-social a:hover {
  background: var(--cabanes-gold-dark);
  color: #fff !important;
}

.cabanes-legal a {
  font-size: 10px;
  text-transform: uppercase;
  color: #b4b4b4 !important;
  letter-spacing: 0.03em;
}

.cabanes-legal a:hover {
  color: #666 !important;
}

#footer .credits {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.65;
  font-size: 12px !important;
  color: #555 !important;
  margin-bottom: 24px;
}

#footer .credits a {
  color: #444 !important;
  text-decoration: underline;
}

#footer .credits a:hover {
  color: var(--cabanes-gold-dark) !important;
}

/* Bouton retour en haut (styles de secours — voir aussi inline dans cabanes-modern.php) */
#cabanes-back-to-top.cabanes-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 999999;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cabanes-gold);
  color: #fff !important;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#cabanes-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

#cabanes-back-to-top:hover,
#cabanes-back-to-top:focus-visible {
  background: var(--cabanes-gold-dark);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#cabanes-back-to-top:active {
  transform: translateY(3px) scale(0.92) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22) !important;
  transition-duration: 0.06s;
}

.cabanes-btt__arrow {
  display: block;
  line-height: 1;
}

/* Footer : logo centré entre les deux menus */
#footer .nav.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
}

#footer .nav .col-sm-5 {
  float: none;
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
}

#footer .nav .col-sm-5:first-child .navigation {
  text-align: left;
}

#footer .nav .col-sm-5:last-child .navigation {
  text-align: right;
}

#footer .navigation.left-nav {
  margin-left: 0;
}

#footer .navigation.right-nav {
  margin-right: 0;
}

#footer .nav .col-sm-2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  float: none;
  flex: none;
  width: auto;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

#footer .nav .logo {
  position: static;
  text-align: center;
  width: auto;
  margin: 0 auto;
  pointer-events: auto;
}

#footer .nav .logo a {
  display: block;
  margin: 0 auto;
}

#footer .nav .logo img {
  margin: 0 auto;
  display: block;
  float: none;
}

#footer .navigation {
  margin-top: 0;
}

@media only screen and (min-width: 992px) {
  #footer .nav.row {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    float: none;
    clear: both;
  }

  #footer .nav .col-sm-5,
  #footer .nav .col-sm-2 {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    position: static !important;
    transform: none !important;
    flex: none !important;
    pointer-events: auto;
  }

  #footer .nav .col-sm-5:first-child {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  #footer .nav .col-sm-2 {
    grid-column: 2;
    justify-self: center;
    margin: 0 auto;
  }

  #footer .nav .col-sm-5:last-child {
    grid-column: 3;
    justify-self: end;
    text-align: right;
  }
}

@media only screen and (max-width: 991px) {
  #footer .nav.row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px;
  }

  #footer .nav .col-sm-5 {
    display: none !important;
  }

  #footer .nav .col-sm-2 {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    flex: none !important;
    width: 100% !important;
    max-width: 220px !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: auto !important;
  }

  #footer .nav .logo {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    float: none !important;
  }

  #footer .nav .logo a {
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  #footer .nav .logo img {
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
    max-width: 180px;
    width: auto;
    height: auto;
  }
}

/* --- Accueil : grille 3 cabanes (ex-barre latérale) --- */
.cabanes-showcase {
  padding: 40px 0 35px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.cabanes-showcase__title {
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #5a5a5a;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.cabanes-showcase__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
  color: #777;
  font-size: 15px;
  line-height: 1.5;
}

.cabanes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cabanes-grid__item {
  margin: 0;
  padding: 0;
}

.cabane-card {
  margin: 0;
  height: 100%;
}

.cabane-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cabane-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--cabanes-gold);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cabane-card__link:hover,
.cabane-card__link:focus-visible {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
  text-decoration: none !important;
}

.cabane-card__link:hover::before,
.cabane-card__link:focus-visible::before {
  opacity: 1;
}

.cabane-card__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.cabane-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 65%
  );
  z-index: 2;
  pointer-events: none;
  transition: left 0.55s ease;
}

.cabane-card__link:hover .cabane-card__media::after,
.cabane-card__link:focus-visible .cabane-card__media::after {
  left: 130%;
}

.cabane-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.cabane-card__link:hover .cabane-card__media img,
.cabane-card__link:focus-visible .cabane-card__media img,
.cabane-card__link.is-pressed .cabane-card__media img,
.cabane-card__link:active .cabane-card__media img {
  transform: scale(1.12);
}

.cabane-card__body {
  padding: 16px 14px 18px;
  text-align: center;
  background: var(--cabanes-gold);
}

.cabane-card__title {
  margin: 0 0 6px;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff !important;
  line-height: 1.3;
}

.cabane-card__cta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
}

/* Contenu pleine largeur (plus de sidebar) */
.home-main .home-content {
  padding: 35px 0 20px;
}

.home-main .home-article {
  max-width: 920px;
  margin: 0 auto;
}

.home-main .cabanes-home-tagline {
  margin: 8px auto 24px;
  max-width: 760px;
  padding: 14px 20px;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cabanes-gold-dark);
  background: linear-gradient(180deg, rgba(202, 145, 56, 0.12), rgba(202, 145, 56, 0.04));
  border-left: 3px solid var(--cabanes-gold);
  border-right: 3px solid var(--cabanes-gold);
  border-radius: 4px;
}

.home-main .cabanes-home-tagline strong {
  font-weight: inherit;
}

.home-main .home-banner {
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.home-main .home-banner .widget-area-1,
.home-main .home-banner .textwidget,
.home-main .home-banner p {
  margin: 0;
  padding: 0;
}

.home-main .home-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s ease;
}

.home-main .home-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  z-index: 2;
  pointer-events: none;
  transition: left 0.65s ease;
}

.home-main .home-banner:hover img,
.home-main .home-banner:focus-within img {
  transform: scale(1.04);
}

.home-main .home-banner:hover::after,
.home-main .home-banner:focus-within::after {
  left: 120%;
}

.home-main .home-extras {
  margin-top: 24px;
  padding: 20px 0 10px;
  border-top: 1px solid #eee;
  text-align: center;
}

.home-extras-widgets {
  display: none !important;
}

.home-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.home-follow__label {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.home-follow .cabanes-social {
  margin: 0 auto 10px;
  gap: 14px;
  justify-content: center;
}

.home-follow__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}

.home-follow__hint a {
  color: #666 !important;
  text-decoration: none !important;
}

.home-follow__hint a:hover {
  color: var(--cabanes-gold-dark) !important;
}

.home-follow .cabanes-social a {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

/* Desktop : espace entre hero (boutons) et bannière */
@media only screen and (min-width: 992px) {
  .page-template-template-homepage-1-php #main.home-main {
    padding-top: 55px !important;
  }

  .page-template-template-homepage-1-php .home-main .home-banner {
    margin-top: 92px !important;
  }

  .page-template-template-homepage-1-php .home-hero {
    padding-bottom: 32px;
  }
}

/* Hero : CTA sur le slider (pas de barre grise séparée) */
.home-hero {
  position: relative;
}

/* Spinner du thème (= arc en forme de « C ») — inutile, 1re slide déjà visible */
#slider.flexslider.loading:after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

/* Galerie rapide : pas de loader bloquant, les images s'affichent progressivement */
.cabanes-fast-gallery {
  margin: 12px auto 28px;
  max-width: 100%;
}

.cabanes-fast-gallery__title {
  margin: 0 0 16px;
  color: #222;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  line-height: 1.35;
  text-align: center;
}

.cabanes-fast-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.cabanes-fast-gallery--cols-2 .cabanes-fast-gallery__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cabanes-fast-gallery--cols-3 .cabanes-fast-gallery__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cabanes-fast-gallery--cols-5 .cabanes-fast-gallery__grid,
.cabanes-fast-gallery--cols-6 .cabanes-fast-gallery__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cabanes-fast-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 150px;
  background: #f4f1ec;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.cabanes-fast-gallery__item img {
  display: block;
  width: 100%;
  height: 180px;
  margin: 0;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.cabanes-fast-gallery__item:hover img,
.cabanes-fast-gallery__item:focus img {
  transform: scale(1.04);
}

.cabanes-fast-gallery__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 10px 9px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cabanes-fast-gallery__item:hover .cabanes-fast-gallery__caption,
.cabanes-fast-gallery__item:focus .cabanes-fast-gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

@media only screen and (max-width: 991px) {
  .cabanes-fast-gallery__grid,
  .cabanes-fast-gallery--cols-3 .cabanes-fast-gallery__grid,
  .cabanes-fast-gallery--cols-4 .cabanes-fast-gallery__grid,
  .cabanes-fast-gallery--cols-5 .cabanes-fast-gallery__grid,
  .cabanes-fast-gallery--cols-6 .cabanes-fast-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cabanes-fast-gallery__item img {
    height: 150px;
  }
}

@media only screen and (max-width: 480px) {
  .cabanes-fast-gallery__grid {
    gap: 5px;
  }

  .cabanes-fast-gallery__item {
    min-height: 118px;
  }

  .cabanes-fast-gallery__item img {
    height: 118px;
  }

  .cabanes-fast-gallery__caption {
    display: none;
  }
}

/* Avis Google & carrousels : espaces réduits */
.home-content .ti-widget {
  margin: 16px auto !important;
  max-width: 100% !important;
}

.home-content a.ti-header.ti-header-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.home-content a.ti-header.ti-header-link:hover,
.home-content a.ti-header.ti-header-link:focus {
  opacity: 0.9;
  text-decoration: none !important;
}

.home-content .jcarousel-wrapper,
.home-content .wrapper {
  margin: 16px auto !important;
}

.home-content center {
  display: block;
  margin: 0;
  padding: 0;
}

.home-content .ti-widget + br,
.home-content center + br,
.home-content br + br {
  display: none;
}

.home-extras-widgets {
  display: block;
}

/* Accueil : CTA uniquement sur le slider (évite le doublon) */
.page-template-template-homepage-1-php #header .pre-head-cta {
  display: none;
}

/* Mobile */
@media only screen and (max-width: 991px) {
  #header .pre-head-cta {
    display: none;
  }

  #mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto !important;
    min-height: 0;
    padding: 6px 10px 8px;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
  }

  #page {
    padding-top: 62px !important;
  }

  #mobile-bar .menu-trigger {
    position: static;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    color: #333;
    top: auto;
    left: auto;
    font-size: 24px;
    line-height: 1;
  }

  #mobile-bar .menu-trigger .fa {
    font-size: 24px;
    line-height: 1;
  }

  #mobile-bar .mob-brand {
    flex: 1 1 auto;
    text-align: center;
    padding: 0;
  }

  #mobile-bar .mob-brand a {
    display: inline-block;
    text-decoration: none !important;
    padding: 0;
    line-height: 0;
  }

  #mobile-bar .mob-logo {
    width: 64px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  #mobile-bar .mob-title {
    font-size: 13px;
    color: #555;
  }

  #mobile-bar .mob-spacer {
    flex: 0 0 44px;
    width: 44px;
  }

  .home-hero {
    position: relative;
    margin-bottom: 12px;
    overflow: hidden;
  }

  .page-template-template-homepage-1-php .home-hero #slider,
  .home-hero #slider {
    margin: 0 !important;
    top: 0 !important;
    position: relative !important;
  }

  .page-template-template-homepage-1-php .home-hero #slider .slides > li,
  .home-hero #slider .slides > li {
    height: 52vh !important;
    min-height: 260px !important;
    max-height: 400px !important;
  }

  .home-hero .booking-wrap.cabanes-home-cta {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    top: 36% !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 58%;
    padding: 8px 14px 10px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%) !important;
    border: none !important;
    z-index: 12;
    box-sizing: border-box;
  }

  .home-hero .booking-wrap .container,
  .home-hero .booking-wrap .row,
  .home-hero .booking-wrap [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    margin: 0;
  }

  .home-hero .booking-wrap .cabanes-cta {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  .home-hero .booking-wrap .cabanes-btn + .cabanes-btn {
    margin-top: 0;
  }

  .home-hero .booking-wrap .cabanes-btn {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    padding: 13px 14px;
    font-size: 12px;
    min-height: 46px;
    justify-content: center;
  }

  .home-hero .booking-wrap .cabanes-btn .fa {
    font-size: 16px;
  }

  .page-template-template-homepage-1-php #main,
  .page-template-template-homepage-1-php #main.home-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .page-template-template-homepage-1-php .home-main > .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }

  .page-template-template-homepage-1-php .home-main > .container > .row {
    margin-left: 0;
    margin-right: 0;
  }

  .page-template-template-homepage-1-php .home-main > .container > .row > [class*="col-"] {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    float: none;
  }

  .home-main .home-banner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
  }

  .home-main .home-banner img,
  .home-main .home-banner a img,
  .home-main .home-banner .textwidget img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    display: block;
  }

  .home-main .home-banner center {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .cabanes-showcase {
    padding: 8px 0 20px;
  }

  .cabanes-showcase__title {
    margin-top: 0;
    margin-bottom: 8px;
  }

  .cabanes-showcase__lead {
    margin-bottom: 16px;
  }

  .cabanes-showcase > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .cabanes-showcase .col-lg-10 {
    width: 100%;
    margin-left: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .cabanes-showcase__title,
  .cabanes-showcase__lead {
    padding-left: 4px;
    padding-right: 4px;
  }

  .home-main .home-content,
  .home-main .home-extras {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-extras-widgets {
    display: none !important;
  }

  .home-main .home-extras {
    margin-top: 16px;
    padding: 16px 12px;
  }
}

@media only screen and (max-width: 991px) {
  .cabanes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .cabanes-showcase__title {
    font-size: 22px;
  }

  .cabane-card__link {
    border-left: none;
    border-right: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-main .home-banner img,
  .home-main .home-banner::after,
  .cabane-card__media img,
  .cabane-card__media::after,
  .cabane-card__link,
  .cabane-card__link::before,
  .cabanes-btn,
  #cabanes-back-to-top {
    transition: none !important;
    animation: none !important;
  }

  .home-main .home-banner:hover img,
  .cabane-card__link:hover .cabane-card__media img,
  .cabane-card__link.is-pressed .cabane-card__media img,
  .cabane-card__link:active .cabane-card__media img,
  .cabanes-btn:hover,
  .cabanes-btn:active,
  #cabanes-back-to-top:hover,
  #cabanes-back-to-top:active {
    transform: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .cabanes-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}

@media only screen and (max-width: 767px) {
  #footer .footer-extras {
    padding-bottom: 15px;
  }

  #footer .credits {
    font-size: 11px !important;
    color: #4a4a4a !important;
    padding: 0 12px;
  }

  .cabanes-social,
  .cabanes-legal {
    display: flex;
    width: 100%;
    margin: 0 0 12px;
  }

  #cabanes-back-to-top.cabanes-back-to-top,
  #cabanes-back-to-top.cabanes-back-to-top.is-visible {
    position: fixed !important;
    display: flex !important;
    right: 22px;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    font-size: 20px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
  }
}

@media only screen and (max-width: 991px) {
  #cabanes-back-to-top.cabanes-back-to-top,
  #cabanes-back-to-top.cabanes-back-to-top.is-visible {
    position: fixed !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    z-index: 999999 !important;
  }
}
