/* DermoPiedra CMS V1 - SOLO CLON cligasat.com - 2026-10-21.
   CSS original del tema conservado. Dos correcciones aisladas.
   Prueba visual/funcional pendiente, NO PRODUCCION. */

/* Cabecera escritorio: distribucion y separaciones comprobadas en consola. */
@media screen and (min-width: 992px) {
  body#cms #header .box-top > :first-child {
    flex: 0 0 18% !important;
    width: 18% !important;
    min-width: 0;
  }
  body#cms #header .box-top > :nth-child(2) {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0;
  }
  body#cms #header .box-top > :nth-child(3) {
    flex: 0 0 auto !important;
  }
  body#cms #header .leo-megamenu .navbar-nav > li > a {
    padding-left: 11px;
    padding-right: 11px;
  }
}

/* Footer movil: misma disposicion de columnas directas validada en
   confirmacion de pedido V2, restringida al controlador CMS. */
@media screen and (max-width: 767px) {
  body#cms #footer .box-footerlink2 > .ApColumn {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    clear: both;
  }
  body#cms #footer .box-footerlink2 > .ApColumn + .ApColumn {
    margin-top: 14px;
  }
}
