/*
Theme Name: Astra Riproman Child
Theme URI: https://riproman.com/
Description: Tema hijo de Astra para Riproman con footer móvil de acciones rápidas.
Author: OpenAI
Author URI: https://openai.com/
Template: astra
Version: 1.0.0
Text Domain: astra-riproman-child
*/

/* Hereda estilos del padre. Este archivo queda disponible por si quieres añadir más CSS. */

/* ===== Barra de acciones móvil ===== */
:root{
  --riproman-action-bg:#f4dda3;
  --riproman-action-text:#000000;
  --riproman-action-border:rgba(0,0,0,.15);
  --riproman-footer-h:72px;
}

body{
  padding-bottom:0;
}

.riproman-actionbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:var(--riproman-footer-h);
  background:#0070c4;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--riproman-action-border);
  z-index:9999;
  box-shadow:0 -3px 12px rgba(0,0,0,.08);
}

.riproman-actionbar a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:8px 6px;
  color:var(--riproman-action-text);
  text-decoration:none;
  font-size:12px;
  line-height:1.2;
  font-weight:600;
}

.riproman-actionbar a:hover,
.riproman-actionbar a:focus{
  background:rgba(255,255,255,.18);
  color:var(--riproman-action-text);
}

.riproman-actionbar svg{
  width:22px;
  height:22px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (max-width: 921px){
  body.admin-bar .riproman-actionbar{
    bottom:46px;
  }

  body{
    padding-bottom:var(--riproman-footer-h);
  }
}

@media (max-width: 782px){
  body.admin-bar .riproman-actionbar{
    bottom:0;
  }
}

@media (min-width: 922px){
  .riproman-actionbar{
    display:none;
  }

  body{
    padding-bottom:0;
  }
}
