/*
Theme Name: MonteSoprano (Hello Child)
Theme URI: https://montesoprano.it
Description: Child theme di Hello Elementor per l'hub MonteSoprano (Monti SRL): shop carne/salumi (WooCommerce guest-only, peso fisso), menu multi-sede, agriturismo Cerami. Design system "Allevatori Editoriale". Stack: WordPress, PHP 8.3, Elementor, WooCommerce, LiteSpeed su Hostinger.
Author: NEXUMA
Author URI: https://nexuma.net
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ms
Tags: elementor, woocommerce, custom-child
*/

/* ============================================================
   style.css — SOLO reset/base minime.
   NIENTE @import del parent (gli stili Hello arrivano via enqueue,
   inc/enqueue.php). Token, componenti e animazioni stanno in:
     assets/css/ms-tokens.css
     assets/css/ms-components.css
     assets/css/ms-animations.css
   ============================================================ */

/* Box model coerente su tutto l'albero */
*,
*::before,
*::after { box-sizing: border-box; }

/* Reset margini di base (Elementor gestisce il resto delle sezioni) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }

/* Media fluidi, mai overflow orizzontale */
img,
picture,
video,
canvas,
svg { max-width: 100%; height: auto; display: block; }

/* Form elements ereditano la tipografia (i token la definiscono altrove) */
button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

/* Focus visibile e accessibile — un solo anello, coerente col brand.
   Il colore usa i token quando disponibili, con fallback al rosso canonico. */
:focus-visible {
  outline: 2px solid var(--ms-red, #D41119);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Rispetto delle preferenze utente sul movimento (regola ferrea del design system).
   Le animazioni vere vivono in ms-animations.css con i propri @media;
   qui solo una rete di sicurezza globale. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
