/* ══════════════════════════════════════════════════════════════
   INDUSTRIAS DONATO - SISTEMA DE DISEÑO ULTRA-PREMIUM (VANILLA CSS)
   ══════════════════════════════════════════════════════════════ */

/* 1. RESET Y CONFIGURACIONES DE BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --color-dark-pure: #09090b;
    --color-dark-bg: #0c0c0e;
    --color-dark-card: #151518;
    --color-dark-input: #1a1a1e;
    --color-light-pure: #ffffff;
    --color-light-text: #f4f4f5;
    --color-zinc-100: #f4f4f5;
    --color-zinc-200: #e4e4e7;
    --color-zinc-300: #d4d4d8;
    --color-zinc-400: #a1a1aa;
    --color-zinc-500: #71717a;
    --color-zinc-600: #52525b;
    --color-zinc-700: #3f3f46;
    --color-zinc-800: #27272a;
    
    /* Luxury Amber/Gold Accents */
    --color-amber-500: #d97706; /* Primary warm amber */
    --color-amber-400: #f59e0b; /* Light hover amber */
    --color-amber-300: #fbbf24; /* Extra bright gold */
    --color-amber-500-rgb: 217, 119, 6;
    --color-amber-400-rgb: 245, 158, 11;
    
    /* Emerald/Success Accents */
    --color-emerald-400: #34d399;
    --color-emerald-500: #10b981;
    --color-emerald-rgb: 16, 185, 129;

    /* Fonts */
    --font-cinzel: 'Cinzel', serif;
    --font-outfit: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Spacing & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. CLASES DE ESTRUCTURA Y GRID */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Mobile Grid por defecto */
.grid {
    display: grid;
    grid-template-columns: 1fr;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.shrink-0 {
    flex-shrink: 0;
}

/* Gaps */
.gap-2.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* 3. BREAKPOINTS Y DISEÑO RESPONSIVO (MOBILE FIRST) */
@media (min-width: 640px) {
    .sm\:inline-flex {
        display: inline-flex;
    }
    .sm\:flex-row {
        flex-direction: row;
    }
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:p-12 {
        padding: 3rem;
    }
    .grid-cols-1.md\:grid-cols-\[1\.2fr_1\.8fr\] {
        grid-template-columns: 1.2fr 1.8fr;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:text-left {
        text-align: left;
    }
}

/* 4. PALETA DE COLORES UTILERÍAS */
.bg-dark { background-color: var(--color-dark-bg); }
.bg-dark-secondary { background-color: var(--color-dark-card); }
.text-light { color: var(--color-light-text); }
.text-white { color: var(--color-light-pure); }

.bg-zinc-800 { background-color: var(--color-zinc-800); }
.bg-zinc-850 { background-color: var(--color-dark-input); }
.bg-zinc-900 { background-color: var(--color-dark-card); }
.bg-zinc-950 { background-color: var(--color-dark-pure); }

.bg-zinc-900\/60 { background: rgba(21, 21, 24, 0.6); }
.bg-zinc-900\/40 { background: rgba(21, 21, 24, 0.4); }
.bg-zinc-950\/80 { background: rgba(9, 9, 11, 0.8); }
.bg-zinc-905\/90 { background: rgba(9, 9, 11, 0.9); }

.text-zinc-300 { color: var(--color-zinc-300); }
.text-zinc-400 { color: var(--color-zinc-400); }
.text-zinc-500 { color: var(--color-zinc-500); }
.text-zinc-600 { color: var(--color-zinc-600); }
.text-zinc-950 { color: var(--color-dark-pure); }

.bg-amber-500 { background-color: var(--color-amber-500); }
.bg-amber-500\/10 { background-color: rgba(var(--color-amber-500-rgb), 0.1); }
.bg-amber-500\/15 { background-color: rgba(var(--color-amber-500-rgb), 0.15); }
.bg-amber-500\/2.5 { background-color: rgba(var(--color-amber-500-rgb), 0.025); }
.bg-amber-500\/5 { background-color: rgba(var(--color-amber-500-rgb), 0.05); }

.bg-orange-500\/5 { background-color: rgba(249, 115, 22, 0.05); }

.text-amber-500 { color: var(--color-amber-400); }
.text-amber-400 { color: var(--color-amber-300); }
.text-emerald-400 { color: var(--color-emerald-400); }
.bg-emerald-500\/10 { background-color: rgba(var(--color-emerald-rgb), 0.1); }

/* Bordes */
.border { border: 1px solid transparent; }
.border-dashed { border-style: dashed; }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white-5 { border-color: rgba(255, 255, 255, 0.05); }
.border-zinc-700\/60 { border-color: rgba(63, 63, 70, 0.6); }
.border-zinc-800 { border-color: var(--color-zinc-800); }
.border-zinc-700 { border-color: var(--color-zinc-700); }
.border-amber-500\/30 { border-color: rgba(var(--color-amber-500-rgb), 0.3); }
.border-amber-500\/20 { border-color: rgba(var(--color-amber-500-rgb), 0.2); }
.border-amber-500\/25 { border-color: rgba(var(--color-amber-500-rgb), 0.25); }
.border-emerald-500\/30 { border-color: rgba(var(--color-emerald-rgb), 0.3); }
.border-emerald-500\/25 { border-color: rgba(var(--color-emerald-rgb), 0.25); }

/* 5. TIPOGRAFÍA Y TEXTOS UTILERÍAS */
.font-cinzel { font-family: var(--font-cinzel), serif; }
.font-outfit { font-family: var(--font-outfit), sans-serif; }
.font-mono { font-family: var(--font-mono), monospace; }

.text-center { text-align: center; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }

.font-black { font-weight: 900; }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.15em; }

.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-3xl { font-size: 1.875rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-xxs { font-size: 0.65rem; }
.text-3xs { font-size: 0.55rem; }

@media (max-width: 640px) {
    .text-4xl { font-size: 1.75rem; }
    .text-5xl { font-size: 2.25rem; }
    .text-6xl { font-size: 2.75rem; }
    .text-3xl { font-size: 1.5rem; }
}

/* 6. SPACING (MARGINS & PADDINGS) UTILERÍAS */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-4 { padding-top: 1rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-24 { padding-top: 6rem; }
.pb-12 { padding-bottom: 3rem; }

.mt-0.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-xl { max-w: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }

/* 7. REDONDEADO Y ALTURA/ANCHURA (DIMENSIONS) UTILERÍAS */
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-16 { width: 4rem; }
.h-2 { height: 0.5rem; }
.w-28 { width: 7rem; }
.h-28 { height: 7rem; }
.w-32 { width: 8rem; }
.h-6 { height: 1.5rem; }
.w-72 { width: 18rem; }
.h-[32rem] { height: 32rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-64 { height: 16rem; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-\[2\.8rem\] { border-radius: 2.8rem; }
.rounded-\[3\.5rem\] { border-radius: 3.5rem; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Posicionamiento y Capas */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.top-1\/4 { top: 25%; }
.left-1\/4 { left: 25%; }
.bottom-1\/4 { bottom: 25%; }
.right-1\/4 { right: 25%; }
.top-1\/2 { top: 50%; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.min-h-screen { min-height: 100vh; }

.opacity-0 { opacity: 0; }

/* 8. EFECTOS ESPECIALES Y DISEÑO PREMIUM */

/* Glassmorphism y Desenfoques */
.header-blur {
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bg-white-3 {
    background: rgba(255, 255, 255, 0.03);
}

.bg-white-5 {
    background: rgba(255, 255, 255, 0.05);
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.1);
}

/* Sombreado Luxury */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
}

.shadow-lg {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

.shadow-xl {
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 12px 15px -8px rgba(0, 0, 0, 0.6);
}

.shadow-2xl {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
}

/* Sombras de Acento Dorado */
.shadow-amber-500\/15 {
    box-shadow: 0 10px 25px -5px rgba(var(--color-amber-500-rgb), 0.15);
}

.shadow-amber-500\/20 {
    box-shadow: 0 20px 35px -10px rgba(var(--color-amber-500-rgb), 0.2);
}

.shadow-amber-500\/30 {
    box-shadow: 0 20px 35px -5px rgba(var(--color-amber-500-rgb), 0.3);
}

.shadow-amber-500\/5 {
    box-shadow: 0 20px 35px -10px rgba(var(--color-amber-500-rgb), 0.05);
}

/* Glow Orbs y Fondos Radiales */
.blur-\[120px\] { filter: blur(120px); }
.blur-\[150px\] { filter: blur(150px); }

.bg-radial-overlay {
    background: radial-gradient(circle at center, transparent 30%, var(--color-dark-pure) 100%);
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--color-amber-400), var(--color-amber-500));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, rgba(var(--color-amber-400-rgb), 0.05), transparent);
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* SVG icons size */
.w-3.5 { width: 0.875rem; }
.h-3.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }

/* 9. TRANSICIONES Y HOVERS DINÁMICOS */
.transition-all {
    transition: var(--transition-smooth);
}

.transition-colors {
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Botones y CTAs */
.bg-amber-500:hover {
    background-color: var(--color-amber-400);
}

.bg-amber-500:active {
    background-color: #b45309; /* darker amber */
}

.hover\:-translate-y-0\.5:hover {
    transform: translateY(-2px);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-5px);
}

/* Navegación Enlaces */
header nav a {
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-amber-400);
    transition: var(--transition-fast);
}

header nav a:hover::after {
    width: 100%;
}

header.sticky-header {
    background: rgba(9, 9, 11, 0.9);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Efectos de Grupo Hover en Logo y Catalog */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-102 {
    transform: scale(1.02);
}

.group:hover .group-hover\:shadow-lg {
    box-shadow: 0 10px 25px -5px rgba(var(--color-amber-500-rgb), 0.25);
}

.group:hover .group-hover\/btn\:translate-x-0\.5 {
    transform: translateX(2px);
}

.catalog-item {
    transition: var(--transition-smooth);
}

.catalog-item:hover {
    transform: translateY(-8px);
}

/* Menú Móvil overlay */
#mobileMenu {
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* 10. CATALOG FILTERS */
.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-zinc-400);
    cursor: pointer;
}

.filter-btn:hover {
    color: var(--color-light-pure);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: var(--color-amber-500);
    color: var(--color-dark-pure);
    border-color: var(--color-amber-500);
    box-shadow: 0 4px 15px rgba(var(--color-amber-500-rgb), 0.25);
}

/* Ocultar elementos filtrados */
.catalog-item.hidden-item {
    display: none !important;
}

/* 11. FORM CONTROLS PREMIUM */
input, select, textarea {
    width: 100%;
    background-color: var(--color-dark-input);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-light-pure);
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(var(--color-amber-500-rgb), 0.4);
    box-shadow: 0 0 0 2px rgba(var(--color-amber-500-rgb), 0.15);
    background-color: rgba(255, 255, 255, 0.02);
}

/* Remove default select styling in Mac/Chrome */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* 12. ANIMACIONES (SCROLL REVEAL & FADE IN) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) translate(0, 0);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1) translate(2%, 2%);
    }
}

/* Clases de animación inicial */
.fade-in-left {
    animation: fadeInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-right {
    animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse {
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

/* Scroll Reveal con IntersectionObserver */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 13. CLASES AUXILIARES EXTRA */
.text-xxs {
    font-size: 0.65rem;
}
.text-3xs {
    font-size: 0.55rem;
}

.bg-[radial-gradient\(circle_at_center\,transparent_30\%\,#09090b_100%\)] {
    background: radial-gradient(circle at center, transparent 30%, #09090b 100%);
}

#formSuccess {
    transition: var(--transition-smooth);
}

#formSuccess:not(.hidden) {
    display: flex !important;
}

.hidden {
    display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   LUXURY ADDITIONS - PREMIUM MICRO-INTERACTIONS & EFFECTS
   ══════════════════════════════════════════════════════════════ */

/* Shimmer Hover Effect for Buttons */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
}

.btn-shimmer:hover::after {
    left: 150%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Bounce Animation for Cart Icon */
@keyframes bounceCustom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.animate-bounce-custom {
    animation: bounceCustom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--color-amber-300) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Premium Outer Glow for Catalog Cards */
.catalog-item {
    position: relative;
    z-index: 1;
}

.catalog-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1.5rem; /* matching rounded-3xl */
    background: linear-gradient(135deg, rgba(var(--color-amber-500-rgb), 0.2), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.catalog-item:hover::before {
    opacity: 1;
}

/* Image Scale and Slide Transitions */
.catalog-item img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.catalog-item:hover img {
    transform: scale(1.04) !important;
}

