/*
 Theme Name: Mandira Divi Child
 Theme URI: https://mandira.es/
 Description: Tema hijo de Divi para Mandira. Crema, verde profundo y dorado; tipografías alojadas en el propio tema.
 Author: Mandira
 Template: Divi
 Version: 17.0
 Text Domain: mandira
*/

/* ---------- Tipografías (alojadas aquí: no se llama a servidores externos) ---------- */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/newsreader-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/newsreader-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Allura";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/allura-latin-400-normal.woff2") format("woff2")}

:root{
  --md-cream:#F1E8DA;--md-paper:#F8F3EB;--md-sage:#EFE6D8;--md-sage2:#E6DAC6;
  --md-green:#163535;--md-dark:#163535;--md-ink:#211C16;--md-muted:#5E574C;
  --md-terra:#83622F;--md-terra-d:#6A4E22;--md-terra-l:#DDC7AC;--md-line:#E2D8C7;--md-white:#FFFDF9;
  --md-display:"Newsreader","Iowan Old Style",Georgia,serif;
  --md-text:"Montserrat","Avenir Next","Segoe UI",system-ui,sans-serif;
  --md-script:"Allura","Snell Roundhand",cursive;
}

body{background:var(--md-paper)}
#main-content{background:var(--md-paper)}


/* ---------- Cabecera de Divi ---------- */
#main-header,#main-header.et-fixed-header{background:var(--md-cream)!important;box-shadow:0 1px 0 var(--md-line)!important}
#top-menu li a,.et_mobile_menu li a{font-family:var(--md-text);font-size:15px;font-weight:400;color:var(--md-ink)!important}
#top-menu li a:hover,#top-menu li.current-menu-item>a,#top-menu li.current-page-ancestor>a{color:var(--md-terra)!important;opacity:1!important}
#top-menu li.md-menu-cta{padding-right:0}
#top-menu li.md-menu-cta>a{background:var(--md-green);color:#fff!important;font-weight:600;padding:12px 18px!important;border-radius:999px}
#top-menu li.md-menu-cta>a:hover{background:#0E2626;color:#fff!important}
.mobile_menu_bar:before{color:var(--md-green)!important}
.et_mobile_menu{border-top:3px solid var(--md-terra)!important;background:var(--md-cream)!important}
.et_mobile_menu li a{padding:14px 5%!important;font-size:16px!important}
.et_mobile_menu li.md-menu-cta a{color:var(--md-green)!important;font-weight:600}
#main-footer{display:none!important}
/* Si aún no se ha subido el logo en Divi, se muestra el nombre en texto */
.md-no-logo #logo{position:absolute!important;width:1px!important;height:1px!important;max-height:1px!important;opacity:0!important;overflow:hidden!important}
.md-no-logo .logo_container a{text-decoration:none;white-space:nowrap}
.md-no-logo .logo_container a:before{content:"";display:inline-block;width:40px;height:28px;margin-right:10px;vertical-align:middle;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='none' stroke='%2383622F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 4c4 5 4 13 0 20-4-7-4-15 0-20z'/%3E%3Cpath d='M24 24c-8-1-13-6-14-14 6 1 11 5 14 14z'/%3E%3Cpath d='M24 24c8-1 13-6 14-14-6 1-11 5-14 14z'/%3E%3Cpath d='M24 24c-9 2-16 0-20-6 5-2 12-1 20 6z'/%3E%3Cpath d='M24 24c9 2 16 0 20-6-5-2-12-1-20 6z'/%3E%3C/svg%3E") center/contain no-repeat}
.md-no-logo .logo_container a:after{content:"MANDIRA";font-family:var(--md-display);font-weight:400;font-size:26px;letter-spacing:.3em;color:var(--md-green);vertical-align:middle}
@media (max-width:480px){.md-no-logo .logo_container a:before{content:"";display:inline-block;width:40px;height:28px;margin-right:10px;vertical-align:middle;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='none' stroke='%2383622F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 4c4 5 4 13 0 20-4-7-4-15 0-20z'/%3E%3Cpath d='M24 24c-8-1-13-6-14-14 6 1 11 5 14 14z'/%3E%3Cpath d='M24 24c8-1 13-6 14-14-6 1-11 5-14 14z'/%3E%3Cpath d='M24 24c-9 2-16 0-20-6 5-2 12-1 20 6z'/%3E%3Cpath d='M24 24c9 2 16 0 20-6-5-2-12-1-20 6z'/%3E%3C/svg%3E") center/contain no-repeat}.md-no-logo .logo_container a:after{font-size:20px}}



/* ---------- V13.1 · Corrección logo / menú Divi ---------- */
#main-header .container{width:92%!important;max-width:1180px!important}
#main-header .logo_container{width:245px!important;max-width:245px!important}
#main-header #logo{max-width:220px!important;max-height:52px!important;width:auto!important;height:auto!important;object-fit:contain!important}
#main-header #et-top-navigation{padding-left:265px!important}
#main-header #top-menu-nav,#main-header #top-menu{max-width:100%!important}
#main-header #top-menu li{padding-right:15px!important}
#main-header #top-menu li:last-child{padding-right:0!important}
#main-header #top-menu li a{font-size:14px!important;white-space:nowrap}
#main-header.et-fixed-header #logo{max-height:44px!important}
.md-no-logo .logo_container{width:245px!important;max-width:245px!important}
.md-no-logo .logo_container a:after{font-size:24px!important;letter-spacing:.24em!important}

@media (max-width:1100px) and (min-width:981px){
  #main-header .logo_container{width:205px!important;max-width:205px!important}
  #main-header #logo{max-width:185px!important;max-height:46px!important}
  #main-header #et-top-navigation{padding-left:220px!important}
  #main-header #top-menu li{padding-right:10px!important}
  #main-header #top-menu li a{font-size:13px!important}
  .md-no-logo .logo_container{width:205px!important;max-width:205px!important}
  .md-no-logo .logo_container a:after{font-size:21px!important;letter-spacing:.2em!important}
}

@media (max-width:980px){
  #main-header .container{width:92%!important}
  #main-header .logo_container{width:calc(100% - 70px)!important;max-width:260px!important}
  #main-header #logo{max-width:200px!important;max-height:44px!important}
  #main-header #et-top-navigation{padding-left:0!important}
  .md-no-logo .logo_container{width:calc(100% - 70px)!important;max-width:260px!important}
  .md-no-logo .logo_container a:after{font-size:21px!important;letter-spacing:.2em!important}
}

@media (max-width:480px){
  #main-header #logo{max-width:165px!important;max-height:38px!important}
  .md-no-logo .logo_container a:before{width:30px!important;height:22px!important;margin-right:7px!important}
  .md-no-logo .logo_container a:after{font-size:18px!important;letter-spacing:.17em!important}
}

/* ---------- Secciones: cada módulo ocupa todo el ancho y la maquetación va por dentro ---------- */
.et_pb_section.md-sec{padding:0!important;background:transparent!important}
.et_pb_section.md-sec .et_pb_row{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
.et_pb_section.md-sec .et_pb_column{width:100%!important;margin:0!important;float:none!important}
.et_pb_section.md-sec .et_pb_module{margin:0!important}
.et_pb_section.md-sec .md-band{background:var(--md-paper);color:var(--md-ink);font-family:var(--md-text);font-size:17px;line-height:1.65;font-weight:400}
.et_pb_section.md-sec .md-band--cream{background:var(--md-cream)}
.et_pb_section.md-sec .md-band--sage{background:var(--md-sage)}
.et_pb_section.md-sec .md-band--dark{background:var(--md-dark);color:#F1EFE3}
.et_pb_section.md-sec .md-band--line{border-bottom:1px solid var(--md-line);background:var(--md-cream)}
.et_pb_section.md-sec .md-in{max-width:1180px;margin:0 auto;padding:84px 24px;box-sizing:border-box}
.et_pb_section.md-sec .md-band--tight .md-in{padding-top:30px;padding-bottom:30px}
.et_pb_section.md-sec .md-band--hero .md-in{padding-top:56px;padding-bottom:72px}
.et_pb_section.md-sec .md-narrow{max-width:760px;margin:0 auto}
.et_pb_section.md-sec .md-center{max-width:720px;margin:0 auto;text-align:center}


/* ---------- Texto ---------- */
.et_pb_section.md-sec h1,.et_pb_section.md-sec h2,.et_pb_section.md-sec h3{font-family:var(--md-display);font-weight:400;color:var(--md-ink);padding:0;margin:0 0 .45em;letter-spacing:-.02em;text-wrap:balance}
.et_pb_section.md-sec h1{font-size:clamp(2.3rem,4.6vw,3.6rem);line-height:1.04}
.et_pb_section.md-sec h2{font-size:clamp(1.9rem,3.4vw,2.8rem);line-height:1.08}
.et_pb_section.md-sec h3{font-size:1.5rem;line-height:1.15;font-weight:400}
.et_pb_section.md-sec h2.md-h2--sm{font-size:1.75rem;margin-top:1.2em}
.et_pb_section.md-sec .md-in>h2.md-h2--sm:first-child{margin-top:0}
.et_pb_section.md-sec h3.md-h3--gap{margin-top:1.3em}
.et_pb_section.md-sec p{padding:0;margin:0 0 1em;color:inherit}
.et_pb_section.md-sec p:last-child{margin-bottom:0}
.et_pb_section.md-sec .md-lead{font-size:1.15rem;line-height:1.6;color:var(--md-muted);max-width:40em}
.et_pb_section.md-sec .md-center .md-lead{margin-left:auto;margin-right:auto}
.et_pb_section.md-sec .md-band--dark h2,.et_pb_section.md-sec .md-band--dark h3{color:#FBFAF4}
.et_pb_section.md-sec .md-band--dark .md-lead{color:#DEDCCB}
.et_pb_section.md-sec .md-eyebrow{font-family:var(--md-text);font-size:.75rem;letter-spacing:.3em;font-weight:500;text-transform:uppercase;color:var(--md-terra);margin:0 0 14px}
.et_pb_section.md-sec .md-eyebrow--light{color:#E4E2D4}
.et_pb_section.md-sec a{color:var(--md-terra);text-decoration:underline;text-underline-offset:3px}
.et_pb_section.md-sec a:hover{color:var(--md-terra-d)}
.et_pb_section.md-sec a:focus-visible,.et_pb_section.md-sec button:focus-visible,.et_pb_section.md-sec input:focus-visible,.et_pb_section.md-sec textarea:focus-visible,.et_pb_section.md-sec summary:focus-visible,.md-footer a:focus-visible,.md-mbar a:focus-visible{outline:3px solid var(--md-terra-l);outline-offset:3px}
.et_pb_section.md-sec ul,.et_pb_section.md-sec ol{list-style:none;padding:0;margin:0;line-height:inherit}


/* ---------- Botones ---------- */
.et_pb_section.md-sec .md-actions{display:flex;flex-wrap:wrap;gap:12px 14px;margin-top:26px;align-items:center}
.et_pb_section.md-sec .md-actions--center{justify-content:center}
.et_pb_section.md-sec .md-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;box-sizing:border-box;border-radius:999px;border:1px solid var(--md-green);background:var(--md-green);color:#fff;font-family:var(--md-text);font-size:1rem;font-weight:500;line-height:1.2;text-decoration:none;text-align:center;cursor:pointer;transition:background .15s,border-color .15s}
.et_pb_section.md-sec .md-btn:hover{background:#0E2626;border-color:#0E2626;color:#fff}
.et_pb_section.md-sec .md-btn--terra{background:var(--md-green);border-color:var(--md-green);color:#fff}
.et_pb_section.md-sec .md-btn--terra:hover{background:#0E2626;border-color:#0E2626}
.et_pb_section.md-sec .md-btn--line{background:transparent;color:var(--md-green);border-color:var(--md-green)}
.et_pb_section.md-sec .md-btn--line:hover{background:var(--md-green);color:#fff}
.et_pb_section.md-sec .md-btn--line-light{background:transparent;color:#FBFAF4;border-color:#FBFAF4;border-radius:999px}
.et_pb_section.md-sec .md-btn--line-light:hover{background:#FBFAF4;color:var(--md-dark);border-color:#FBFAF4}


/* ---------- Rejillas y tarjetas ---------- */
.et_pb_section.md-sec .md-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:44px 72px;align-items:center}
.et_pb_section.md-sec .md-grid2--top{align-items:start}
.et_pb_section.md-sec .md-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:12px 72px;align-items:end;margin-bottom:38px}
.et_pb_section.md-sec .md-head h2{margin-bottom:0}
.et_pb_section.md-sec .md-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));gap:20px}
.et_pb_section.md-sec .md-cards--2{grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr))}
.et_pb_section.md-sec .md-card{background:var(--md-white);border:1px solid var(--md-line);border-radius:4px;padding:26px;box-sizing:border-box}
.et_pb_section.md-sec .md-card--soft{background:var(--md-sage)}
.et_pb_section.md-sec .md-band--sage .md-card--soft,.et_pb_section.md-sec .md-band--cream .md-card--soft{background:#fff}
.et_pb_section.md-sec .md-card h3{margin-bottom:.4em}
.et_pb_section.md-sec .md-card--link{position:relative;display:flex;flex-direction:column;gap:6px;transition:border-color .15s,box-shadow .15s}
.et_pb_section.md-sec .md-card--link .md-card-t{margin:0;font-size:1.6rem;line-height:1.15;font-weight:600}
.et_pb_section.md-sec .md-card--link .md-card-t a{color:var(--md-ink);text-decoration:none}
.et_pb_section.md-sec .md-card--link .md-card-t a:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:10px}
.et_pb_section.md-sec .md-card--link p{color:var(--md-muted);font-size:.97rem;margin:0;flex-grow:1}
.et_pb_section.md-sec .md-card--link p.md-more{flex-grow:0;color:var(--md-terra);font-weight:600;font-size:.95rem;margin-top:10px}
.et_pb_section.md-sec .md-card--link:hover{border-color:var(--md-terra);box-shadow:0 10px 26px rgba(30,36,26,.08)}
.et_pb_section.md-sec .md-card--link:hover .md-card-t a{color:var(--md-terra)}
.et_pb_section.md-sec .md-card--link .md-card-t a:focus-visible{outline:none}
.et_pb_section.md-sec .md-card--link:focus-within{outline:3px solid var(--md-terra-l);outline-offset:3px}


/* ---------- Fotos ---------- */
.et_pb_section.md-sec .md-foto{margin:0 0 20px}
.et_pb_section.md-sec .md-foto img{display:block;width:100%;height:auto;max-height:460px;object-fit:cover;border-radius:10px}
.et_pb_section.md-sec .md-foto-slot:empty{display:none}


/* ---------- Listas ---------- */
.et_pb_section.md-sec .md-checks li{position:relative;padding:0 0 0 26px;margin:0 0 12px}
.et_pb_section.md-sec .md-checks li:last-child{margin-bottom:0}
.et_pb_section.md-sec .md-checks li:before{content:"";position:absolute;left:2px;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--md-terra)}
.et_pb_section.md-sec .md-rows{border-top:1px solid var(--md-line)}
.et_pb_section.md-sec .md-row{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:4px 24px;padding:18px 0;border-bottom:1px solid var(--md-line);text-decoration:none;color:var(--md-ink)}
.et_pb_section.md-sec .md-row strong{font-family:var(--md-display);font-weight:400;font-size:1.4rem;line-height:1.2}
.et_pb_section.md-sec .md-row span{color:var(--md-muted)}
.et_pb_section.md-sec a.md-row:hover strong{color:var(--md-terra)}
.et_pb_section.md-sec .md-steps{counter-reset:cs}
.et_pb_section.md-sec .md-steps li{counter-increment:cs;position:relative;padding:0 0 22px 60px;margin:0}
.et_pb_section.md-sec .md-steps li:last-child{padding-bottom:0}
.et_pb_section.md-sec .md-steps li:before{content:counter(cs);position:absolute;left:0;top:-4px;width:42px;height:42px;border-radius:50%;background:var(--md-green);color:#fff;font-family:var(--md-text);font-size:1.05rem;font-weight:600;display:flex;align-items:center;justify-content:center}
.et_pb_section.md-sec .md-steps li strong{display:block;font-weight:600}
.et_pb_section.md-sec .md-steps li span{display:block;color:var(--md-muted)}
.et_pb_section.md-sec .md-steps--plain li{padding-left:0}
.et_pb_section.md-sec .md-steps--plain li:before{display:none}
.et_pb_section.md-sec .md-links{display:flex;flex-wrap:wrap;gap:10px}
.et_pb_section.md-sec .md-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--md-line);border-radius:999px;background:#fff;color:var(--md-ink);text-decoration:none;font-size:.97rem}
.et_pb_section.md-sec .md-links a:hover{border-color:var(--md-terra);color:var(--md-terra)}
.et_pb_section.md-sec .md-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:.9rem;color:var(--md-muted);margin:0 0 20px}
.et_pb_section.md-sec .md-crumbs a{color:var(--md-muted)}


/* ---------- Ficha de datos ---------- */
.et_pb_section.md-sec .md-facts{margin:0;border-top:1px solid var(--md-line)}
.et_pb_section.md-sec .md-facts div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 20px;padding:12px 0;border-bottom:1px solid var(--md-line)}
.et_pb_section.md-sec .md-facts dt{color:var(--md-muted);font-weight:400}
.et_pb_section.md-sec .md-facts dd{margin:0;font-weight:600;text-align:right}
.et_pb_section.md-sec .md-facts-note{margin-top:14px;font-size:.95rem;color:var(--md-muted)}


/* ---------- Preguntas frecuentes ---------- */
.et_pb_section.md-sec .md-faq{max-width:820px;border-top:1px solid var(--md-line)}
.et_pb_section.md-sec .md-faq details{border-bottom:1px solid var(--md-line)}
.et_pb_section.md-sec .md-faq summary{cursor:pointer;padding:18px 34px 18px 0;font-weight:600;position:relative;list-style:none}
.et_pb_section.md-sec .md-faq summary::-webkit-details-marker{display:none}
.et_pb_section.md-sec .md-faq summary:after{content:"+";position:absolute;right:4px;top:12px;font-family:var(--md-display);font-size:1.8rem;color:var(--md-terra);line-height:1}
.et_pb_section.md-sec .md-faq details[open] summary:after{content:"–"}
.et_pb_section.md-sec .md-faq details p{padding:0 0 18px;margin:0;color:var(--md-muted);max-width:44em}


/* ---------- Banda de llamada a la acción ---------- */
.et_pb_section.md-sec .md-cta{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:20px 64px;align-items:center}
.et_pb_section.md-sec .md-cta h2{margin-bottom:.3em}
.et_pb_section.md-sec .md-cta .md-actions{margin-top:0}
.et_pb_section.md-sec .md-band--dark .md-in{padding-top:64px;padding-bottom:64px}


/* ---------- Formularios ---------- */
.et_pb_section.md-sec .md-form{background:#fff;border:1px solid var(--md-line);border-radius:4px;padding:28px;box-sizing:border-box}
.et_pb_section.md-sec .md-form-title{font-size:1.75rem;margin:0 0 16px}
.et_pb_section.md-sec .md-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.et_pb_section.md-sec .md-full{grid-column:1/-1}
.et_pb_section.md-sec .md-form label{display:block;font-size:.9rem;font-weight:600;color:var(--md-ink);margin:0 0 6px}
.et_pb_section.md-sec .md-form input[type=text],.et_pb_section.md-sec .md-form input[type=email],.et_pb_section.md-sec .md-form input[type=tel],.et_pb_section.md-sec .md-form textarea{width:100%;min-height:50px;box-sizing:border-box;border:1px solid #9AA08D;border-radius:4px;padding:12px 14px;background:#fff;color:var(--md-ink);font-family:var(--md-text);font-size:16px;line-height:1.4}
.et_pb_section.md-sec .md-form textarea{min-height:130px;resize:vertical}
.et_pb_section.md-sec .md-check{display:flex;align-items:flex-start;gap:10px}
.et_pb_section.md-sec .md-check input{width:22px;height:22px;margin:2px 0 0;flex:none;accent-color:var(--md-green)}
.et_pb_section.md-sec .md-check label{font-weight:400;margin:0;font-size:.95rem}
.et_pb_section.md-sec .md-form .md-btn{width:100%}
.et_pb_section.md-sec .md-form-note{font-size:.88rem;color:var(--md-muted);margin:14px 0 0}
.et_pb_section.md-sec .md-form-error{background:#FBE9E2;border:1px solid var(--md-terra);color:#6E2A0E;border-radius:6px;padding:12px 14px;margin:0 0 16px;font-weight:600}
.et_pb_section.md-sec .md-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.et_pb_section.md-sec .md-audio audio{width:100%}


/* ---------- Textos legales ---------- */
.et_pb_section.md-sec .md-legal h1{font-size:2.4rem}
.et_pb_section.md-sec .md-legal h2{font-size:1.6rem;margin-top:1.4em}
.et_pb_section.md-sec .md-legal ul{margin:0 0 1em}
.et_pb_section.md-sec .md-legal li{margin:0 0 6px}


/* ---------- Pie de página propio ---------- */
.md-footer{background:#0F2727;color:#D9DCCB;font-family:var(--md-text);font-size:16px;line-height:1.6;padding:60px 24px 34px}
.md-footer p{padding:0;margin:0}
.md-footer-grid{max-width:1132px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:30px 48px}
.md-footer-name{font-family:var(--md-display);font-weight:400;font-size:26px;letter-spacing:.3em;color:#FBFAF4;display:block;margin-bottom:8px}
.md-footer strong{display:block;color:#FBFAF4;font-weight:600;margin-bottom:6px}
.md-footer a{color:#D9DCCB;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:5px 0}
.md-footer a:hover{color:#fff}
.md-footer-note{max-width:1132px;margin:34px auto 0!important;padding-top:20px!important;border-top:1px solid rgba(251,250,244,.2);font-size:14px;color:#C3C7B4}


/* ---------- Barra fija en móvil: llamar y WhatsApp ---------- */
.md-mbar{display:none}


@media (max-width:980px){
  .et_pb_section.md-sec .md-in{padding-top:60px;padding-bottom:60px}
  .et_pb_section.md-sec .md-form-grid{grid-template-columns:1fr}
}
@media (max-width:767px){
  body{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}
  .et_pb_section.md-sec .md-band{font-size:16px}
  .et_pb_section.md-sec h1{font-size:2.05rem}
  .et_pb_section.md-sec .md-eyebrow{font-size:.8125rem;letter-spacing:.2em}
  /* zonas táctiles de 44 px como mínimo */
  .et_pb_section.md-sec .md-crumbs{align-items:center;margin-bottom:8px}
  .et_pb_section.md-sec .md-crumbs a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}
  .et_pb_section.md-sec .md-facts div{align-items:center}
  .et_pb_section.md-sec .md-facts a{display:inline-block;padding:10px 0}
  .md-footer a{padding:10px 0}
  .et_pb_section.md-sec .md-in{padding:46px 20px}
  .et_pb_section.md-sec .md-band--hero .md-in{padding-top:34px;padding-bottom:46px}
  .et_pb_section.md-sec .md-actions .md-btn{width:100%}
  .et_pb_section.md-sec .md-row{grid-template-columns:1fr}
  .et_pb_section.md-sec .md-card,.et_pb_section.md-sec .md-form{padding:22px}
  .et_pb_section.md-sec .md-facts dd{text-align:left}
  .md-footer{padding:44px 20px 30px}
  .md-mbar{position:fixed;z-index:99990;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 -6px 20px rgba(17,26,12,.18);padding-bottom:env(safe-area-inset-bottom,0px);background:var(--md-green)}
  .md-mbar a{display:flex;align-items:center;justify-content:center;min-height:60px;font-family:var(--md-text);font-weight:600;font-size:16px;color:#fff;text-decoration:none;background:var(--md-green)}
  .md-mbar a:last-child{background:var(--md-terra-l);color:var(--md-green)}
}
@media (prefers-reduced-motion:reduce){.et_pb_section.md-sec .md-btn,.et_pb_section.md-sec .md-card--link{transition:none}}


/* ==========================================================================
   Componentes propios de Mandira
   ========================================================================== */
.et_pb_section.md-sec .md-eyebrow--light{color:var(--md-terra-l)}
.et_pb_section.md-sec .md-band--white{background:var(--md-white)}
.et_pb_section.md-sec .md-more{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--md-ink);text-decoration:none;border-bottom:1px solid var(--md-ink)}
.et_pb_section.md-sec .md-more:hover{color:var(--md-terra);border-bottom-color:var(--md-terra)}
.et_pb_section.md-sec .md-foto-img{display:block;width:100%;height:100%;object-fit:cover}

/* Portada: foto a la derecha, texto sobre crema */
.et_pb_section.md-sec .md-hero{position:relative;overflow:hidden;background:radial-gradient(60% 80% at 22% 30%,#FBF7F0 0%,#F3EADB 60%,#EBDFCB 100%);font-family:var(--md-text);font-size:17px;line-height:1.65;color:var(--md-ink)}
.et_pb_section.md-sec .md-hero-photo{position:absolute;top:0;right:0;bottom:0;width:58%;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 34%);mask-image:linear-gradient(90deg,transparent 0%,#000 34%)}
.et_pb_section.md-sec .md-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block}
.et_pb_section.md-sec .md-hero-body{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:86px 32px 40px;min-height:500px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}
.et_pb_section.md-sec .md-hero h1{font-size:clamp(2.7rem,5.6vw,4.6rem);max-width:9.5em;margin:0}
.et_pb_section.md-sec .md-hero-sub{font-size:1.2rem;margin:18px 0 0;max-width:22em;color:var(--md-ink)}
.et_pb_section.md-sec .md-script{position:absolute;z-index:3;right:34px;bottom:120px;font-family:var(--md-script);font-size:30px;line-height:1.25;color:#FFFDF9;transform:rotate(-8deg);text-shadow:0 1px 10px rgba(60,40,20,.45);margin:0}
.et_pb_section.md-sec .md-marks{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:0 32px 34px;display:flex;flex-wrap:wrap;gap:16px 44px;box-sizing:border-box}
.et_pb_section.md-sec .md-marks li{position:relative;padding:4px 0 4px 20px;margin:0;font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;line-height:1.4;max-width:170px}
.et_pb_section.md-sec .md-marks li:before{content:"";position:absolute;left:0;top:.75em;width:8px;height:8px;border-radius:50%;border:1px solid var(--md-terra)}

/* Presentación y tarjetas con foto */
.et_pb_section.md-sec .md-intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px 64px;align-items:start}
.et_pb_section.md-sec .md-intro-txt{border-left:1px solid var(--md-line);padding-left:36px;color:var(--md-muted);max-width:44em}
.et_pb_section.md-sec .md-intro-txt .md-more{margin-top:12px}
.et_pb_section.md-sec .md-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
.et_pb_section.md-sec .md-pcard{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:300px;padding:26px;color:#FFFDF9;overflow:hidden;background:#2A1A0E}
.et_pb_section.md-sec .md-pcard-img{position:absolute;top:0;right:0;bottom:0;left:0}
.et_pb_section.md-sec .md-pcard-img:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(42,26,14,.05) 0%,rgba(42,26,14,.25) 38%,rgba(42,26,14,.9) 100%)}
.et_pb_section.md-sec .md-pcard h3,.et_pb_section.md-sec .md-pcard p{position:relative}
.et_pb_section.md-sec .md-pcard h3{font-size:1.75rem;margin:0 0 8px}
.et_pb_section.md-sec .md-pcard h3 a{color:#FFFDF9;text-decoration:none}
.et_pb_section.md-sec .md-pcard h3 a:after{content:"";position:absolute;top:-400px;right:-40px;bottom:-90px;left:-40px}
.et_pb_section.md-sec .md-pcard p{font-size:12px;letter-spacing:.14em;text-transform:uppercase;line-height:1.5;color:#F1E6D3;max-width:20em;margin:0}
.et_pb_section.md-sec .md-pcard p.md-go{margin-top:14px;font-weight:600;letter-spacing:.16em;color:#FFFDF9}
.et_pb_section.md-sec .md-pcard:focus-within{outline:3px solid var(--md-terra-l);outline-offset:3px}
.et_pb_section.md-sec .md-pcard h3 a:focus-visible{outline:none}

/* Un espacio único */
.et_pb_section.md-sec .md-place{display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch;background:linear-gradient(90deg,#EFE6D8,#F6EFE3);font-family:var(--md-text);font-size:16px;line-height:1.65;color:var(--md-ink)}
.et_pb_section.md-sec .md-place-img{min-height:360px;position:relative}
.et_pb_section.md-sec .md-place-img img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.et_pb_section.md-sec .md-place-txt{padding:64px 56px;display:flex;flex-direction:column;justify-content:center;max-width:620px;box-sizing:border-box}
.et_pb_section.md-sec .md-place-txt h2{font-size:clamp(2.2rem,4vw,3.3rem)}
.et_pb_section.md-sec .md-place-txt p.md-t{color:var(--md-muted);margin:10px 0 14px}
.et_pb_section.md-sec .md-place-txt .md-more{align-self:flex-start}

/* Tratamientos y tienda */
.et_pb_section.md-sec .md-thead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 30px;margin-bottom:28px}
.et_pb_section.md-sec .md-thead h2{margin-bottom:0}
.et_pb_section.md-sec .md-treats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.et_pb_section.md-sec .md-treats--4{grid-template-columns:repeat(4,1fr)}
.et_pb_section.md-sec .md-treat{position:relative;background:var(--md-white);border:1px solid var(--md-line);display:flex;flex-direction:column;transition:border-color .15s}
.et_pb_section.md-sec .md-treat-img{aspect-ratio:10/7;overflow:hidden}
.et_pb_section.md-sec .md-treat-b{padding:16px;flex-grow:1}
.et_pb_section.md-sec .md-treat h3{font-size:1.3rem;letter-spacing:-.01em;margin:0 0 6px}
.et_pb_section.md-sec .md-treat h3 a{color:var(--md-ink);text-decoration:none}
.et_pb_section.md-sec .md-treat h3 a:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}
.et_pb_section.md-sec .md-treat p{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--md-muted);line-height:1.5;margin:0}
.et_pb_section.md-sec .md-treat:hover{border-color:var(--md-terra)}
.et_pb_section.md-sec .md-treat:focus-within{outline:3px solid var(--md-terra-l);outline-offset:3px}
.et_pb_section.md-sec .md-treat h3 a:focus-visible{outline:none}
.et_pb_section.md-sec .md-ph{width:100%;height:100%;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(150deg,#F1E6D4,#DFCBAB);color:#6A5330;font-size:11px;letter-spacing:.14em;text-transform:uppercase;text-align:center;padding:10px;box-sizing:border-box}
.et_pb_section.md-sec .md-ph:before{content:"";width:44px;height:30px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='none' stroke='%2383622F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 4c4 5 4 13 0 20-4-7-4-15 0-20z'/%3E%3Cpath d='M24 24c-8-1-13-6-14-14 6 1 11 5 14 14z'/%3E%3Cpath d='M24 24c8-1 13-6 14-14-6 1-11 5-14 14z'/%3E%3Cpath d='M24 24c-9 2-16 0-20-6 5-2 12-1 20 6z'/%3E%3Cpath d='M24 24c9 2 16 0 20-6-5-2-12-1-20 6z'/%3E%3C/svg%3E") center/contain no-repeat}
.et_pb_section.md-sec .md-band--shop{background:linear-gradient(180deg,#F8F3EB,#F1E8DA)}

.et_pb_section.md-sec .md-treat p.md-kicker{font-size:11px;letter-spacing:.2em;color:var(--md-terra);margin:0 0 6px}
.et_pb_section.md-sec .md-treat p.md-desc{text-transform:none;letter-spacing:0;font-size:14px}
.et_pb_section.md-sec .md-treat .md-treat-t{font-family:var(--md-display);font-weight:400;font-size:1.3rem;letter-spacing:-.01em;line-height:1.15;margin:0 0 6px;padding:0;color:var(--md-ink)}
.et_pb_section.md-sec .md-treat .md-treat-t a{color:var(--md-ink);text-decoration:none}
.et_pb_section.md-sec .md-treat .md-treat-t a:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}
.et_pb_section.md-sec .md-treat .md-treat-t a:focus-visible{outline:none}
.et_pb_section.md-sec .md-btn--white{background:var(--md-white);border-color:var(--md-white);color:var(--md-green)}
.et_pb_section.md-sec .md-btn--white:hover{background:var(--md-terra-l);border-color:var(--md-terra-l);color:var(--md-green)}
.et_pb_section.md-sec .md-foto{margin:0}
.et_pb_section.md-sec .md-foto img{border-radius:4px;max-height:420px}

/* Opiniones */
.et_pb_section.md-sec .md-band--reviews{background:linear-gradient(180deg,#F3EADB,#EFE6D8)}
.et_pb_section.md-sec .md-rgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.et_pb_section.md-sec .md-review{background:rgba(255,253,249,.85);border-radius:4px;padding:24px}
.et_pb_section.md-sec .md-review h3{font-size:1.45rem;margin:0 0 8px}
.et_pb_section.md-sec .md-review p{color:var(--md-muted);margin:0}

/* Lista de tratamientos (se rellena desde «Datos del centro») */
.et_pb_section.md-sec .md-tlist{border-top:1px solid var(--md-line)}
.et_pb_section.md-sec .md-tlist li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 20px;padding:12px 0;border-bottom:1px solid var(--md-line);margin:0}
.et_pb_section.md-sec .md-tlist strong{font-weight:500}
.et_pb_section.md-sec .md-tlist span{color:var(--md-muted)}

@media (max-width:1100px){
  .et_pb_section.md-sec .md-treats,.et_pb_section.md-sec .md-treats--4{grid-template-columns:repeat(3,1fr)}
  .et_pb_section.md-sec .md-script{display:none}
}
@media (max-width:820px){
  .et_pb_section.md-sec .md-hero{display:flex;flex-direction:column}
  .et_pb_section.md-sec .md-hero-photo{order:1;position:relative;width:100%;height:270px;-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent 100%);mask-image:linear-gradient(180deg,#000 72%,transparent 100%)}
  .et_pb_section.md-sec .md-hero-photo img{object-position:center 22%}
  .et_pb_section.md-sec .md-hero-body{order:2;width:100%;min-height:0;padding:6px 20px 10px}
  .et_pb_section.md-sec .md-marks{order:3;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding:20px 20px 28px}
  .et_pb_section.md-sec .md-marks li{max-width:none;font-size:10px;letter-spacing:.1em}
  .et_pb_section.md-sec .md-intro,.et_pb_section.md-sec .md-place{grid-template-columns:1fr}
  .et_pb_section.md-sec .md-intro-txt{border-left:0;padding-left:0}
  .et_pb_section.md-sec .md-trio{grid-template-columns:1fr}
  .et_pb_section.md-sec .md-pcard{min-height:210px}
  .et_pb_section.md-sec .md-place-img{min-height:240px}
  .et_pb_section.md-sec .md-place-txt{padding:44px 20px}
  .et_pb_section.md-sec .md-rgrid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .et_pb_section.md-sec .md-treats,.et_pb_section.md-sec .md-treats--4{grid-template-columns:1fr 1fr;gap:10px}
  .et_pb_section.md-sec .md-treat .md-treat-t{font-size:1.15rem}
  .et_pb_section.md-sec .md-treat p{text-transform:none;letter-spacing:0;font-size:13px}
  .et_pb_section.md-sec .md-treats .md-treat:last-child:nth-child(odd){grid-column:1/-1;flex-direction:row}
  .et_pb_section.md-sec .md-treats .md-treat:last-child:nth-child(odd) .md-treat-img{width:44%;flex:none;aspect-ratio:auto;min-height:120px}
  .et_pb_section.md-sec .md-treats .md-treat:last-child:nth-child(odd) .md-treat-b{align-self:center}
  .et_pb_section.md-sec .md-treats--rows{grid-template-columns:1fr}
  .et_pb_section.md-sec .md-treats--rows .md-treat{flex-direction:row}
  .et_pb_section.md-sec .md-treats--rows .md-treat-img{width:116px;flex:none;aspect-ratio:auto;min-height:116px}
  .et_pb_section.md-sec .md-treats--rows .md-treat-b{align-self:center}
}
@media (prefers-reduced-motion:reduce){.et_pb_section.md-sec .md-treat{transition:none}}

/* ---------- Tienda (WooCommerce): mismos colores y letra que el resto ---------- */
.woocommerce h1,.woocommerce h2,.woocommerce-page h1.page-title,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--md-display);font-weight:400;letter-spacing:-.01em;color:var(--md-ink)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.3rem;padding-bottom:4px}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--md-green);font-family:var(--md-text);font-weight:600}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce-page a.button,.woocommerce-page button.button{background:var(--md-green)!important;color:#fff!important;border:1px solid var(--md-green)!important;border-radius:999px!important;font-family:var(--md-text)!important;font-size:15px!important;font-weight:500!important;padding:12px 24px!important;line-height:1.3!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#0E2626!important;border-color:#0E2626!important}
.woocommerce a.button:after,.woocommerce button.button:after{display:none!important}
.woocommerce span.onsale{background:var(--md-terra)!important;font-family:var(--md-text)}
.woocommerce .stock{color:#2F5B45;font-family:var(--md-text);font-size:14px}
.woocommerce .out-of-stock{color:#8A3A2A}
.md-stock{display:block;font-family:var(--md-text);font-size:12px;color:#2F5B45;margin:2px 0 8px}
.md-stock--low{color:#8A5A1E}
.md-stock--out{color:#8A3A2A}
.woocommerce,.woocommerce-page #main-content{font-family:var(--md-text)}
.md-tienda-activa .md-solo-sin-tienda{display:none!important}
.woocommerce-page .page-description,.woocommerce .page-description{margin:0 0 34px}
/* La tienda ocupa todo el ancho: sin la barra lateral de Divi */
.woocommerce-page #sidebar,.woocommerce #sidebar{display:none!important}
.woocommerce-page #left-area,.woocommerce #left-area{width:100%!important;padding-right:0!important;float:none!important}
.woocommerce-page #main-content .container:before,.woocommerce #main-content .container:before{display:none!important}
.woocommerce-page #main-content,.woocommerce #main-content{background:var(--md-paper)}
.woocommerce ul.products li.product a img{border-radius:4px}
.woocommerce .woocommerce-breadcrumb,.woocommerce .woocommerce-result-count{font-family:var(--md-text);color:var(--md-muted)}
.woocommerce .woocommerce-ordering select{min-height:44px;border:1px solid var(--md-line);border-radius:4px;background:var(--md-white);font-family:var(--md-text);padding:0 10px}
.woocommerce .quantity .qty{min-height:46px;border:1px solid #9A927F;border-radius:4px;background:#fff;color:var(--md-ink)}
@media (max-width:640px){.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{width:48%!important;margin:0 4% 24px 0!important}.woocommerce ul.products[class*=columns-] li.product:nth-child(2n),.woocommerce-page ul.products[class*=columns-] li.product:nth-child(2n){margin-right:0!important}.woocommerce ul.products li.product .button{width:100%;text-align:center;box-sizing:border-box}}


/* ---------- V13 · Pulido premium y catálogo completo ---------- */
.et_pb_section.md-sec .md-treat{background:#fff;border:1px solid var(--md-line);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.et_pb_section.md-sec .md-treat:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(22,53,53,.10);border-color:#d1c1aa}
.et_pb_section.md-sec .md-treat-img{background:#eee4d5;overflow:hidden}
.et_pb_section.md-sec .md-treat-img img{transition:transform .45s ease}
.et_pb_section.md-sec .md-treat:hover .md-treat-img img{transform:scale(1.025)}
.et_pb_section.md-sec .md-treats--5{grid-template-columns:repeat(5,minmax(0,1fr))}
.et_pb_section.md-sec .md-photo-note{font-size:.78rem;color:var(--md-muted);margin-top:12px}
.et_pb_section.md-sec .md-incense-hero{display:grid;grid-template-columns:1fr 1fr;gap:0;background:var(--md-cream)}
.et_pb_section.md-sec .md-incense-hero .md-copy{padding:80px 64px;display:flex;flex-direction:column;justify-content:center}
.et_pb_section.md-sec .md-incense-hero .md-photo{min-height:470px;overflow:hidden}
.et_pb_section.md-sec .md-incense-hero .md-photo img{width:100%;height:100%;object-fit:cover}
@media(max-width:980px){.et_pb_section.md-sec .md-treats--5{grid-template-columns:repeat(2,minmax(0,1fr))}.et_pb_section.md-sec .md-incense-hero{grid-template-columns:1fr}.et_pb_section.md-sec .md-incense-hero .md-copy{padding:52px 24px}.et_pb_section.md-sec .md-incense-hero .md-photo{min-height:330px}}
@media(max-width:640px){.et_pb_section.md-sec .md-treats--5{grid-template-columns:1fr}.et_pb_section.md-sec .md-treat-img{aspect-ratio:1.35}.et_pb_section.md-sec .md-treat-img img{width:100%;height:100%;object-fit:cover}}

/* V14 · tienda Sagrada Madre */
.woocommerce ul.products li.product{background:#fff;border:1px solid rgba(16,63,57,.12);padding:0 0 18px;overflow:hidden;border-radius:2px;transition:.22s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(16,63,57,.10)}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:#fbf7ef;padding:14px;margin:0 0 16px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--md-serif,Georgia,serif);font-size:20px!important;line-height:1.15;padding:0 16px!important;color:#173d37}
.woocommerce ul.products li.product .price{padding:0 16px;color:#a56f49!important}
.woocommerce ul.products li.product .md-stock{margin:8px 16px 0}
.md-stock{display:block;font-size:12px;color:#3f5f56}
.md-stock--low{color:#a05d2a;font-weight:700}.md-stock--out{color:#9a3b35;font-weight:700}.md-stock--pending{color:#7a807c;font-style:italic}
.woocommerce div.product div.images img{background:#fbf7ef;object-fit:contain}
.woocommerce .products .product_cat-sagrada-madre .button{display:none}

/* V15 final tienda: catálogo Sagrada Madre gestionado desde WooCommerce */


/* =========================================================
   MANDIRA · FIX CABECERA / LOGO NO PISA MENÚ
   ========================================================= */

@media (min-width: 981px) {
  #main-header .container,
  .et_header_style_left #main-header .container {
    display: flex !important;
    align-items: center !important;
    width: min(94%, 1280px) !important;
    max-width: 1280px !important;
  }

  #main-header .logo_container,
  .et_header_style_left .logo_container {
    position: relative !important;
    width: 220px !important;
    min-width: 220px !important;
    height: auto !important;
    padding: 8px 24px 8px 0 !important;
    flex: 0 0 220px !important;
  }

  #main-header #logo,
  .et_header_style_left #logo {
    display: block !important;
    width: auto !important;
    max-width: 195px !important;
    max-height: 58px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    transform: none !important;
  }

  #et-top-navigation,
  .et_header_style_left #et-top-navigation {
    float: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  #top-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
  }

  #top-menu > li {
    padding-right: 18px !important;
  }

  #top-menu > li:last-child {
    padding-right: 0 !important;
  }

  #top-menu a {
    white-space: nowrap !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  #main-header .logo_container,
  .et_header_style_left .logo_container {
    width: 180px !important;
    min-width: 180px !important;
    flex-basis: 180px !important;
    padding-right: 16px !important;
  }

  #main-header #logo,
  .et_header_style_left #logo {
    max-width: 160px !important;
    max-height: 52px !important;
  }

  #top-menu > li {
    padding-right: 11px !important;
  }

  #top-menu a {
    font-size: 13px !important;
  }
}

@media (max-width: 980px) {
  #main-header .container {
    min-height: 72px !important;
  }

  #main-header .logo_container {
    position: relative !important;
    width: calc(100% - 72px) !important;
    max-width: calc(100% - 72px) !important;
    height: 72px !important;
    padding: 8px 0 !important;
  }

  #main-header #logo {
    max-width: 170px !important;
    max-height: 54px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  #et-top-navigation {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .mobile_menu_bar {
    padding-bottom: 0 !important;
  }
}
\n\n/* ===== MANDIRA V17 ESTABLE · ajustes finales ===== */
.md-mbar{grid-template-columns:1fr 1fr!important}
.md-mbar a[data-md-booking-open]{background:var(--md-terra)!important;color:#fff!important}
.md-service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:22px 0 0;padding:0;list-style:none}
.md-service-list li{border-bottom:1px solid rgba(18,61,54,.14);padding:10px 0}
.md-service-list a{text-decoration:none;color:var(--md-green);font-weight:600}
.md-service-list a:hover{text-decoration:underline}
.md-booking-modal{position:fixed;inset:0;z-index:999999;display:none}
.md-booking-modal.is-open{display:block}
.md-booking-backdrop{position:absolute;inset:0;background:rgba(8,30,27,.62);backdrop-filter:blur(5px)}
.md-booking-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(620px,calc(100% - 28px));max-height:calc(100vh - 28px);overflow:auto;background:#fffdf8;padding:34px;box-shadow:0 28px 90px rgba(0,0,0,.25)}
.md-booking-close{position:absolute;right:18px;top:14px;border:0;background:none;font-size:30px;color:#173d37;cursor:pointer}
.md-booking-progress{height:3px;background:#e8dfd4;margin:-34px -34px 30px;overflow:hidden}.md-booking-progress span{display:block;width:20%;height:100%;background:var(--md-terra);transition:.25s}
.md-booking-step{display:none}.md-booking-step.is-active{display:block}.md-booking-step label{display:block;margin:16px 0 0;font-weight:600;font-size:13px}.md-booking-step input,.md-booking-step select,.md-booking-step textarea{display:block;width:100%;padding:13px;margin-top:6px;border:1px solid #c9d1cc;background:#fff;font:inherit}.md-booking-nav{display:flex;gap:10px;justify-content:space-between;margin-top:20px}.md-booking-check{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important}.md-booking-check input{width:auto!important;margin-top:3px!important}.md-booking-success{padding:20px;background:#e7efe8;margin-bottom:20px}.md-product-empty{padding:24px;border:1px solid rgba(18,61,54,.14);background:#fff}
@media(max-width:760px){.md-service-list{grid-template-columns:1fr}.md-booking-dialog{padding:26px 18px}.md-booking-progress{margin:-26px -18px 24px}}
