/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 2.0
Description: Tema hijo profesional para Arreglos de Ropa Alba
Author: Alberto Tamayo
*/

/* === TIPOGRAFÍA PRINCIPAL === */
h1,h2,h3{
  font-family:'Segoe UI',Tahoma,Verdana,sans-serif;
  font-weight:700;
  line-height:1.25;
  margin:1.5rem 0 1rem;
  color:#1a202c;
  text-align:center;
}
h1{font-size:2.4rem;letter-spacing:-.02em;border-bottom:2px solid #ed6c2a;padding-bottom:.25rem}
h2{
  font-size:2rem;
  color:#2c3e50;
  padding-left:0;       /* sin barra ni sangría */
  border-left:none;
}

h3{
  font-size:1.4rem;
  color:#34495e;
  margin-top:0.25rem;
  padding-top:0.25rem;
  padding-left:0;
  border-left:none;
  position:static;
}

h3::before{
  content:none;
}

@media (max-width:768px){
  h1{
    font-size:1.6rem;
    line-height:1.3;
    margin:0.8rem 0 0.6rem;
  }
  h2{
    font-size:1.3rem;
    line-height:1.35;
    margin:0.7rem 0 0.5rem;
  }
  h3{
    font-size:1.1rem;
    line-height:1.4;
    margin:0.6rem 0 0.4rem;
  }
}

/* === LAYOUT CENTRAL === */
.site-content{
  max-width:1360px;
  margin:0 auto;
  display:flex;
  gap:24px;
}
.left-space{flex-grow:1}
.content-area{width:1000px;flex-shrink:0}
.adsense-container{width:320px;flex-shrink:0}

/* === GENERATEPRESS FIXES === */
.inside-article,
#site-navigation{
    max-width:1200px;
    margin:0 auto;
}

.site-footer{
    clear:both;
    width:100%;
}


/* === MOSTRAR H1 EN PÁGINAS === */
.page .entry-title{
  display:block !important;
  visibility:visible !important;
}

/* === FOOTER CONSOLIDADO (existente) === */
.footer-arreglos{width:100%;background:#23272b;color:#ffffff;padding:40px 0 0;margin:40px 0 0;clear:both}
.footer-content-limit{max-width:1200px;margin:0 auto;padding:0 20px}
.footer-main{display:flex;flex-wrap:wrap;gap:30px;justify-content:space-between;margin-bottom:30px}
.footer-column{flex:1 1 250px;min-width:200px}
.footer-title{color:#ed6c2a !important;font-size:1.2rem !important;margin-bottom:15px !important;border-left:4px solid #d35400;padding-left:10px}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{padding:5px 0;color:#cccccc}
.footer-links a{color:#ffffff;text-decoration:none}
.contact-line,.schedule-line{margin:8px 0;color:#cccccc}
.cta-button{display:inline-block;background:#25D366;color:#ffffff !important;padding:12px 20px;border-radius:5px;text-decoration:none;font-weight:600;margin-top:15px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:20px 0;flex-wrap:wrap;border-top:1px solid #404040}
.footer-legal{display:flex;list-style:none;gap:15px;margin:0;padding:0}
.footer-legal a{color:#9ad2ff;text-decoration:none}

/* === NUEVO: Footer a ancho completo + 5 columnas === */
/* Contenedor principal del footer ocupa 100% del viewport y usa Grid */
.footer-main.footer-full{
  width:100%;
  padding:40px 24px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(1,minmax(0,1fr));
  gap:24px;
}
/* Breakpoints: 2 cols (≥640px), 3 cols (≥900px), 5 cols (≥1200px) */
@media (min-width:640px){
  .footer-main.footer-full{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px){
  .footer-main.footer-full{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1200px){
  .footer-main.footer-full{grid-template-columns:repeat(5,minmax(0,1fr))}
}
/* Afinado visual */
.footer-locations .footer-links{margin:0;padding-left:18px}
.footer-title{color:#ff7f32;margin:0 0 12px;font-weight:700}

/* Mantén la franja inferior con ancho limitado si lo deseas */
.footer-bottom.footer-content-limit{
  max-width:1200px;
  margin:0 auto;
  padding:16px 24px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

/* === CONTACT BOX === */
.contact-box{padding:24px;background:#25D366;border-radius:12px;box-shadow:0 6px 20px rgba(37,211,102,.4);color:#fff;max-width:600px;margin:20px auto;text-align:center;cursor:pointer;transition:background .3s ease}
.contact-box:hover{background:#1ebe57}
.contact-box h3{font-size:1.3rem;font-weight:700;margin:0 0 14px}
.contact-box p{margin:0}
.contact-box .phone{font-size:1.4rem;font-weight:700;margin:0 0 16px}
.contact-box .desc{font-size:1rem;color:#e0f3e9}

/* === SEO CREDIT === */
.seo-credit.footer-content-limit{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#111111 !important;padding:20px 15px !important;color:#e5e5e5 !important;font-size:14px !important;gap:12px !important;border-top:1px solid #333333}
.seo-credit.footer-content-limit a{background-color:#0077b5 !important;color:#ffffff !important;padding:8px 16px !important;border-radius:4px !important;text-decoration:none !important;font-weight:700 !important;white-space:nowrap !important;transition:background-color 0.3s ease !important}
.seo-credit.footer-content-limit a:hover{background-color:#005082 !important}

/* === MEDIA-BOX: imagen centrada en desktop y full-width en mobile (<=600 px) === */
.media-box-wrapper{width:100%;display:flex;justify-content:center;align-items:center;padding:1rem}.media-box{max-width:320px;width:100%;margin:0;text-align:center}.media-box img{width:100%;height:auto;display:block;margin:0 auto}@media(max-width:600px){.media-box-wrapper{padding:.5rem}.media-box{max-width:100%}}

/* === TAPIZ GLOBAL (intensidad de puntos regulable) === */
body,
.site-content,
.entry-content,
.inside-header,
.main-navigation,
.nap{
  background-color:#f1ebda !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23594b24' fill-opacity='0.38' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat:repeat !important;
  background-attachment:fixed !important;
}
/* === EXCEPCIÓN ===
   Deja el footer con su fondo original; no se toca */

/* === RESPONSIVE ≤1200px === */
@media(max-width:1200px){
  .site-content{flex-direction:column}
  .left-space{display:none}
  .content-area,.adsense-container{width:100%}
}

/* === ENTRY-CONTENT: ancho legible y márgenes uniformes === */
.entry-content{max-width:900px;margin:0 auto;}
.entry-content p{margin:1em 0;line-height:1.6;}

/* === RESPONSIVE ≤768px === */
@media(max-width:768px){
  h1{font-size:1.4rem;margin:1rem 0}
  h2{font-size:1.2rem;margin:.9rem 0}
  h3{font-size:1rem;margin:.7rem 0}
  body{font-size:16px;line-height:1.5}
  .site-content,.content-area{width:100%;padding:0 15px;box-sizing:border-box}
  img,iframe,video{max-width:100%;height:auto}
  p,h1,h2,h3{word-break:break-word;margin:10px 0}
  .whatsapp-fixed{width:50px;height:50px;bottom:20px;right:15px}
  .whatsapp-fixed img{width:32px;height:32px}
  .footer-main{flex-direction:column}
  .footer-column{width:100%}
  .footer-bottom{flex-direction:column;gap:15px;text-align:center}
  .contact-box{padding:16px;max-width:90vw;margin:15px auto}
  .contact-box h3{font-size:1.1rem;margin-bottom:10px}
  .contact-box .phone{font-size:1.2rem;margin-bottom:14px}
  .contact-box .desc{font-size:.9rem}
}

/* Color unificado para encabezados */
h1, h2, h3 { color:#594b24 !important; }

/* === Tapiz en #contact-nap === */
#contact-nap{
  background-color:#f1ebda !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23594b24' fill-opacity='0.38' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat:repeat !important;
  background-attachment:fixed !important;
}

/* === Tapiz para cajas de servicio === */
.div-tapiz{background-color:#f8f9fa!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23594b24' fill-opacity='0.38' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E")!important;background-repeat:repeat!important;background-attachment:fixed!important;border-radius:8px!important;padding:16px!important;margin-bottom:24px!important}

.servicios-wrapper{margin:0 auto}
.servicio-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}.servicio-top h3{margin:0;font-size:20px;font-weight:700}.emoji{font-size:24px}

/* CTA verde WhatsApp */
.cta-box{background:#e8f5e8;border-left:4px solid #25D366;border-radius:8px;padding:20px;margin:30px 0;text-align:center}
.cta-box h4{margin:0 0 12px;color:#2c5282;font-size:1.2rem}
.cta-box p{margin:0 0 16px;color:#333;line-height:1.5}
.cta-box a{background:#25D366;color:#fff;padding:12px 24px;border-radius:6px;font-weight:600;font-size:1.1rem;text-decoration:none;display:inline-block}

/* CTA verde WhatsApp — versión estable */
.cta-box{
  background:#e8f5e8;
  border-left:4px solid #25D366;
  border-radius:8px;
  padding:20px;
  margin:30px 0;
  text-align:center
}
.cta-box h4{margin:0 0 12px;color:#2c5282;font-size:1.2rem}
.cta-box p{margin:0 0 16px;color:#333;line-height:1.5}
.cta-box a{background:#25D366;color:#fff;padding:12px 24px;border-radius:6px;font-weight:600;font-size:1.1rem;text-decoration:none;display:inline-block}

.site-content{
  max-width:1360px;
  width:100%;
  margin:0 auto;
  display:flex;
  gap:24px;
  padding:0 15px;
  box-sizing:border-box;
}
.content-area{
  max-width:1000px;
  width:100%;
  margin:0 auto;
  padding:0 15px;
  box-sizing:border-box;
}

.entry-content{max-width:none!important;width:100%!important}

@media (min-width:1200px){
  .site-content,
  .inside-article,
  .page-header,
  .content-area{
    padding-left:0!important;
    padding-right:0!important;
  }
}

/* HACER MÁS ANCHO EL PIE DE FOTO QUE LA FOTO */
.media-box{display:flex;flex-direction:column;align-items:center}
.media-box img{height:auto;max-width:100%}

/* Aumenta especificidad para sobreescribir GeneratePress */
body .entry-content p,
body .entry-content div p {
  line-height: 1.4 !important;
  margin-bottom: 0.8em !important;
}

/* CSS BOTÓN WHATSAPP ESTILIZADO PÁGINA DE INICIO */
.whatsapp-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 64px;border-radius:40px;background:linear-gradient(135deg,#25D366,#128C7E);color:#fff;font-size:1.1rem;font-weight:700;text-decoration:none;box-shadow:0 4px 15px rgba(18,140,126,.4);transition:background .3s ease,box-shadow .3s ease;cursor:pointer;user-select:none;height:60px;max-width:360px;width:90%;margin:0 auto}.whatsapp-button:hover,.whatsapp-button:focus{background:linear-gradient(135deg,#1ac654,#0d6b56);box-shadow:0 6px 20px rgba(18,140,126,.6);outline:none}.whatsapp-icon{font-size:1.4rem;line-height:1}@media(max-width:480px){.whatsapp-button{font-size:1rem;padding:12px 40px;height:56px}}

/* === MÓVIL RESPONSIVE FIX === */
@media (max-width: 768px) {
  .site-content{display:block !important;padding:0 15px !important;max-width:100% !important}
  .left-space{display:none !important}
  .content-area{width:100% !important;max-width:100% !important;margin:0 !important;padding:0 !important}
  .adsense-container{width:100% !important;margin-top:20px}
  html, body{overflow-x:hidden !important}
  h1, h2, .section-title{word-wrap: break-word !important;hyphens: auto !important}
}

/* Logo más pequeño en móvil - ESPECIFICIDAD ALTA */
@media (max-width: 768px) {
  /* Selectores múltiples para cubrir todas las variantes de GP */
  .site-header .site-logo img,
  .site-header .header-image img,
  .site-header .custom-logo,
  .inside-header .site-logo img,
  .inside-header .header-image img,
  .navigation-branding .site-logo img,
  .navigation-branding img,
  #site-logo img,
  .site-branding img {
    max-width: 80px !important;
    width: 80px !important;
    height: auto !important;
  }
}

/* === MENÚ MÓVIL COMPACTO (REFORZADO) === */
@media (max-width: 768px) {
    /* Fuerza altura compacta en items principales */
    .main-navigation.toggled .main-nav ul li a {
        line-height: 1.5 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        min-height: auto !important; /* Clave: rompe la herencia de altura mínima */
    }

    /* Ajuste específico para submenús si los hubiera */
    .main-navigation.toggled .main-nav .sub-menu li a {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        font-size: 0.95rem !important;
    }
    
    /* Elimina márgenes extraños entre elementos */
    .main-navigation.toggled .main-nav li {
        margin-bottom: 0 !important;
    }
}


.entry-title {line-height: 1.2;text-align: center}

/* FUERZA SIDEBAR TEMPORAL */
@media (min-width: 769px) {
  .content-area{width: calc(100% - 320px) !important;float: left !important}
  .widget-area{width: 320px !important;float: right !important;display: block !important;background: #f5f5f5 !important;padding: 20px !important;box-sizing: border-box !important}
  .site-content{display: block !important}
}

/* BOTÓN WHATSAPP PROFESIONAL */
.whatsapp-fixed{position:fixed;bottom:60px!important;right:5px!important;z-index:999999;background:#25D366;border-radius:50%;width:60px;height:60px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px rgba(37,211,102,.4);transition:all .3s ease}.whatsapp-fixed:hover{transform:scale(1.1);box-shadow:0 6px 20px rgba(37,211,102,.6);background:#128C7E}.whatsapp-fixed a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;text-decoration:none;font-size:28px;color:#fff}@media (max-width:768px){.whatsapp-fixed{width:55px;height:55px;bottom:600px!important;right:3px!important}.whatsapp-fixed a{font-size:24px}}

/* Skyscraper fijo en sidebar */
#ads-sidebar-desktop{position:fixed;top:180px;right:0;width:160px;height:600px;z-index:5}

/* Cabecera por encima */
header,nav,#main-menu{position:sticky;top:0;z-index:9999}

/* Oculta el contenedor en ≤767 px */
@media(max-width:767px){#ads-sidebar-desktop{display:none}}

/* Borra espaciado fantasma bajo footer en móvil */
@media(max-width:767px){
  footer{margin-bottom:0;padding-bottom:0}
  body{overflow-x:hidden}
}

/* COMENTADO: Fondo blanco que ocultaba el tapiz */
#hc,.inside-header,.main-header-bar,.main-header-menu,.main-navigation,.site-header,header#masthead{background:transparent!important}#hc{background-color:#f1ebda!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23594b24' fill-opacity='0.38' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E")!important;background-repeat:repeat!important;background-attachment:fixed!important}.main-navigation .sub-menu,.main-navigation ul ul{background:#fff!important}



/* IMPORTANTE CONTROL ANCHURA DEL CONTENIDO PRINCIPAL */
.site-content{display:flex;gap:24px;max-width:1360px;margin:0 auto;width:100%;box-sizing:border-box;padding:0 15px}
.content-area{width:calc(100% - 320px);max-width:none;margin:0;padding:0 15px;box-sizing:border-box}
.widget-area{width:320px;float:right;display:block;background:#f5f5f5;padding:20px;box-sizing:border-box}
@media(max-width:768px){
  .site-content{display:block!important;padding:0 15px!important;max-width:100%!important}
  .content-area{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
  .widget-area{width:100%!important;margin-top:20px;float:none!important}
}

/* FORMATO PARA EL BLOQUE DE PREGUNTAS FRECUENTES EN HTML */
summary{list-style:none;cursor:pointer;font-weight:600;position:relative;padding-left:1.8em}summary::-webkit-details-marker{display:none}summary::marker{content:""}summary::before{content:"+";position:absolute;left:0;top:50%;transform:translateY(-50%);font-size:1.8em;font-weight:900;color:#d32f2f;text-shadow:0 0 3px #fff;transition:color .3s ease}details[open]>summary::before{content:"-";color:#388e3c;text-shadow:0 0 3px #fff}details{border:1px solid #ccc;border-radius:5px;margin-bottom:1em;padding:.5em;background:#f9f9f9}summary{margin-bottom:.5em}

/* Oculta el anuncio lateral de escritorio en pantallas móviles */
@media (max-width: 768px){
  div[id^="mgcontainer-"]{display:none !important;}
}
@media (max-width: 768px){
  [class*="mediago-placement"],
  [class*="style_banne_"],
  a[href*="mediago.io"],
  div[id^="mgcontainer-"],
  .mediego,
  .mediego-placement-bottom {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }
}

/* WP Google Review Slider: altura automática por slide */
.wprevpro_t1_outer_div, 
.wprevpro_t2_outer_div, 
.wprev_slider, 
.wprev_slider .slick-slide {
  height: auto !important;
  min-height: 0 !important;
}
/* Forzar autoHeight en el track de Slick */
.wprev_slider .slick-list, 
.wprev_slider .slick-track { height: auto !important; }
/* Quitar padding inferior excesivo del bocadillo */
.wprevpro_t1_outer_div .wprevpro_t1, 
.wprevpro_t2_outer_div .wprevpro_t2 { padding-bottom: 12px !important; margin-bottom: 0 !important; }
/* Imagen/avatares y estrellas sin empujar la altura */
.wprevpro_t1_outer_div img, 
.wprevpro_t2_outer_div img { max-height: 64px; }
/* En móvil, evitar espacios forzados */
@media (max-width: 767px){
  .wprev_slider .slick-slide { display: block !important; }
  .wprev_slider .slick-track { display: block !important; }
}

/* ===== HERO: forzar ancho completo y una columna ===== */
body #hero-beneficios-cta{
  width:100vw;
  margin-left:50%;
  transform:translateX(-50%);
  padding-top:56px;
  padding-bottom:56px;
}
body #hero-beneficios-cta > .wrap{
  max-width:1600px !important;
  width:100% !important;
  padding-left:32px !important;
  padding-right:32px !important;
  margin:0 auto !important;
  display:block !important;
}
/* Neutralizar contenedores de GeneratePress dentro del hero */
body #hero-beneficios-cta .grid-container,
body #hero-beneficios-cta .container,
body #hero-beneficios-cta .site-grid-container,
body #hero-beneficios-cta .inside-article,
body #hero-beneficios-cta .entry-content{
  max-width:none !important;
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
body #hero-beneficios-cta .entry-content{ max-width:none !important; }
/* Tipografía del H2 del hero (independiente del global) */
body #hero-beneficios-cta .h2-hero{
  font-size:34px !important;
  line-height:1.2 !important;
  margin:0 0 18px !important;
  color:#ffffff !important;
  text-align:left !important;
  border:0 !important;
  padding:0 !important;
}
/* CTA responsive en hero */
body #hero-beneficios-cta .cta-row a{white-space:nowrap;}
@media (max-width: 980px){
  body #hero-beneficios-cta{width:100%;margin-left:0;transform:none}
  body #hero-beneficios-cta .h2-hero{ font-size:26px !important }
  body #hero-beneficios-cta .cta-row a{ width:100%; text-align:center }
}

/* === FIX ESPECÍFICO PARA DIRECCIÓN EN NAP === */
#contact-nap address .dir-villanueva span:first-child {
  color: #000 !important;
  font-weight: 600 !important;
}

#contact-nap address .dir-villanueva span:last-child {
  color: rgba(51,51,51,0.75) !important;
}

#contact-nap address {
  color: #333 !important;
}

/* === ENLACES FOOTER MÁS VISIBLES Y CLICABLES === */
.footer-links a {
  color: #9ad2ff !important;
  text-decoration: underline !important;
  transition: color 0.3s ease, text-decoration-color 0.3s ease !important;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-color: #25D366 !important;
  text-underline-offset: 3px !important;
}

/* Enlaces en footer-legal también destacados */
.footer-legal a {
  color: #9ad2ff !important;
  text-decoration: underline !important;
  transition: color 0.3s ease !important;
}

.footer-legal a:hover,
.footer-legal a:focus {
  color: #fff !important;
  text-decoration-color: #25D366 !important;
}

/* Añadir cursor pointer para reforzar que es clicable */
.footer-links a,
.footer-legal a {
  cursor: pointer !important;
}

/* Contenedor NAP accesible y fluido */
#contact-nap{
  padding: 40px 20px;
  background:#f9f9f9;
  color:#333;
  font-family: Arial, sans-serif;
}
#contact-nap .nap-card{
  background:#fff;
  border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
  padding:18px 20px;
  margin:0 auto;
  max-width: 600px;           /* límite superior */
  width: 100%;                /* fluido */
}

/* Tipografía relativa y corte seguro de líneas */
#contact-nap .nap-card,
#contact-nap .nap-card *{
  font-size: 1rem;            /* base relativa, se adapta al zoom */
  line-height: 1.6;
  overflow-wrap: anywhere;    /* permitir quiebres en palabras largas */
  word-wrap: break-word;      /* alias legacy */
  word-break: break-word;     /* respaldo si lo anterior no basta */
  hyphens: auto;              /* guiones automáticos */
}

/* Título dentro del address */
#contact-nap .nap-title{
  font-size: clamp(1.2rem, 4.5vw, 1.8rem); /* escala responsive */
  color:#333;
  display:block;
  margin-bottom: .25rem;
}

/* Enlaces y teléfono */
#contact-nap a{
  color:#25d366;
  font-weight:600;
  text-decoration:none;
}

/* Microcopys en bloques para forzar wraps naturales */
#contact-nap .nap-block{
  display:block;
  margin:12px 0;
}

/* Botón principal responsive (ancho completo en móvil) */
#contact-nap .cta{
  display:inline-block;
  width:100%;
  max-width: 400px;
  background:#25D366;
  color:#fff;
  padding: 18px 16px;
  border-radius:12px;
  font-weight:700;
  text-align:center;
}

/* Ajustes específicos móvil: evitar nowrap que rompe el layout */
@media (max-width: 480px){
  #contact-nap .nap-title{ font-size: 1.25rem; }
  #contact-nap address strong{ white-space: normal !important; } /* quita nowrap */
  #contact-nap .cta{ padding:16px; }
}

/* WP Google Review Slider — contenedor global responsivo */
.wprevpro_t1_outer_div{
  max-width: clamp(320px, 92vw, 72rem); /* mínimo 320px, preferencia 92vw, tope 1152px */
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

/* Variante para pantallas muy grandes: ampliar un poco sin pasar de 75ch */
@media (min-width:1200px){
  .wprevpro_t1_outer_div .wprevpro_t1_div{ max-width:72ch; }
  .wprevpro_t1_outer_div .wprevpro_t1_review_text{ max-width:68ch; }
}

/* CSS SECTION NAP MINIFICADO */
#contact-nap{--nap-max:720px;--nap-gap:14px;--nap-radius:12px;--nap-shadow:0 6px 24px rgba(0,0,0,.08);--nap-border:1px solid rgba(0,0,0,.08);--brand:#25D366;--ink:#2b2b2b;--muted:#616161;padding:28px 16px;background:#f6f3ea;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}#contact-nap>h2{margin:0 0 14px;border:0;font-size:clamp(1.4rem,3.6vw,1.9rem);line-height:1.2;text-align:center;color:#594b24}#contact-nap .cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:min(100%,420px);margin:10px auto 14px;padding:14px 18px;border-radius:999px;background:linear-gradient(135deg,#25D366,#128C7E);color:#fff;font-weight:800;text-decoration:none;box-shadow:0 8px 24px rgba(18,140,126,.35);transition:transform .08s ease,box-shadow .2s ease,background .2s ease}#contact-nap .cta:focus-visible{outline:3px solid #0d6b56;outline-offset:2px}#contact-nap .cta:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(18,140,126,.45)}#contact-nap .nap-note{text-align:center;color:var(--muted)}#contact-nap .nap-card{max-width:var(--nap-max);margin:0 auto;padding:18px;background:#fff;border-radius:var(--nap-radius);box-shadow:var(--nap-shadow);border:var(--nap-border)}#contact-nap .nap-card *{font-size:clamp(.98rem,1.9vw,1.05rem);line-height:1.6;overflow-wrap:anywhere;word-break:break-word;hyphens:auto}#contact-nap .nap-title{display:block;font-size:clamp(1.2rem,4.2vw,1.6rem);font-weight:800;color:#333;margin:0 0 6px}#contact-nap .nap-block{display:block;margin:var(--nap-gap) 0}#contact-nap .nap-address{display:grid;grid-template-columns:24px 1fr;align-items:start;gap:10px;padding:10px 12px;background:#fafafa;border:1px dashed rgba(0,0,0,.08);border-radius:10px;position:relative}#contact-nap .nap-address::before{content:"📍";position:absolute;left:10px;top:10px;font-size:18px;line-height:1}#contact-nap .nap-address span{padding-left:22px}#contact-nap .nap-tel a{color:var(--brand);font-weight:800;text-decoration:none}#contact-nap .nap-tel a:hover,#contact-nap .nap-tel a:focus-visible{text-decoration:underline;outline:none}#contact-nap .nap-strong{font-weight:800;letter-spacing:.1px}#contact-nap .nap-warning{color:#b00020;font-weight:800}#contact-nap .nap-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.08),transparent);margin:8px 0;border:0}#contact-nap .nap-card a:focus-visible{outline:3px solid rgba(37,211,102,.5);outline-offset:2px;border-radius:4px}.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;border:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap}@media (min-width:680px){#contact-nap .nap-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}}@media (max-width:480px){#contact-nap{padding:22px 12px}#contact-nap .nap-card{padding:16px 14px}#contact-nap .cta{width:100%}}

/* CSS SELECTOR DE CIUDADES POR WHATSAPP - OPTIMIZADO */
.city-whatsapp-hero {
  padding: 24px 16px;
  text-align: center;
  background: transparent !important; /* Para ver el tapiz de fondo */
}

.city-whatsapp-hero h1 {
  font-size: 1.8rem;
  margin: 0 0 10px;
  color: #594b24; /* Marrón corporativo */
}

.cwh-sub {
  margin: 0 0 24px;
  color: #4a4a4a;
  font-size: 1.1rem;
}

/* Grid base (Desktop/Tablet) */
.cwh-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr)); /* 5 columnas */
  gap: 12px;
  justify-items: center;
  max-width: 920px;
  margin: 0 auto;
}

/* Tablet Vertical (3 columnas) */
@media (max-width: 900px) {
  .cwh-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MÓVIL: Botones apilados y centrados (1 columna) */
@media (max-width: 520px) {
  .cwh-grid {
    display: flex;             /* Flexbox para apilar */
    flex-direction: column;    /* Columna vertical */
    align-items: center;       /* Centrado horizontal */
    gap: 12px;                 /* Espacio entre botones */
    width: 100%;
  }
  
  .cwh-btn {
    width: 100%;               /* Ancho completo pero limitado por max-width */
    max-width: 280px;          /* Ancho máximo estético en móvil */
  }
}

/* Estilos visuales del botón (Clicable) */
.cwh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 28px;
  background: #25d366;
  
  /* Texto Blanco Forzado */
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1rem;
  
  /* Efectos visuales de botón */
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.25);
  border: 2px solid transparent; /* Reserva espacio para borde focus */
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent; /* Quita el flash azul en móvil */
}

/* Estados de interacción */
.cwh-btn:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px); /* Eleva el botón */
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.35); /* Sombra más profunda */
  color: #ffffff !important;
}

.cwh-btn:active {
  transform: translateY(1px); /* Efecto de pulsación */
  box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
  background-color: #1a9f4d;
}

.cwh-btn:focus-visible {
  outline: none;
  border-color: #128C7E; /* Borde visual al navegar con teclado */
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.4);
}



/* ========================================
   SUBMENÚS GENERATEPRESS
   ======================================== */

/* Prevenir salto de línea en submenús */
.mpc .sub-menu a {
    white-space: nowrap !important;
}

/* === FIN SUBMENÚS === */

/* === CONTROL DE NAVEGACIÓN DESDE CUSTOMIZER === */
/* Forzar que el Customizer controle la posición del menú */
@media (min-width: 769px) {
    /* Resetear cualquier posicionamiento fijo */
    body .inside-header {
        display: flex !important;
        align-items: center !important;
    }
    
    /* Permitir que Customizer controle justify-content */
    body .inside-header:not([data-nav-location]) {
        justify-content: space-between !important;
    }
}

/* Migas Rank Math más visuales en escritorio */
@media (min-width:769px){
  .rank-math-breadcrumb{
    font-size:18px;
    font-weight:600;
    letter-spacing:0.02em;
  }
  .rank-math-breadcrumb li{
    color:#a16d17;              /* color marrón del tema */
  }
  .rank-math-breadcrumb li a{
    color:#2563eb;              /* azul de enlaces del tema */
    text-decoration:none;
    padding:0 2px;
  }
  .rank-math-breadcrumb li a:hover{
    text-decoration:underline;
  }
  .rank-math-breadcrumb li:not(:last-child)::after{
    content:"›";
    margin:0 4px;
    color:#c28a2c;              /* separador acorde al fondo */
    font-size:0.9em;
  }
}

/* Enlaces del contenido principal (cualquier sección bajo .content-area) */
body .content-area a:not(.whatsapp-btn):not(.cta-button):not(.button):not(.menu-link) {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  text-decoration-thickness: 1.5px !important;
  font-weight: 600 !important;
  transition: color .2s ease, text-decoration-color .2s ease;
}

body .content-area a:not(.whatsapp-btn):not(.cta-button):not(.button):not(.menu-link):hover,
body .content-area a:not(.whatsapp-btn):not(.cta-button):not(.button):not(.menu-link):focus-visible {
  color: #0f766e !important;
  text-decoration-color: #0f766e !important;
  outline: none !important;
}

/* Mantener botones WhatsApp sin subrayado */
body .content-area a.whatsapp-btn {
  text-decoration: none !important;
  font-weight: 700 !important;
}



/* =========================================
   1. TOP BAR CIUDADES
   ========================================= */
#top-cities-bar {
  background-color:#f1ebda;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23594b24' fill-opacity='0.38' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat:repeat;
  background-attachment:fixed;
  color: #8c701c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding: 0;
  width: 100%;
  z-index: 99999;
  border-bottom: none !important;
  box-shadow: none !important;
  position: fixed;
  top: 0;
  left: 0;
  height: 52px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.tcb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 100%;
}

.tcb-label {
  font-weight: 900;
  color: #a16d17;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 16px;
  white-space: nowrap;
}

.tcb-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tcb-btn {
  background-color: #25D366;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 20px !important;
  border-radius: 24px !important;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: 1px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  -webkit-font-smoothing: antialiased;
  border: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-block !important;
}

.tcb-btn:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* =========================================
   2. BARRA DE IDIOMAS (ESCRITORIO)
   ========================================= */
#lang-bar {
  position:fixed;
  top:52px;
  left:0;
  width:100%;
  z-index:99997;
  background-color:#f1ebda;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23594b24' fill-opacity='0.38' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat:repeat;
  background-attachment:fixed;
  color:#c41e3a;
  text-align:center;
  font-size:18px;
  font-weight:500;
  line-height:1.6;
  padding:4px 10px;
  border-bottom:none;
}


#lang-bar p {
  margin: 0;
  font-family: inherit;
}

/* =========================================
   3. MENÚ PRINCIPAL FIJO (ESCRITORIO)
   ========================================= */
#hc {
  position:fixed;
  top:78px;
  left:0;
  width:100%;
  z-index:99996;
  background-color:#f1ebda;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23594b24' fill-opacity='0.38' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat:repeat;
  background-attachment:fixed;
  border-bottom:1px solid #d4c4a0;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  margin-top:0!important;
  padding-top:0!important;
}

body {
  padding-top: 200px; /* ajusta si ves más/menos hueco */
}

/* Submenús */
.main-navigation .main-nav ul ul li a {
  font-size: 20px !important;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* =========================================
   4. COMPATIBILIDAD ADMIN BAR (ESCRITORIO)
   ========================================= */
.admin-bar #top-cities-bar {
  top: 32px;
}

.admin-bar #lang-bar {
  top: 84px; /* 32 + 52 */
}

.admin-bar #hc {
  top: 110px; /* 32 + 52 + ~26 */
}

.admin-bar body {
  padding-top: 230px;
}

/* =========================================
   5. LOGO MÁS PEQUEÑO EN MÓVIL
   ========================================= */
@media (max-width: 768px) {
  .site-logo img,
  .header-image.is-logo-image img,
  .site-header .custom-logo {
    max-width: 160px !important;
    height: auto !important;
  }
}

/* =========================================
   6. VERSIÓN MÓVIL - TOP BAR + IDIOMAS + MENÚ
   ========================================= */
@media (max-width:768px){#top-cities-bar{height:auto!important;min-height:80px!important;padding:8px 0!important}.tcb-label{display:block!important;width:100%;text-align:center;margin-bottom:8px;font-size:13px!important;font-weight:700!important}.tcb-container{width:100%;max-width:100%;padding:0 10px!important;display:flex;flex-direction:column;align-items:center;gap:0!important}.tcb-nav{width:100%;display:grid!important;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:8px 6px!important;justify-items:center;align-items:stretch}.tcb-btn{font-size:12px!important;padding:7px 5px!important;font-weight:800!important;letter-spacing:.3px!important;border-radius:18px!important;width:100%;min-height:38px!important;display:flex!important;align-items:center;justify-content:center;text-align:center;box-shadow:0 2px 6px rgba(0,0,0,.2)!important;margin:0!important;flex-shrink:0;line-height:1.2!important}.tcb-btn:active{transform:scale(.95);box-shadow:0 1px 3px rgba(0,0,0,.2)!important}#lang-bar{top:80px!important}#hc{position:relative!important;top:0!important;margin-top:0!important}body{padding-top:110px!important}}@media (max-width:360px){.tcb-btn{font-size:10px!important;padding:6px 4px!important;min-height:36px!important}}






/* MODIFICADO: Fondo actualizado a tapiz.jpg */
#hc{background:#f4e2bd url('https://arreglosderopas.es/img/tapiz.jpg') repeat;border-bottom:1px solid #ddd;padding:10px 0;}
.hc-c{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 20px}
.lg img{max-height:150px;width:auto}
.mpc{list-style:none;display:flex;margin:0;padding:0;gap:8px;position:relative;z-index:100}
.mpc>li{position:relative}
.mpc>li>a{font-size:26px;letter-spacing:-0.3px;word-spacing:-1px}
.mpc a{text-decoration:none;color:#333;font-weight:500;padding:8px 12px;border-radius:4px;transition:all .3s ease;display:block}
.mpc .menu-item-has-children>a::after{content:"▼";margin-left:5px;font-size:10px;color:#666}
.mpc a:hover{background:#f0f0f0;color:#007cba}

.mpc .sub-menu{display:none;position:absolute;top:100%;right:0;list-style:none;margin:0;padding:0;background:#fff;box-shadow:0 4px 6px rgba(0,0,0,.1);border:1px solid #ddd;border-radius:4px;min-width:320px;max-width:520px;z-index:1000}

.mpc .sub-menu .sub-menu{top:0;right:calc(100% + 8px);left:auto}
.mpc li.sfHover>a{background:#f0f0f0;color:#007cba}
.mpc li.sfHover>.sub-menu{display:block}
.mpc .sub-menu li{position:relative;width:100%}
.mpc .sub-menu a{padding:12px 16px;border-bottom:1px solid #f0f0f0;white-space:nowrap;font-size:12px}
.mpc .sub-menu .sub-menu a{font-size:12px;padding:10px 14px;font-weight:400}
.mpc .sub-menu a:hover{background:#f8f9fa}
.rank-math-breadcrumb{display:flex;flex-wrap:wrap;gap:5px;align-items:center;list-style:none;margin:0;padding:0!important}
.rank-math-breadcrumb li{display:flex;align-items:center;color:#c41e3a!important}
.rank-math-breadcrumb li a{color:#c41e3a!important;text-decoration:none;margin:0 3px}
.rank-math-breadcrumb li a:hover{text-decoration:underline}
.rank-math-breadcrumb li:not(:last-child)::after{content:"/";margin:0 5px;color:#c41e3a!important}
.rank-math-breadcrumb li:first-child a{color:#007cba!important}
.rank-math-breadcrumb li:last-child{color:#c41e3a!important;font-weight:500}
@media(max-width:768px){
  .hc-c{flex-direction:column;gap:15px}
  .mpc{flex-direction:column;width:100%}
  .mpc .sub-menu{position:static;box-shadow:none;border:none;background:#f8f9fa;margin-left:20px;right:auto}
  .mpc .sub-menu .sub-menu{margin-left:40px;right:auto}
.mpc > li > a { font-size: 18px; }   
  .mpc .sub-menu a { font-size: 14px; }
}

@media (min-width: 769px){
  .mpc > li:hover > .sub-menu{
    display:block;
  }
}



@media (max-width:768px){.site-logo img,.header-image img,.custom-logo,.inside-header .site-logo img,.inside-header .header-image img,.navigation-branding .site-logo img,.navigation-branding img,.site-branding img{max-width:120px!important;width:120px!important;height:auto!important;margin-top:15px!important}#hc,.inside-header{padding-top:15px!important;padding-bottom:10px!important}.mpc li a{padding-top:4px!important;padding-bottom:4px!important;line-height:1.2!important;margin:0!important;font-size:17px!important}.mpc li{margin-bottom:0!important;margin-top:0!important}.main-navigation.toggled .main-nav ul li a{line-height:1.2!important;padding-top:4px!important;padding-bottom:4px!important;min-height:auto!important}.mpc .sub-menu a{padding-top:3px!important;padding-bottom:3px!important;font-size:13px!important}.mpc>li:nth-last-child(1),.mpc>li:nth-last-child(2){display:none!important}}

@media (min-width: 769px){.mpc .sub-menu a{font-size:20px!important}}










