/*
Theme Name: Vino Improvisado Child
Theme URI: https://vinoimprovisado.com
Description: Tema hijo de Anggita. Unifica las páginas secundarias (carrito, checkout, cuenta, legales, 404, búsqueda) con la identidad de marca de Vino Improvisado (Nunito + paleta oficial + botones). La home es una página Elementor Canvas autónoma, por eso estas reglas se excluyen con body:not(.home).
Author: Vino Improvisado
Template: anggita
Version: 3.0.0
Text Domain: vino-improvisado-child
*/

:root{
  --vi-burgundy:#78023e; --vi-burgundy-d:#4a0226; --vi-cream:#f4f8e1; --vi-ink:#1f1f1f;
  --vi-amber:#fcb44c; --vi-orange:#ff5500;
  --vi-grad:linear-gradient(135deg,#fcb44c,#ff5500);
}

/* ===== Identidad de marca en TODAS las páginas menos la home ===== */
body:not(.home){ font-family:'Nunito',system-ui,sans-serif; color:var(--vi-ink); background:var(--vi-cream); font-size:18px; line-height:1.6; }
body:not(.home) h1, body:not(.home) h2, body:not(.home) h3,
body:not(.home) h4, body:not(.home) h5, body:not(.home) h6{
  font-family:'Nunito',system-ui,sans-serif; font-weight:700; color:var(--vi-burgundy); letter-spacing:-.01em;
}
body:not(.home) a{ color:var(--vi-burgundy); }
body:not(.home) a:hover{ color:var(--vi-orange); }

/* Botones de marca (tema, WooCommerce, Elementor) */
body:not(.home) .button, body:not(.home) button, body:not(.home) input[type="submit"],
body:not(.home) .elementor-button, body:not(.home) .content-btn,
body:not(.home) .woocommerce a.button, body:not(.home) .woocommerce button.button,
body:not(.home) .woocommerce input.button, body:not(.home) .woocommerce #respond input#submit{
  background:var(--vi-grad) !important; color:var(--vi-ink) !important; border:none !important;
  border-radius:999px !important; font-family:'Nunito',sans-serif !important; font-weight:700 !important;
  padding:13px 30px !important; box-shadow:0 8px 22px rgba(252,180,76,.30) !important;
  text-transform:none !important; transition:transform .2s, filter .2s;
}
body:not(.home) .button:hover, body:not(.home) .content-btn:hover,
body:not(.home) .woocommerce a.button:hover, body:not(.home) .woocommerce button.button:hover{
  transform:translateY(-2px); filter:brightness(1.05);
}

/* WooCommerce acentos de marca */
body:not(.home) .woocommerce .price, body:not(.home) .woocommerce-Price-amount{ color:var(--vi-burgundy); font-weight:700; }
body:not(.home) .woocommerce-message, body:not(.home) .woocommerce-info, body:not(.home) .woocommerce-error{ border-top-color:var(--vi-amber) !important; }

/* Inputs */
body:not(.home) input, body:not(.home) select, body:not(.home) textarea{ font-family:'Nunito',sans-serif; border-radius:10px; }
body:not(.home) input:focus, body:not(.home) select:focus, body:not(.home) textarea:focus{ outline:2px solid var(--vi-amber); border-color:var(--vi-orange); }

/* 404 fallback (por si algún template usa estas clases) */
body:not(.home) .error-title{ color:var(--vi-burgundy); font-size:clamp(4rem,14vw,7rem); font-weight:800; }
body:not(.home) .error-text{ font-size:1.3rem; }
