/*
Theme Name: Krystal Luxury Interactive
Theme URI: https://kipl1.gemaromatics.com/
Author: Krystal IT Team
Description: Senior UI/UX Premium Design System with high-end glass structures and typography matrices.
Version: 1.3.0
*/

/* --- THE KRYSTAL INGREDIENTS LUXURY CORE DESIGN SYSTEM --- */
:root {
  --bg-base:          #ebe1cf;   /* Rich biscuit/cream canvas baseline */
  --card-glass:       rgba(246, 240, 230, 0.45); /* Frosted Glass Base */
  --card-glass-hover: rgba(255, 255, 255, 0.85); /* Illuminated Glass Hover */
  --border-glass:     rgba(176, 99, 58, 0.18);  /* Refined copper frame */
  --color-line:       #dbcbb0;   /* Editorial structural hairlines */
  --color-head:       #1f1810;   /* Deep espresso headings */
  --color-body:       #2a2114;   /* High-readability copy */
  --color-muted:      #574c3c;   /* Technical label subtext */
  --gradient-gold:    linear-gradient(135deg, #c5811d 0%, #b0633a 100%);
  --nav-height:       90px;
}

/* --- FOUNDATION RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--color-body);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- PREMIUM UTILITIES & GRID SYSTEM --- */
.luxury-container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.text-oil-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- PREMIUM INTERACTIVE GLASS ARCHITECTURE --- */
.glass-surface {
  background: var(--card-glass);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--border-glass);
  border-radius: 2px;
  box-shadow: 0 12px 40px 0 rgba(31, 24, 16, 0.04);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-surface:hover {
  background: var(--card-glass-hover);
  border-color: #b0633a;
  box-shadow: 0 24px 48px 0 rgba(176, 99, 58, 0.12);
  transform: translateY(-4px);
}

/* --- INTERACTIVE PRODUCT TABS ENGINE --- */
.tab-pill {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: rgba(31, 24, 16, 0.05);
  border: 1px solid var(--color-line);
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-pill:hover, .tab-pill.active-tab {
  background: #1f1810;
  color: #ebe1cf;
  border-color: #1f1810;
}

.product-item-card { display: none; opacity: 0; transform: scale(0.96); transition: opacity 0.4s ease, transform 0.4s ease; }
.product-item-card.show-product { display: flex !important; opacity: 1; transform: scale(1); }

/* --- GLOBAL BACKGROUND 3D CANVAS INJECTION --- */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* --- CONTINUOUS STATUS BANNER TICKER --- */
.ticker-container {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(235, 225, 207, 0.4);
  backdrop-filter: blur(10px);
}
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: runTickerStream 30s linear infinite;
}
@keyframes runTickerStream {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}