/* MY HAIR NATURALS - ELITE PROFESSIONAL v13.0 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0a0f0a; 
    --primary-soft: #141b14;
    --accent: #c5a059; 
    --silk: #fdfdfb;    
    --text: #050505;
    --muted: #6b7280;
    --border: rgba(10,15,10,0.08);
    --shadow-lux: 0 15px 35px -5px rgba(0,0,0,0.08);
    --shadow-hover: 0 35px 70px -15px rgba(10, 15, 10, 0.18);
    --radius: 24px;
    --nav-h: 64px;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

/* --- CORE RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: var(--font-sans); 
    background: var(--silk); 
    color: var(--text); 
    line-height: 1.6; 
    padding-top: var(--nav-h);
}

/* --- HEADER --- */
.main-header { 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); 
    z-index: 5000; border-bottom: 1px solid var(--border); 
    display: flex; align-items: center;
}
.header-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.logo-group { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.logo-group img { height: 36px; border-radius: 10px; }
.logo-text { font-family: var(--font-sans); font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-link { text-decoration: none; color: var(--primary); position: relative; display: flex; align-items: center; transition: opacity 0.3s; }
.nav-link:hover { opacity: 0.6; }
.badge { position: absolute; top: -5px; right: -8px; background: var(--accent); color: white; font-size: 9px; padding: 2px 6px; border-radius: 50px; font-weight: 800; border: 2px solid white; }

/* --- HERO --- */
.hero-mega { position: relative; height: 85vh; display: flex; align-items: center; overflow: hidden; background: #000; }
.parallax-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.55; }
.hero-content-wrapper { position: relative; z-index: 10; padding: 0 30px; color: white; text-align: center; width: 100%; max-width: 900px; margin: 0 auto; }
.glitch-title { font-family: var(--font-serif); font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1; margin-bottom: 25px; font-weight: 400; }
.hero-subtext { font-size: 1.1rem; margin-bottom: 40px; opacity: 0.8; font-weight: 300; max-width: 500px; margin-inline: auto; letter-spacing: 0.02em; }

/* --- PRODUCT CARD --- */
.ritual-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; padding: 60px 30px; }
.product-card { 
    background: white; border-radius: 20px; border: 1px solid var(--border); 
    overflow: hidden; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    opacity: 0; transform: translateY(30px);
}
.product-card.slide-in { opacity: 1; transform: translateY(0); }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.card-visual { aspect-ratio: 4/5; overflow: hidden; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.product-card:hover .card-visual img { transform: scale(1.08); }

.card-info { padding: 25px; text-align: center; }
.card-tag { font-family: var(--font-sans); font-size: 10px; color: var(--accent); font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.card-title-serif { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; text-decoration: none; color: var(--primary); display: block; margin-bottom: 8px; }
.price-row { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }

/* --- BUTTONS --- */
.btn-ritual-dark { 
    background: var(--primary); color: white; border: none; padding: 16px 25px; border-radius: 100px; 
    font-family: var(--font-sans); font-size: 11px; font-weight: 700; width: 100%; letter-spacing: 2px; cursor: pointer;
    transition: all 0.3s ease; text-transform: uppercase;
}
.btn-ritual-dark:hover { background: var(--accent); color: white; transform: scale(1.02); }

.btn-ritual { 
    padding: 18px 45px; border-radius: 100px; font-family: var(--font-sans); font-size: 13px; font-weight: 700;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 2px;
}
.primary-glow { background: var(--accent); color: white; }
.outline { border: 1px solid white; color: white; background: transparent; }
.outline:hover { background: white; color: var(--primary); }

/* --- SEARCH & TOAST --- */
.search-input-lux { font-family: var(--font-serif); font-size: 3rem; text-align: center; padding: 30px 0; border: none; border-bottom: 1px solid var(--border); width: 100%; outline: none; background: transparent; }
#ritual-toast-global {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(50px);
    background: var(--primary); color: white; padding: 15px 35px; border-radius: 100px;
    font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: 2px;
    z-index: 10000; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0;
}
#ritual-toast-global.active { transform: translateX(-50%) translateY(0); opacity: 1; }

/* --- ADMIN --- */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-nav { background: #000; padding: 50px 30px; border-right: 1px solid rgba(255,255,255,0.05); }
.admin-nav a { color: rgba(255,255,255,0.4); font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-decoration: none; display: block; padding: 15px 0; transition: 0.3s; }
.admin-nav a:hover, .admin-nav a.active { color: var(--accent); }
.admin-main { background: #050505; color: white; padding: 60px; }

@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-nav { display: none; }
    .glitch-title { font-size: 3rem; }
}
