/* =========================================
   BASE.CSS - Variables, Reset, Typography
   V22.1 - Bespoke Synchronized Palette
   ========================================= */

/* CSS Variables */
:root {
    --primary: #4A3B32;
    --secondary: #6D5645;
    --accent: var(--nhe-accent);
    --accent-warm: #D4A574;
    --success: #2E6F4E;
    --background: #FAF8F5;
    --card-bg: #FFFFFF;
    --text: #2C221E;
    --text-light: #7A6E65;
    --border: #E5E0DB;
    --shadow: rgba(74, 59, 50, 0.08);
    --light: #F7F4F0;
    --zalo: #0068FF;
    --instagram: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --font-heading: var(--nhe-font-display, 'Lora', Georgia, serif);
    --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-variant-numeric: lining-nums tabular-nums;
}

body {
    font-family: var(--font-body);
    font-variant-numeric: lining-nums tabular-nums;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
    overflow-x: clip;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.015em;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.btn-svg-icon,
.title-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

@keyframes hintFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonBounce {
    0% { transform: scale(1); }
    50% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(122, 84, 64, 0.35); }
    50% { box-shadow: 0 6px 28px rgba(122, 84, 64, 0.55); }
}

/* Scrollbar */
.color-grid::-webkit-scrollbar,
.price-breakdown::-webkit-scrollbar {
    width: 4px;
}

.color-grid::-webkit-scrollbar-track,
.price-breakdown::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 2px;
}

.color-grid::-webkit-scrollbar-thumb,
.price-breakdown::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

