/**
 * ==============================================================================
 * NGỌC MINH FOODS - ĐẶC SẢN NÔNG SẢN ĐÀ LẠT (ngocminhfoods.net)
 * STUDIO LUXURY PRO MAX - SOFT LIGHT OMBRE THEME (style_studio.css)
 * ------------------------------------------------------------------------------
 * Concept: Highland Sun x Soft Light Ombre x Dalat Farm Aesthetic x Quiet Luxury
 * Palettes: Warm Cream (#FAF8F5), Amber Honey (#D97706, #B45309), Oat Milk (#F5EFE6),
 *           Matcha Green (#059669), Terracotta Sun (#EA580C), Charcoal Slate (#1E293B)
 * Typography: Playfair Display (Serif Display), Plus Jakarta Sans (Modern Body),
 *             JetBrains Mono (Stats / Spec / Price)
 * ==============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=JetBrains+Mono:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ------------------------------------------------------------------------------
   1. DESIGN TOKENS & LIGHT OMBRE SYSTEM
   ------------------------------------------------------------------------------ */
:root {
  /* Soft Highland Ombre Gradients */
  --ombre-body: linear-gradient(180deg, #FDFBF8 0%, #F6EFE6 16%, #FAF7F2 42%, #F3EDE2 75%, #FDFBF8 100%);
  --ombre-hero: linear-gradient(135deg, #FFFDF8 0%, #FAF3E6 48%, #F0F6F1 100%);
  --ombre-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 60%, #B45309 100%);
  --ombre-topbar: linear-gradient(90deg, #EA580C 0%, #D97706 50%, #B45309 100%);
  --ombre-card: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);

  /* Base Light Colors */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F4ECE1;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.94);

  /* Delicate Warm Borders */
  --border-light: #ECE3D4;
  --border-warm: #E2D6C4;
  --border-gold: rgba(217, 119, 6, 0.35);
  --border-hover: #D97706;

  /* Typography Colors */
  --text-main: #1E293B;
  --text-heading: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-gold: #B45309;

  /* Accent Tones */
  --accent-gold: #D97706;
  --accent-gold-dark: #B45309;
  --accent-emerald: #059669;
  --accent-terracotta: #EA580C;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(180, 130, 80, 0.05);
  --shadow-card: 0 6px 20px -2px rgba(180, 130, 80, 0.07), 0 0 1px 1px rgba(225, 215, 200, 0.6);
  --shadow-card-hover: 0 16px 36px -6px rgba(217, 119, 6, 0.16), 0 0 1px 1px rgba(217, 119, 6, 0.3);
  --shadow-modal: 0 25px 60px -15px rgba(120, 80, 40, 0.22);

  /* Typography Families */
  --font-serif-display: 'Playfair Display', Georgia, serif;
  --font-serif-editorial: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------------------
   2. CORE BASE STYLING & SOFT LIGHT OMBRE BACKGROUND
   ------------------------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background: var(--ombre-body) !important;
  background-attachment: fixed;
  color: var(--text-main) !important;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Highland Light Ambient Sun Glow Orbs */
body::before {
  content: "";
  position: fixed;
  top: -10vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.07) 0%, rgba(254, 243, 199, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: -15vw;
  left: -10vw;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(209, 250, 229, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* ------------------------------------------------------------------------------
   3. TYPOGRAPHY CLASSES
   ------------------------------------------------------------------------------ */
.font-serif-display {
  font-family: var(--font-serif-display);
}
.font-serif-editorial {
  font-family: var(--font-serif-editorial);
}
.font-mono-stats {
  font-family: var(--font-mono);
}

/* ------------------------------------------------------------------------------
   4. SELECTION OVERRIDES FOR LIGHT THEME COMPATIBILITY
   (Overrides dark slate utility classes to soft warm cream & pearl white)
   ------------------------------------------------------------------------------ */
.bg-slate-950 {
  background-color: transparent !important;
}

.bg-slate-900,
.bg-slate-900\/90,
.bg-slate-900\/80,
.bg-slate-900\/70,
.bg-slate-900\/60 {
  background-color: #FFFFFF !important;
  border-color: #ECE3D4 !important;
}

.border-slate-800,
.border-slate-800\/80,
.border-slate-700,
.border-slate-700\/60 {
  border-color: #ECE3D4 !important;
}

.text-white {
  color: #1E293B !important;
}

.text-slate-100 {
  color: #1E293B !important;
}

.text-slate-200 {
  color: #334155 !important;
}

.text-slate-300 {
  color: #475569 !important;
}

.text-slate-400 {
  color: #64748B !important;
}

.text-slate-500 {
  color: #94A3B8 !important;
}

/* ------------------------------------------------------------------------------
   5. HEADER & TOP ANNOUNCEMENT BAR
   ------------------------------------------------------------------------------ */
.top-announcement-bar {
  background: var(--ombre-topbar) !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-announcement-bar .text-slate-400,
.top-announcement-bar .text-amber-200\/90 {
  color: #FFFFFF !important;
}

.glass-header {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(226, 214, 196, 0.8) !important;
  box-shadow: 0 4px 20px -2px rgba(180, 130, 80, 0.06) !important;
}

.glass-header nav a {
  color: #334155 !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.glass-header nav a:hover,
.glass-header nav a.active {
  color: #D97706 !important;
}

/* ------------------------------------------------------------------------------
   6. HERO SECTION WITH SOFT SUN OMBRE
   ------------------------------------------------------------------------------ */
.hero-studio {
  background: var(--ombre-hero) !important;
  border-bottom: 1px solid #ECE3D4 !important;
  position: relative;
}

.hero-studio h1 {
  color: #0F172A !important;
}

.hero-studio h1 span {
  background: linear-gradient(135deg, #D97706 0%, #B45309 60%, #92400E 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* 4 Trust Badges */
.hero-badge-card {
  background: #FFFFFF !important;
  border: 1px solid #EFE7DD !important;
  border-radius: 1.25rem !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.3s ease !important;
}

.hero-badge-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  border-color: #F59E0B !important;
  box-shadow: var(--shadow-card-hover) !important;
}

.hero-badge-card h2 {
  color: #B45309 !important;
}

.hero-badge-card p {
  color: #64748B !important;
}

/* ------------------------------------------------------------------------------
   7. FEATURED COLLECTIONS BAR
   ------------------------------------------------------------------------------ */
.collection-pill-card {
  background: #FFFFFF !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1.25rem !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.collection-pill-card:hover {
  transform: translateY(-4px) !important;
  border-color: #D97706 !important;
  box-shadow: var(--shadow-card-hover) !important;
}

.collection-pill-card h3 {
  color: #1E293B !important;
  font-weight: 700;
}

.collection-pill-card:hover h3 {
  color: #D97706 !important;
}

/* ------------------------------------------------------------------------------
   8. PRODUCT CATALOG & CARDS (CLEAR, CRISP, PRODUCT-FOCUSED)
   ------------------------------------------------------------------------------ */
.studio-card,
.product-card {
  background: #FFFFFF !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1.25rem !important;
  overflow: hidden;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.studio-card:hover,
.product-card:hover {
  transform: translateY(-4px) !important;
  border-color: #F59E0B !important;
  box-shadow: var(--shadow-card-hover) !important;
}

/* Clean Bright Background for Master Images */
.product-img-wrap,
.product-card .aspect-square,
.studio-card .aspect-square {
  background: #FAF7F2 !important;
  border-bottom: 1px solid #F3EDE2 !important;
  position: relative;
  overflow: hidden;
}

.product-img-wrap img,
.product-card img,
.studio-card img {
  mix-blend-mode: normal !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover img,
.studio-card:hover img {
  transform: scale(1.05) !important;
}

/* Product Card Headings & Price */
.product-card h3,
.studio-card h3 {
  color: #0F172A !important;
  font-weight: 700 !important;
}

.product-card h3:hover,
.studio-card h3:hover {
  color: #D97706 !important;
}

.product-price-badge {
  color: #D97706 !important;
  font-family: var(--font-mono);
  font-weight: 900;
}

/* Filter Controls Bar */
.filter-container {
  background: #FFFFFF !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1.25rem !important;
  box-shadow: var(--shadow-card) !important;
}

.col-tab-btn {
  background: #F4ECE1 !important;
  color: #475569 !important;
  border: 1px solid #E2D6C4 !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.col-tab-btn:hover {
  background: #EBE0D0 !important;
  color: #1E293B !important;
}

.col-tab-btn.active {
  background: var(--ombre-gold) !important;
  color: #FFFFFF !important;
  border-color: #D97706 !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25) !important;
}

/* Search input on light theme */
.search-input-field {
  background: #FAF7F2 !important;
  border: 1px solid #ECE3D4 !important;
  color: #1E293B !important;
}

.search-input-field::placeholder {
  color: #94A3B8 !important;
}

.search-input-field:focus {
  border-color: #D97706 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

/* ------------------------------------------------------------------------------
   9. EDITORIAL SECTIONS (Story, Process, B2B, FAQ)
   ------------------------------------------------------------------------------ */
.editorial-section {
  position: relative;
  border-bottom: 1px solid #ECE3D4;
}

.editorial-card {
  background: #FFFFFF !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1.5rem !important;
  box-shadow: var(--shadow-card) !important;
}

.process-step-card {
  background: #FFFFFF !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1.25rem !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.3s ease;
}

.process-step-card:hover {
  border-color: #059669 !important;
  box-shadow: 0 12px 28px -4px rgba(5, 150, 105, 0.14) !important;
}

/* B2B Wholesale Banner */
.b2b-highlight-card {
  background: linear-gradient(135deg, #FFFDF8 0%, #FAF3E6 50%, #F5EAE0 100%) !important;
  border: 1px solid #E5D7C3 !important;
  border-radius: 1.5rem !important;
  box-shadow: var(--shadow-card) !important;
}

/* FAQ Accordion */
.faq-accordion-item {
  background: #FFFFFF !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1rem !important;
  transition: all 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #D97706 !important;
}

/* ------------------------------------------------------------------------------
   10. PRODUCT DETAIL MODAL (<dialog>)
   ------------------------------------------------------------------------------ */
.studio-dialog {
  background: #FFFFFF !important;
  border: 1px solid #E2D6C4 !important;
  border-radius: 1.75rem !important;
  box-shadow: var(--shadow-modal) !important;
  color: #1E293B !important;
}

.studio-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(8px) !important;
}

.modal-img-stage {
  background: #FAF7F2 !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1.25rem !important;
}

.modal-info-panel {
  background: #FAF7F2 !important;
  border: 1px solid #ECE3D4 !important;
  border-radius: 1rem !important;
}

.modal-tab-btn {
  color: #64748B !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.modal-tab-btn:hover {
  color: #1E293B !important;
}

.modal-tab-btn.active {
  color: #D97706 !important;
  border-color: #D97706 !important;
}

/* ------------------------------------------------------------------------------
   11. CART SLIDE-OVER DRAWER
   ------------------------------------------------------------------------------ */
#cart-drawer {
  background: #FFFFFF !important;
  border-left: 1px solid #ECE3D4 !important;
  box-shadow: -10px 0 40px rgba(120, 80, 40, 0.12) !important;
  color: #1E293B !important;
}

#cart-drawer header {
  border-bottom: 1px solid #ECE3D4 !important;
}

#cart-drawer footer,
#cart-drawer .cart-footer-panel {
  background: #FAF7F2 !important;
  border-top: 1px solid #ECE3D4 !important;
}

.cart-item-card {
  background: #FAF7F2 !important;
  border: 1px solid #EFE7DD !important;
  border-radius: 0.875rem !important;
}

/* ------------------------------------------------------------------------------
   12. CORPORATE FOOTER
   ------------------------------------------------------------------------------ */
.corporate-footer {
  background: linear-gradient(180deg, #F5EFE6 0%, #EFE7DA 100%) !important;
  border-top: 1px solid #E2D6C4 !important;
  color: #475569 !important;
}

.corporate-footer h4 {
  color: #1E293B !important;
  font-weight: 700;
}

.corporate-footer a {
  color: #475569 !important;
  transition: color 0.2s ease;
}

.corporate-footer a:hover {
  color: #D97706 !important;
}

.footer-bottom-bar {
  border-top: 1px solid #E5DAC9 !important;
  color: #64748B !important;
}

/* ------------------------------------------------------------------------------
   13. BUTTONS & CALLS TO ACTION (WARM LUXURY ACCENTS)
   ------------------------------------------------------------------------------ */
.btn-primary-gold {
  background: var(--ombre-gold) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.25s ease !important;
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35) !important;
}

.btn-outline-warm {
  background: #FFFFFF !important;
  color: #1E293B !important;
  border: 1px solid #D97706 !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.btn-outline-warm:hover {
  background: #FAF7F2 !important;
  color: #B45309 !important;
  border-color: #B45309 !important;
}

/* ------------------------------------------------------------------------------
   14. INPUTS & FORMS
   ------------------------------------------------------------------------------ */
input, textarea, select {
  background-color: #FAF7F2 !important;
  border-color: #ECE3D4 !important;
  color: #1E293B !important;
}

input:focus, textarea:focus, select:focus {
  background-color: #FFFFFF !important;
  border-color: #D97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
  outline: none !important;
}

input::placeholder, textarea::placeholder {
  color: #94A3B8 !important;
}
