/*
Theme Name: The Royal Kid Luxury Couture Multi-Page Suite
Theme URI: https://theroyalkid.com/
Author: Pixels Craft Agency
Author URI: https://pixelscraftagency.com/
Description: Multi-Page Ultra-Luxury Kids Couture WordPress Theme with Separate Pages (Home, Shop, Single Product, Gallery, Video Showcase, About Us, Size Guide, Blog, Contact & Map, Private ERP Portal), Replaceable Royal Crest Logo, Responsive 3-Line Mobile Sidebar Drawer, and Direct WhatsApp Concierge Checkout (+92 302 6979604).
Version: 3.0.0
License: Proprietary Luxury Edition
Text Domain: theroyalkid
*/

:root {
  --imperial-obsidian: #070A12;
  --royal-navy: #0D1627;
  --royal-card: #101B2E;
  --regal-gold: #D4AF37;
  --gold-shimmer: #F3E5AB;
  --alabaster-silk: #F8F9FA;
}

* {
  box-sizing: border-box;
}

html, body {
  background-color: var(--imperial-obsidian);
  color: var(--alabaster-silk);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-royal {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Refined typography so headings and labels never break awkwardly */
.trk-hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1.18;
}

.trk-section-title {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.22;
}

.trk-card-title {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.3;
}

.trk-nav-link {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Mobile Sidebar Drawer */
.trk-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.trk-sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.trk-sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 84vw;
  background: linear-gradient(180deg, #070A12 0%, #0D1627 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.35);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trk-sidebar-drawer.active {
  transform: translateX(0);
}

/* Slider animations */
.trk-slide {
  display: none;
  animation: trkFadeIn 0.45s ease-out;
}
.trk-slide.active {
  display: grid;
}

@keyframes trkFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gold shimmer border effect */
.trk-gold-card {
  background: linear-gradient(160deg, rgba(16,27,46,0.95) 0%, rgba(10,16,29,0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.24);
  transition: all 0.28s ease;
}
.trk-gold-card:hover {
  border-color: rgba(212, 175, 55, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -10px rgba(212, 175, 55, 0.18);
}
