/* ===== Cargando ===== */
.body__preloader{position:fixed;top:0;left:0;width:100%;height:100%;background:#fff;opacity:1;visibility:visible;z-index:2147483647;transition:opacity .6s ease,visibility .6s ease;display:flex;align-items:center;justify-content:center}
.body__preloader.loaded{opacity:0;visibility:hidden;pointer-events:none}
#loading{width:100px;height:150px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwJ5vhuS4B9QT5jxC4rBRDfDXp9TZJOg-Um2B_jh0_X7XtUWHMd8hJz9z-Hk82MVdh0ZBWJFHdaRYiAJBbVKaATVTxAFUrJv4EfclhQWCSG04-rxuNUW9DU7tBmanIWPxEMqKOwZb4myx2aKlxszLOx6NVanyEsGdvCdNG8A6lbVTZcV4LO31el5EwC_rv/s1000/tarta.png) no-repeat center center/contain}
@media(max-width:768px){#loading{width:100px;height:100px}}
/* Boton WhatsApp */
.wa-btn-text{position:fixed;bottom:20px;right:20px;background:#25D366;color:#fff;display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:50px;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 5px 15px rgba(0,0,0,.2);z-index:9999999;transition:.3s}.wa-btn-text svg{width:20px;height:20px;fill:#fff}.wa-btn-text:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 8px 20px rgba(0,0,0,.3)}@media(max-width:768px){.wa-btn-text{bottom:15px;right:15px;padding:10px 14px;font-size:13px}}
body{
  font-family:'Roboto',sans-serif;
  font-size:16px
}
html,body{overflow-x:hidden}
img{max-width:100%;height:auto}

/* TIPOGRAFÍA GLOBAL (MEJORADA) */
h1{font-size:clamp(1.5rem,2.5vw,2rem)}
h2{font-size:clamp(1.3rem,2vw,1.6rem)}

/* GRID */
.post-grid{display:grid!important;grid-template-columns:repeat(2,1fr);gap:2rem}

/* TARJETAS */
.post-card,.post-card-grid{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.08);transition:.3s}
.post-card:hover{transform:translateY(-5px)}
.post-image,.post-card img{width:100%;height:220px;object-fit:cover}

/* COMMENTS */
.comments iframe{width:100%!important;transform:scale(.92);transform-origin:top center}

/* POPUP */
.popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.75);display:none;justify-content:center;align-items:center;z-index:999999999}

/* SLIDER */
.slide{display:flex;align-items:flex-end;justify-content:flex-start;padding:1.5rem;box-sizing:border-box;min-height:250px}
.slide-content{background:rgba(0,0,0,.4);padding:1rem 1.2rem;border-radius:12px;max-width:90%;width:fit-content;backdrop-filter:blur(4px)}
.slide-content h3{font-size:clamp(1.1rem,2vw,1.6rem);line-height:1.2;margin-bottom:.4rem}
.slide-content p{font-size:clamp(.9rem,1.5vw,1rem);margin-bottom:.6rem}
.slide-content a{display:inline-block;font-size:.9rem;padding:6px 10px}

/* RESPONSIVE */
@media(max-width:768px){

.post-grid{grid-template-columns:1fr}

h1{font-size:1.4rem}
h2{font-size:1.2rem}

.slide{padding:1rem;min-height:200px}
.slide-content{max-width:100%;padding:.8rem}
.slide-content h3{font-size:1.1rem}
.slide-content p{font-size:.85rem}

}
/* ===== CATÁLOGO ===== */
.catalogo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:20px}
.catalogo-card{background:var(--card-bg);border-radius:12px;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.08);transition:.3s}
.catalogo-card:hover{transform:translateY(-5px)}
.catalogo-img{width:100%;height:200px;object-fit:cover}
.catalogo-content{padding:15px}
.catalogo-content h3{font-size:1.1rem;margin-bottom:8px}
.catalogo-content p{text-align:justify;font-size:.9rem;margin-bottom:10px;color:var(--text-secondary)}
.catalogo-precio{font-weight:bold;color:#e91e63;margin-bottom:10px}
.catalogo-btn{display:block;text-align:center;background:#25D366;color:#fff;padding:10px;border-radius:8px;text-decoration:none;font-weight:600}
@media(max-width:768px){.catalogo-grid{grid-template-columns:1fr}}
/* ===== para Post de Tortas personalizadas, pasteles, Dulces y cupcakes ===== */
.post-dulce{font-family:Arial,sans-serif;line-height:1.7;max-width:750px;margin:auto;padding:0 10px}
.post-dulce h2,.post-dulce h3{text-align:center}
.post-dulce h2{color:#b02a6f;font-size:clamp(1.5rem,2.5vw,2rem);margin-bottom:10px}
.post-dulce h3{color:#e63946;margin:25px 0 10px}
.post-dulce p{text-align:justify;font-size:16px;color:var(--text)}
.post-dulce .intro{text-align:justify;font-size:16px}
.post-dulce ul{padding-left:20px;margin:10px 0}
.post-dulce li{margin-bottom:6px}
.post-img{text-align:center;margin:25px 0}
.post-img img{max-width:100%;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.15)}
.post-btn{text-align:center;margin-top:30px}
.post-btn a{background:linear-gradient(135deg,#25D366,#128C7E);color:#fff;padding:14px 28px;border-radius:8px;text-decoration:none;font-size:17px;font-weight:600;display:inline-block;transition:.3s}
.post-btn a:hover{transform:translateY(-2px);box-shadow:0 6px 15px rgba(37,211,102,.4)}
.post-dulce .ubicacion{text-align:center;font-size:14px;color:var(--text-secondary);margin-top:30px}
/* ===Sobre Dulce Encanto=== */
/* CONTENEDOR GENERAL (ASEGURA BUEN ANCHO) */
.about-dulce-encanto {
  background: var(--card-bg, #fff);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 100%;
}

/* IMAGEN ARRIBA */
.about-dulce-encanto img {
  width: 120px;
  margin: 0 auto 15px;
  display: block;
}

/* TÍTULO */
.about-dulce-encanto h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #e91e63;
}

/* TEXTO */
.about-dulce-encanto p {
  text-align: justify;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

/* UBICACIÓN */
.about-dulce-encanto .info {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #666;
}

/* BOTONES */
.about-dulce-encanto .btn {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

/* WHATSAPP */
.about-dulce-encanto .btn-whatsapp {
  background: #25D366;
}

/* FACEBOOK */
.about-dulce-encanto .btn-facebook {
  background: #1877f2;
}

.about-desc,
.about-extra {
  color: inherit !important;
}
  
/* 🔥 CLAVE: EVITAR QUE SE APLASTE EN GRID */
.post-grid .about-dulce-encanto,
.post-card .about-dulce-encanto {
  grid-column: span 2; /* ocupa más espacio */
}
/* 📱 MOBILE OPTIMIZADO (CLAVE) */
@media(max-width:768px){
  .about-card{
    flex-direction:column;
    text-align:center;
    padding:18px;
    gap:12px;
  }
  .about-img{
    flex:none;
  }
  .about-img img{
    max-width:140px;
    margin:auto;
  }
  .about-content{
    max-width:320px;
    margin:auto;
  }
  .about-content h3{
    font-size:1.4rem;
  }
  .about-desc{
    font-size:0.92rem;
  }
  .about-extra{
    font-size:0.85rem;
  }
  .about-buttons{
    justify-content:center;
  }
  .btn-about{
    padding:8px 12px;
    font-size:0.85rem;
  }
}
  
/* Botón Subir Arriba */
#backToTop{position:fixed;bottom:20px;left:20px;background:var(--primary);color:#fff;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:.3s;opacity:0;visibility:hidden;z-index:999}#backToTop.show{opacity:1;visibility:visible}#backToTop:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.25)}#backToTop i{font-size:1.5rem}

/* del Sidebar */
.sidebar-box{
  background:var(--bg);
  padding:18px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  font-family:'Segoe UI',Arial;
}
.sidebar-title{font-size:18px;margin-bottom:8px;color:var(--primary);}
.sidebar-desc{font-size:14px;color:var(--text-secondary);margin-bottom:14px;line-height:1.5;}
.btn-whatsapp{display:block;background:#25D366;color:#fff;text-align:center;padding:12px;border-radius:10px;text-decoration:none;font-weight:600;margin-bottom:14px;}
.btn-main{display:block;background:#003366;color:#fff;text-align:center;padding:12px;border-radius:10px;text-decoration:none;font-weight:600;margin-top:12px;}
.promo-box{background:#fff5f5;border:1px solid #ffdede;padding:12px;border-radius:10px;margin-bottom:14px;font-size:14px;}
.promo-box strong{color:#e60023;}
.testimonios{margin-bottom:14px;}
.testimonios h4{font-size:15px;margin-bottom:8px;}
.testimonio{font-size:13px;background:rgba(0,0,0,.03);padding:10px;border-radius:8px;margin-bottom:8px;}
.testimonio span{display:block;font-size:12px;color:#777;margin-top:4px;}
.categorias{margin-bottom:14px;}
.categorias h4{font-size:15px;margin-bottom:8px;}
.categorias a{display:block;font-size:14px;margin-bottom:6px;text-decoration:none;color:var(--text);}
