/* Ristorante Renato v39 — Pulsanti principali consenso visivamente uniformi.
   Non modifica la logica del consenso, né i tasti della finestra preferenze. */

/* Due colonne rigorosamente uguali, con identica altezza. */
.rn-consent-banner .rn-consent-actions {
  display: grid;
  width: 340px;
  flex-shrink: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 9px;
}

/* Stato normale uguale per Accetta e Personalizza. */
.rn-consent-banner .rn-consent-actions .rn-consent-btn {
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 11px 12px;
  border: 1px solid #b08a58;
  border-radius: 3px;
  background: #1a120e;
  color: #e7c398;
  font: 700 11px/1.4 Manrope, Arial, sans-serif;
  letter-spacing: .035em;
  white-space: normal;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

/* Entrambi diventano chiari solo con hover o focus da tastiera. */
.rn-consent-banner .rn-consent-actions .rn-consent-btn:hover,
.rn-consent-banner .rn-consent-actions .rn-consent-btn:focus-visible {
  background: #e1bd89;
  color: #201710;
  border-color: #e1bd89;
}

.rn-consent-banner .rn-consent-actions .rn-consent-btn:focus-visible {
  outline: 2px solid #f5e4bf;
  outline-offset: 2px;
}

/* Su tablet e telefono restano affiancati e occupano tutta la larghezza. */
@media (max-width: 840px) {
  .rn-consent-banner .rn-consent-actions { width: 100%; }
}
@media (max-width: 510px) {
  .rn-consent-banner .rn-consent-actions { gap: 7px; }
  .rn-consent-banner .rn-consent-actions .rn-consent-btn { min-height: 44px; padding: 10px 8px; }
}
