/*
Theme Name: Un Detalle
Theme URI: https://undetalle.com
Author: Un Detalle Team
Author URI: https://undetalle.com
Description: Tema personalizado para florería Un Detalle con WooCommerce y Elementor Pro
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: undetalle
Tags: e-commerce, woocommerce, flowers, custom-colors, custom-menu, elementor
*/

/* ============================================
   VARIABLES CSS BASADAS EN LA GUÍA DE ESTILO
   ============================================ */
:root {
	/* Colores principales */
	--color-primary: #EC5970;
	--color-secondary: #C8B1B1;
	--color-dark: #161819;
	--color-white: #FFFFFF;
	
	/* Tipografía */
	--font-primary: 'Poppins', sans-serif;
	--font-secondary: 'Poppins', sans-serif;
	
	/* Espaciado */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 1.5rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;
	
	/* Transiciones */
	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s ease;
	--transition-slow: 0.5s ease;
	
	/* Border radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-full: 50%;
	
	/* Sombras */
	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
	--shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESET Y BASE STYLES
   ============================================ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	color: var(--color-dark);
	background-color: var(--color-white);
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-secondary);
	font-weight: 700;
	line-height: 1.2;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button {
	cursor: pointer;
	border: none;
	background: none;
	font-family: inherit;
}

input, textarea, select {
	font-family: inherit;
	font-size: inherit;
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.container-fluid {
	max-width: 100%;
	padding: 0 var(--spacing-md);
}

/* Botones */
.btn {
	display: inline-block;
	padding: 12px 32px;
	border-radius: var(--radius-md);
	font-weight: 600;
	text-align: center;
	transition: all var(--transition-normal);
	cursor: pointer;
	border: 2px solid transparent;
}

.btn-primary {
	background-color: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-white);
}

.btn-primary:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.btn-secondary {
	background-color: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.btn-secondary:hover {
	background-color: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-primary);
}

/* Texto */
.text-center {
	text-align: center;
}

.text-primary {
	color: var(--color-primary);
}

/* Ocultar elementos */
.hidden {
	display: none !important;
}

/* Animaciones */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
	html {
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	html {
		font-size: 14px;
	}
	
	.container {
		padding: 0 var(--spacing-sm);
	}
}

@media (max-width: 480px) {
	:root {
		--spacing-md: 1rem;
		--spacing-lg: 1.5rem;
		--spacing-xl: 2rem;
	}
}


