/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.3
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/*************** LYRA HOME · GLOBAL STRUCTURE ***************/
#top-bar{display:none!important}
#masthead{height:94px!important;background:#fff}
#masthead .header-inner{height:94px!important;max-width:1510px!important;padding:0 25px}
#logo{width:150px!important}
#logo img.header_logo,#logo img.header-logo-dark{content:url('https://lyra-home.com/wp-content/uploads/2026/09/lyra-home-logotipo.png');width:112px!important;max-height:60px!important;object-fit:contain}
.header-main .header-search,.header-main .header-divider,.header-main .element-error{display:none!important}
.header-main .flex-left{justify-content:center}
.header-nav.header-nav-main{gap:8px}
.header-nav.header-nav-main .nav-top-link{font-size:11px;font-weight:700;letter-spacing:.04em;color:#203343;padding:10px 13px}
.header-nav.header-nav-main .nav-top-link:hover{color:#77846a}
.header-main .top-divider{display:none}
.absolute-footer{padding:0!important;background:#fff!important;color:#203343!important}
.absolute-footer .container{max-width:1300px!important;padding:0 20px!important}
.lyra-footer-top{min-height:118px;display:flex;align-items:center;gap:30px;border-bottom:1px solid #e5e8e9;font-size:12px}
.lyra-footer-top img{width:112px;height:auto;margin-right:auto}
.lyra-footer-top a{color:#203343}
.lyra-footer-bottom{min-height:74px;display:flex;align-items:center;justify-content:space-between;color:#68717a;font-size:11px}
@media(max-width:849px){#masthead,#masthead .header-inner{height:74px!important}#logo{width:120px!important}#logo img.header_logo,#logo img.header-logo-dark{width:92px!important}.lyra-footer-top{padding:24px 0;flex-wrap:wrap;gap:14px}.lyra-footer-top img{width:100px;flex-basis:100%}.lyra-footer-bottom{padding:20px 0;display:block;line-height:2}}


/* Lyra Home - revision final Canva */
.mki-grow-home .hero h1,
.mki-grow-home .hero p,
.mki-grow-home .hero strong,
.mki-grow-home .lead-copy h2,
.mki-grow-home .lead-copy p,
.mki-grow-contact .hero h1,
.mki-grow-contact .hero h2,
.mki-grow-contact .hero p,
.mki-grow-contact .lead-copy h2,
.mki-grow-contact .lead-copy p {
  color: #fff !important;
}

.mki-grow-home .presentation-camera {
  width: 52% !important;
  max-width: 620px !important;
  height: auto !important;
}

.lyra-language-switcher {
  position: absolute;
  top: 34px;
  right: 26px;
  z-index: 1002;
  line-height: 1;
}
.admin-bar .lyra-language-switcher { top: 66px; }
.lyra-language-switcher .gtranslate_wrapper {
  display: flex !important;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.lyra-language-switcher .gtranslate_wrapper a {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.lyra-language-switcher .gtranslate_wrapper img {
  display: block !important;
  width: 24px !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
}
.header-main .header-inner { padding-right: 150px; }

.mobile-sidebar .header-newsletter-item,
.mobile-sidebar .newsletter,
.mobile-sidebar .social-icons,
.mobile-sidebar .header-social-icons,
.mobile-sidebar .html_topbar_left,
.mobile-sidebar .html_topbar_right {
  display: none !important;
}

@media (max-width: 849px) {
  .header-main .header-inner { padding-right: 128px; }
  .lyra-language-switcher { top: 27px; right: 58px; }
  .admin-bar .lyra-language-switcher { top: 73px; }
  .lyra-language-switcher .gtranslate_wrapper { gap: 6px; }
  .lyra-language-switcher .gtranslate_wrapper img { width: 21px !important; }
  .mki-grow-home .presentation-camera {
    width: 86% !important;
    max-width: 440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 430px) {
  .header-main .header-inner { padding-right: 112px; }
  .lyra-language-switcher { right: 52px; }
  .lyra-language-switcher .gtranslate_wrapper { gap: 4px; }
  .lyra-language-switcher .gtranslate_wrapper img { width: 18px !important; }
}

.lyra-language-switcher a[title="Spanish"] { order: -1; }
@media (min-width: 850px) {
  .header-main .nav > li > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: .8;
  }
}

/* Escala visual de la cámara Matterport según el Canva */
.mki-grow-home .presentation-camera {
  width: 190% !important;
  max-width: none !important;
  margin-left: -36% !important;
}
@media (max-width: 800px) {
  .mki-grow-home .presentation-camera { width: 145% !important; margin-left: -22% !important; }
}
@media (max-width: 600px) {
  .mki-grow-home .presentation-camera { width: 125% !important; max-width: none !important; margin: 12px 0 0 -12% !important; }
}

/* Cabecera móvil en dos niveles: navegación y selector de idiomas */
@media (max-width: 849px) {
  .header-main,
  .header-main .header-inner { height: 108px !important; }
  .header-main .header-inner { padding-left: 15px !important; padding-right: 15px !important; align-items: flex-start !important; padding-top: 16px !important; }
  .lyra-language-switcher {
    top: 72px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .admin-bar .lyra-language-switcher { top: 118px; }
  .lyra-language-switcher .gtranslate_wrapper { gap: 9px; }
  .lyra-language-switcher .gtranslate_wrapper img { width: 22px !important; }
}
@media (max-width: 430px) {
  .header-main,
  .header-main .header-inner { height: 104px !important; }
  .lyra-language-switcher { top: 68px; left: 50%; right: auto; }
  .admin-bar .lyra-language-switcher { top: 114px; }
}

@media (max-width: 849px) {
  #header,
  .header-wrapper,
  #masthead,
  .header-main { min-height: 108px !important; height: 108px !important; }
}
@media (max-width: 430px) {
  #header,
  .header-wrapper,
  #masthead,
  .header-main { min-height: 104px !important; height: 104px !important; }
}

.mobile-sidebar li:has(.element-error[title="WooCommerce needed"]),
.mobile-sidebar .element-error[title="WooCommerce needed"] {
  display: none !important;
}


/* Ficha de propiedad - galería contenida y responsive */
.mki-grow-property .wrap {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 24px 20px;
}
.mki-grow-property .property-heading {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin: 5px 0 25px;
}
.mki-grow-property .gallery {
  position: relative !important;
  z-index: 1;
  width: 100% !important;
  height: 395px !important;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 8px !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.mki-grow-property .gallery button {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #eee !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transform: none !important;
}
.mki-grow-property .gallery button:first-child {
  grid-row: span 2 !important;
  border-radius: 10px 0 0 10px !important;
}
.mki-grow-property .gallery button:nth-child(3) { border-radius: 0 10px 0 0 !important; }
.mki-grow-property .gallery button:last-child { border-radius: 0 0 10px !important; }
.mki-grow-property .gallery img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  transform: none;
}
.mki-grow-property .gallery button:hover img { transform: scale(1.03) !important; }
.mki-grow-property .more-photos {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 8px 0 20px auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #203343 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  transform: none !important;
}
@media (max-width: 800px) {
  .mki-grow-property .wrap { padding: 18px; }
  .mki-grow-property .gallery { height: 300px !important; }
  .mki-grow-property .property-heading { gap: 14px; }
}
@media (max-width: 600px) {
  .mki-grow-property .wrap { padding: 14px; }
  .mki-grow-property .property-heading { display: block; margin-bottom: 18px; }
  .mki-grow-property .price-actions { margin-top: 12px; text-align: left; }
  .mki-grow-property .gallery {
    height: 320px !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 2fr 1fr !important;
  }
  .mki-grow-property .gallery button:first-child {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
    border-radius: 10px 10px 0 0 !important;
  }
  .mki-grow-property .gallery button:nth-child(3) { border-radius: 0 0 10px !important; }
  .mki-grow-property .gallery button:nth-child(4),
  .mki-grow-property .gallery button:nth-child(5) { display: none !important; }
}

/* Lyra Home · revisión cliente 28-09-2026 */
#logo{width:185px!important}
#logo img.header_logo,#logo img.header-logo-dark{width:140px!important;max-height:72px!important}

.mki-grow-home .presentation-camera{width:228%!important;max-width:none!important;margin-left:-52%!important}
.mki-grow-home .service-grid article{padding:26px 22px!important}
.mki-grow-home .service-grid article .service-icon{display:flex!important;width:62px!important;height:62px!important;align-items:center!important;justify-content:center!important;margin-bottom:13px!important;border-radius:0!important;background:transparent!important;color:#203343!important}
.mki-grow-home .service-grid article .service-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.mki-grow-home .service-grid article .service-icon svg{width:54px!important;height:54px!important;fill:#203343!important}
.mki-grow-home .service-grid article .service-tagline{margin:7px 0 9px!important;color:#687761!important;font-size:13px!important;font-style:italic!important;font-weight:700!important;line-height:1.35!important}

.lyra-footer-top{min-height:145px!important;display:grid!important;grid-template-columns:180px minmax(280px,1fr) 285px!important;gap:42px!important;align-items:center!important;padding:24px 0!important}
.lyra-footer-top .lyra-footer-logo{display:block}
.lyra-footer-top .lyra-footer-logo img{width:138px!important;max-width:100%!important;margin:0!important}
.lyra-footer-contact{display:grid;gap:9px}
.lyra-footer-contact a{display:flex;align-items:center;gap:9px;font-size:12px;color:#203343!important}
.lyra-footer-social strong{display:block;margin-bottom:13px;font-size:13px;color:#203343}
.lyra-social-links{display:flex;gap:10px;align-items:center}
.lyra-social-links a,.lyra-social-links span{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #203343;border-radius:50%;color:#203343!important}
.lyra-social-links svg{width:17px;height:17px;fill:currentColor}
.lyra-social-links .pending{opacity:.55;cursor:default}

@media(max-width:849px){
 #logo{width:145px!important}
 #logo img.header_logo,#logo img.header-logo-dark{width:112px!important;max-height:62px!important}
 .mki-grow-home .presentation-camera{width:174%!important;margin-left:-35%!important}
 .lyra-footer-top{grid-template-columns:1fr!important;gap:20px!important;text-align:center!important;padding:32px 0!important}
 .lyra-footer-top .lyra-footer-logo{margin:auto}
 .lyra-footer-top .lyra-footer-logo img{width:125px!important}
 .lyra-footer-contact{justify-items:center}
 .lyra-footer-social{display:grid;justify-items:center}
}
@media(max-width:600px){.mki-grow-home .presentation-camera{width:150%!important;margin:12px 0 0 -25%!important}}


/* Lyra Home · ajuste footer ancho completo y cámara recortada */
.absolute-footer .container{width:100%!important;max-width:none!important;padding-left:clamp(28px,6vw,92px)!important;padding-right:clamp(28px,6vw,92px)!important}
.absolute-footer .footer-primary{float:none!important;width:100%!important;max-width:none!important}
.lyra-footer-top{width:100%!important;grid-template-columns:minmax(0,1fr) auto!important;gap:60px!important}
.lyra-footer-main{display:grid!important;grid-template-columns:180px minmax(280px,430px)!important;gap:42px!important;align-items:center!important;min-width:0}
.lyra-footer-social{justify-self:end!important;text-align:left!important}
.lyra-footer-bottom{width:100%!important}

.mki-grow-home .presentation{overflow:hidden!important}
.mki-grow-home .presentation-camera{width:auto!important;height:760px!important;max-width:none!important;margin:0 0 -80px 4%!important;justify-self:center!important;align-self:end!important;transform:none!important;transform-origin:50% 50%!important}

@media(max-width:849px){
 .absolute-footer .container{padding-left:24px!important;padding-right:24px!important}
 .lyra-footer-top{grid-template-columns:1fr!important;gap:24px!important}
 .lyra-footer-main{grid-template-columns:1fr!important;gap:18px!important;justify-items:center!important}
 .lyra-footer-social{justify-self:center!important;text-align:center!important}
 .lyra-footer-bottom{text-align:center!important}
 .mki-grow-home .presentation-camera{width:112%!important;height:auto!important;margin:18px 0 -20px -6%!important;justify-self:center!important}
}
@media(max-width:480px){.mki-grow-home .presentation-camera{width:118%!important;margin-left:-9%!important}}


/* Lyra Home · entrada de cámara con scroll y separación visual */
.mki-grow-home .presentation{
  min-height:840px!important;
  align-items:center!important;
  padding-top:50px!important;
  padding-bottom:70px!important;
  overflow:hidden!important;
}
.mki-grow-home .presentation>div{
  align-self:center!important;
  padding-top:0!important;
}
.mki-grow-home .presentation-camera{
  width:auto!important;
  height:720px!important;
  max-width:none!important;
  margin:0 0 0 4%!important;
  justify-self:center!important;
  align-self:center!important;
  transform:translate3d(var(--camera-shift,0px),0,0) rotate(var(--camera-tilt,0deg))!important;
  transform-origin:50% 52%!important;
  will-change:transform;
}
@media(max-width:849px){
  .mki-grow-home .presentation{
    min-height:0!important;
    padding-top:35px!important;
    padding-bottom:75px!important;
  }
  .mki-grow-home .presentation>div{align-self:center!important}
  .mki-grow-home .presentation-camera{
    width:108%!important;
    height:auto!important;
    margin:28px 0 0 -4%!important;
    justify-self:center!important;
    align-self:center!important;
  }
}
@media(max-width:480px){
  .mki-grow-home .presentation{padding-bottom:60px!important}
  .mki-grow-home .presentation-camera{width:112%!important;margin-left:-6%!important}
}
@media(prefers-reduced-motion:reduce){
  .mki-grow-home .presentation-camera{transform:none!important;will-change:auto}
}

/* Lyra Home · revisión cliente 05-10-2026 */
#logo{width:235px!important}
#logo img.header_logo,#logo img.header-logo-dark{width:182px!important;max-height:88px!important}
.mki-grow-home .service-grid article .service-icon{width:46px!important;height:46px!important}
.mki-grow-home .service-grid article .service-icon svg{width:42px!important;height:42px!important}
.lyra-footer-main{grid-template-columns:230px minmax(280px,430px)!important}
.lyra-footer-top .lyra-footer-logo img{width:207px!important}
@media(max-width:849px){#logo{width:188px!important}#logo img.header_logo,#logo img.header-logo-dark{width:146px!important;max-height:76px!important}.lyra-footer-main{grid-template-columns:1fr!important}.lyra-footer-top .lyra-footer-logo img{width:188px!important}}

/* Lyra Home · prioridad sobre la segunda carga del tema */
body #logo{width:235px!important}
body #logo img.header_logo,body #logo img.header-logo-dark{width:182px!important;max-height:88px!important}
body .mki-grow-home .service-grid article .service-icon{width:46px!important;height:46px!important}
body .mki-grow-home .service-grid article .service-icon svg{width:42px!important;height:42px!important}
body .lyra-footer-main{grid-template-columns:230px minmax(280px,430px)!important}
body .lyra-footer-top .lyra-footer-logo img{width:207px!important}
@media(max-width:849px){body #logo{width:188px!important}body #logo img.header_logo,body #logo img.header-logo-dark{width:146px!important;max-height:76px!important}body .lyra-footer-main{grid-template-columns:1fr!important}body .lyra-footer-top .lyra-footer-logo img{width:188px!important}}

/* Lyra Home · ajuste icono diagnóstico 05-10-2026 */
body .mki-grow-home .service-icon img[src$="/Lupa.png"]{
  transform:scale(.88)!important;
  transform-origin:center!important;
}

/* Lyra Home · revisión final cliente 06-10-2026 */
body .lyra-footer-contact{grid-template-columns:repeat(2,minmax(190px,1fr));gap:12px 24px}
body .lyra-footer-contact a,
body .lyra-footer-contact .lyra-footer-location{display:flex;align-items:center;gap:10px;min-width:0;color:#203343!important;font-size:12px}
body .lyra-footer-contact img.lyra-footer-icon{display:block;width:30px!important;height:30px!important;min-width:30px!important;margin:0!important;object-fit:contain!important;flex:0 0 30px!important}
@media(max-width:849px){body .lyra-footer-contact{grid-template-columns:1fr;justify-items:start!important}body .lyra-footer-contact a,body .lyra-footer-contact .lyra-footer-location{justify-content:flex-start;text-align:left}}
/* Ajustes finales Lyra Home · 06-10-2026
 * Se mantienen en el tema hijo para evitar la caché de la hoja del plugin.
 */
body .mki-grow-home .hero {
  background: linear-gradient(90deg, rgba(16, 28, 38, .48), rgba(16, 28, 38, .12)),
              url('https://lyra-home.com/wp-content/uploads/2026/10/lyra-home-nueva-cabecera.webp') center/cover no-repeat !important;
}

body .mki-grow-home .services #services-title {
  letter-spacing: .07em !important;
}

body .mki-grow-home .search-card button,
body .mki-grow-home .lead-form button {
  background: #203343 !important;
}

body .mki-grow-home .search-card button:hover,
body .mki-grow-home .lead-form button:hover {
  background: #142532 !important;
}