/* Complejo Los Sauces — institutional chrome overrides (config_custom_css) */

:root {
  --cls-pine: #16352a;
  --cls-pine-deep: #0c1f18;
  --cls-sea: #1f5f6b;
  --cls-dune: #b8956a;
  --cls-sand: #e6d7c0;
  --cls-foam: #f3efe6;
  --cls-ink: #171614;
  --cls-white: #fffcf7;
  --header-background-color: var(--cls-pine-deep);
  --top-background-color: var(--cls-pine-deep);
  --headbar-background-color: var(--cls-pine-deep);
  --header-text-color: var(--cls-white);
  --menu-backcolor: var(--cls-pine-deep);
  --menu-color: var(--cls-white);
  --menu-selcolor: var(--cls-sand);
  --menu-selbackcolor: rgba(255, 252, 247, 0.08);
  --menu-bordercolor: rgba(255, 252, 247, 0.12);
  --menu-submenu-background: #0c1f18;
  --menu-submenu-shadow: none;
  --menu-submenu-borderleft: 4px solid rgba(184, 149, 106, 0.45);
  --footer-backcolor: var(--cls-pine-deep);
  --footer-color: var(--cls-foam);
  --footer-colorhover: var(--cls-dune);
  --powered-backcolor: #081610;
  --powered-color: #8a9a94;
  --body-backcolor: var(--cls-foam);
  --links-color: var(--cls-sea);
  --links-hover-color: var(--cls-pine);
  --logo-max-width: 320px;
  --logo-max-height: 56px;
  --logo-menu-max-width: 280px;
  --logo-menu-max-height: 48px;
}

html {
  font-size: 16px !important;
}

body,
#content,
#common-home,
#information-information {
  background-color: var(--cls-foam) !important;
  color: var(--cls-ink);
  font-size: 1rem;
}

body {
  overflow-x: hidden;
}

/* Header shell */
#top,
header,
#menu,
#menu .navbar,
.navbar-header,
.header_fixed_nav {
  background: var(--cls-pine-deep) !important;
  background-color: var(--cls-pine-deep) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(12, 31, 24, 0.18);
}

#top a,
#menu a,
.header_fixed_nav a {
  color: var(--cls-white) !important;
}

#menu .nav > li > a:hover,
#menu .nav > li.active > a {
  color: var(--cls-sand) !important;
}

/* Mobile slide-out menu: keep pine theme (theme default is white) */
#menu .navbar-collapse,
#menu.menu-hamburger .navbar-collapse,
#menu .menu-mobile-header,
#menu.menu-hamburger .menu-mobile-header {
  background: var(--cls-pine-deep) !important;
  background-color: var(--cls-pine-deep) !important;
  color: var(--cls-white) !important;
  border-color: transparent !important;
}

#menu .navbar-nav > li > a,
#menu .navbar-nav > li > a span,
#menu .dropdown-inner a,
#menu .see-all {
  color: var(--cls-white) !important;
}

#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > li > a:focus,
#menu .navbar-nav > li.open > a,
#menu .dropdown-inner a:hover {
  color: var(--cls-sand) !important;
  background: rgba(255, 252, 247, 0.08) !important;
}

#menu .dropdown-menu,
#menu .dropdown-inner,
#menu .dropdown-inner ul {
  background: var(--cls-pine) !important;
  background-color: var(--cls-pine) !important;
  border-color: rgba(255, 252, 247, 0.12) !important;
  box-shadow: none !important;
}

#menu .menu-mobile-header button {
  background: rgba(255, 252, 247, 0.1) !important;
  border: 1px solid rgba(255, 252, 247, 0.2) !important;
  color: var(--cls-white) !important;
}

#menu .menu-mobile-header button:hover {
  border-color: var(--cls-sand) !important;
  background: rgba(255, 252, 247, 0.16) !important;
}

#menu .menu-mobile-header button svg,
#menu .menu-mobile-header button path {
  fill: var(--cls-white) !important;
  color: var(--cls-white) !important;
}

.header-button.menu-button,
.menu-button {
  color: var(--cls-white) !important;
}

.header-button.menu-button svg,
.header-button.menu-button path,
.menu-button svg,
.menu-button path {
  fill: var(--cls-white) !important;
  stroke: var(--cls-white) !important;
}

#menu .menu-background,
#menu.menu-hamburger .menu-background {
  background-color: rgba(8, 22, 16, 0.55) !important;
}

/* Hide ecommerce chrome leftovers */
#cart-container,
#cart,
#button-cart-toggle,
.header-cart-button,
.header-search,
.search-container,
.mobile-search-row,
.mobile-search-container,
.modal_search,
#catalog-question-modal,
.header-account-button,
.currency,
.language {
  display: none !important;
}

/* Full-bleed content, no shop gutters / slider side margins */
#common-home.container-fluid,
#information-information.container-fluid,
#common-home,
#information-information {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

#common-home > .row,
#information-information > .row {
  margin: 0 !important;
}

#common-home #content,
#information-information #content {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#common-home #content > div,
#information-information #content > div {
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#information-information > .breadcrumb,
#information-information > .row > #content > h1,
#common-home .breadcrumb {
  display: none !important;
}

/* Slim institutional footer */
footer .box.shipping,
footer .box.shipping-methods,
footer .box.payment-methods,
footer .box.account,
footer .box.extra,
footer .box.contact .fa,
footer img.icon,
footer .subscribe,
footer #subscribe,
footer .subscription-container,
.show_subscribe_panel {
  display: none !important;
}

footer .box.information li a[href*="sitemap"],
footer .box.information li a[href*="return"],
footer .box.information li a[href*="voucher"],
footer .box.information li a[href*="affiliate"],
footer .box.information li a[href*="information/sitemap"],
footer .box.contact a[href*="newsletter"],
footer .box.contact a[href*="information/contact"],
footer .box.information li:has(a[href*="sitemap"]),
footer .box.information li:has(a[href*="return"]),
footer .box.contact li:has(a[href*="newsletter"]),
footer .box.contact li:has(a[href*="account/newsletter"]),
footer .box.contact li:has(a[href*="information/contact"]) {
  display: none !important;
}

/* Hide empty Information box if no visible links remain */
footer .box.information:not(:has(li:not([style*="display: none"]))) {
  display: none !important;
}

footer {
  background: var(--cls-pine-deep) !important;
  color: var(--cls-foam) !important;
  border-top: 1px solid rgba(255, 252, 247, 0.08);
  padding-top: 2.25rem;
  padding-bottom: 0.5rem;
}

footer a {
  color: var(--cls-sand) !important;
}

footer .powered {
  background: #081610 !important;
  color: #8a9a94 !important;
}

footer .powered a {
  opacity: 0.85;
}

/* Sticky header: compact on scroll */
#top.header_fixed_nav {
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

#top .container-fluid {
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#logo img {
  max-height: 52px !important;
  width: auto !important;
  max-width: 320px !important;
  transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#menu .nav > li > a {
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.28s ease;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
}

body.cls-header-slim #top.header_fixed_nav {
  box-shadow: 0 4px 14px rgba(12, 31, 24, 0.28) !important;
}

body.cls-header-slim #top .container-fluid {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

body.cls-header-slim #logo img {
  max-height: 42px !important;
  max-width: 240px !important;
}

body.cls-header-slim #menu .nav > li > a {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-size: 1rem !important;
}

body.cls-header-slim .header-button.menu-button {
  transform: none;
}

/* Softer logo text fallback */
#logo h1 a {
  font-family: "Newsreader", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: 1.35rem !important;
  color: var(--cls-white) !important;
  text-decoration: none !important;
}

/* Branded preloader — Complejo Los Sauces */
.preloader {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(61, 138, 152, 0.28), transparent 55%),
    linear-gradient(160deg, #0c1f18 0%, #16352a 48%, #1f5f6b 100%) !important;
  flex-direction: column;
  gap: 0;
}

.preloader img.cls-preloader__logo {
  position: static !important;
  width: min(240px, 62vw) !important;
  height: auto !important;
  margin: 0 !important;
  top: auto !important;
  left: auto !important;
  filter: none !important;
  animation: none !important;
  -webkit-animation: none !important;
}

.cls-preloader {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.5rem;
  text-align: center;
  color: #fffcf7;
}

.cls-preloader__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.22), transparent 68%);
  pointer-events: none;
  animation: cls-preloader-pulse 2.4s ease-in-out infinite;
}

.cls-preloader__mark {
  position: relative;
  width: 72px;
  height: 72px;
  color: #e6d7c0;
}

.cls-preloader__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cls-preloader__stroke {
  fill: none;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: cls-preloader-draw 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cls-preloader__stroke--1 { animation-delay: 0.05s; }
.cls-preloader__stroke--2 { animation-delay: 0.15s; }
.cls-preloader__stroke--3 { animation-delay: 0.22s; }
.cls-preloader__stroke--4 { animation-delay: 0.3s; }
.cls-preloader__stroke--5 { animation-delay: 0.38s; }
.cls-preloader__stroke--6 { animation-delay: 0.48s; }

.cls-preloader__logo {
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  animation: cls-preloader-fade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.cls-preloader__place {
  position: relative;
  margin: 0;
  font-family: "Figtree", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e6d7c0;
  opacity: 0;
  animation: cls-preloader-fade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

.cls-preloader__bar {
  position: relative;
  width: min(180px, 48vw);
  height: 2px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.14);
  overflow: hidden;
  opacity: 0;
  animation: cls-preloader-fade 0.5s ease 0.9s forwards;
}

.cls-preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8956a, #e6d7c0, #3d8a98);
  animation: cls-preloader-bar 1.15s ease-in-out infinite;
}

@keyframes cls-preloader-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes cls-preloader-fade {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cls-preloader-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes cls-preloader-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
  .cls-preloader__glow,
  .cls-preloader__stroke,
  .cls-preloader__logo,
  .cls-preloader__place,
  .cls-preloader__bar,
  .cls-preloader__bar span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* Legacy single-number float. The picker replaces it. */
a.cls-wa {
  display: none !important;
}

.cls-wa-dock {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  font-family: "Figtree", "Helvetica Neue", sans-serif;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cls-wa-dock.is-in {
  opacity: 1;
  transform: none;
}

.cls-wa-panel {
  width: min(20.5rem, calc(100vw - 2.4rem));
  background: #fffcf7;
  color: #171614;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(12, 31, 24, 0.28);
  overflow: hidden;
}

.cls-wa-panel[hidden] {
  display: none !important;
}

.cls-wa-panel__head {
  background: #0c1f18;
  color: #f3efe6;
  padding: 0.95rem 1rem 0.85rem;
}

.cls-wa-panel__title {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
  color: #fffcf7;
}

.cls-wa-panel__lead {
  margin: 0.28rem 0 0;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: #e6d7c0;
}

.cls-wa-panel ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
}

.cls-wa-panel li {
  margin: 0;
}

.cls-wa-panel a {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.72rem 0.8rem;
  border-radius: 4px;
  text-decoration: none !important;
  color: #16352a !important;
}

.cls-wa-panel a:hover,
.cls-wa-panel a:focus {
  background: #e6d7c0;
  color: #0c1f18 !important;
  outline: none;
}

.cls-wa-panel__name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.cls-wa-panel__phone {
  font-size: 0.92rem;
  color: #5c635f;
  line-height: 1.3;
}

.cls-wa-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  margin: 0;
  padding: 0.55rem 1.25rem 0.55rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(18, 140, 70, 0.45);
}

.cls-wa-fab:hover,
.cls-wa-fab:focus {
  background: #1ebe57;
  color: #fff;
  outline: none;
}

.cls-wa-fab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.cls-wa-fab__icon svg {
  width: 1.7rem;
  height: 1.7rem;
  display: block;
  fill: #fff;
}

footer .box.contact li.cls-footer-tel-retired {
  display: none !important;
}

footer .box.contact li.cls-footer-wa,
footer .box.contact li.cls-footer-wa:before,
footer .box.contact li.cls-footer-wa:hover:before {
  position: static;
  background: none;
  opacity: 1;
}

footer .box.contact li.cls-footer-wa a[href*="wa.me"] {
  display: inline-flex !important;
  align-items: flex-start;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  margin: 0.45rem 0;
  padding: 0;
  background: none !important;
  border-radius: 0;
  box-shadow: none !important;
  color: var(--cls-sand) !important;
  overflow: visible;
  position: static;
  transform: none !important;
}

footer .box.contact li.cls-footer-wa a[href*="wa.me"]:before,
footer .box.contact li.cls-footer-wa a[href*="wa.me"]:hover:before {
  display: none !important;
}

footer .box.contact li.cls-footer-wa a[href*="wa.me"]:hover,
footer .box.contact li.cls-footer-wa a[href*="wa.me"]:focus {
  background: none !important;
  box-shadow: none !important;
  color: var(--cls-foam) !important;
  transform: none !important;
}

footer .box.contact li.cls-footer-wa svg {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  flex: 0 0 16px;
  fill: currentColor !important;
  filter: none !important;
  animation: none !important;
}

footer .box.contact li.cls-footer-wa a span {
  min-width: 0;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: none;
  white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
  .cls-wa-dock {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}