/*!
 * SMIO Luxury Theme v2.0.0
 * Design: Obsidian Noir x Champagne Gold x Serif Elegance
 * DO NOT edit via PowerShell — Node.js only to preserve UTF-8
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-serif-alt: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --gold-light: #E8C98A;
  --gold: #C9A96E;
  --gold-dark: #A88A4E;
  --gold-deep: #8B7355;
  --gold-subtle: rgba(201, 169, 110, 0.08);
  --gold-border: rgba(201, 169, 110, 0.12);
  --gold-glow: rgba(201, 169, 110, 0.25);
  --glass-bg: rgba(10, 10, 11, 0.78);
  --glass-border: rgba(201, 169, 110, 0.05);
  --glass-blur: blur(24px);
  --glass-saturate: saturate(1.4);
  --shadow-lux: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.03);
  --shadow-lux-hover: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(201,169,110,0.05);
  --shadow-gold: 0 4px 20px rgba(201,169,110,0.15);
  --anim-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --anim: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --anim-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  --anim-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== GOLD GRADIENT TEXT ===== */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SERIF HEADINGS ===== */
.luxury-title {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.luxury-title-lg {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.luxury-title-sm {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* ===== GLASS NAVIGATION ===== */
.luxury-nav {
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) var(--glass-saturate) !important;
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  transition: var(--anim);
}

.luxury-nav.scrolled {
  background: rgba(10, 10, 11, 0.92) !important;
  border-bottom-color: rgba(201, 169, 110, 0.1) !important;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.luxury-nav .nav-logo {
  font-family: var(--font-serif) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  background: linear-gradient(135deg, #E8C98A, #C9A96E, #A88A4E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GOLD BUTTON ===== */
.btn-luxury {
  position: relative;
  background: linear-gradient(135deg, #C9A96E 0%, #B8963E 50%, #C9A96E 100%) !important;
  background-size: 200% 100% !important;
  color: #0A0A0B !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  cursor: pointer;
}

.btn-luxury:hover {
  background-position: right center !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35) !important;
}

.btn-luxury::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.15) 55%, transparent 60%);
  opacity: 0;
  transition: all 0.6s;
}

.btn-luxury:hover::after {
  opacity: 1;
  transform: translateX(100%);
}

/* Outline variant */
.btn-luxury-outline {
  background: transparent !important;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold-light) !important;
  padding: 14px 32px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: all var(--anim) !important;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-luxury-outline:hover {
  background: rgba(201, 169, 110, 0.08) !important;
  border-color: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.15) !important;
}

/* ===== LUXURY CARDS ===== */
.luxury-card {
  background: linear-gradient(145deg, rgba(26, 26, 30, 0.8), rgba(20, 20, 23, 0.6));
  border: 1px solid rgba(201, 169, 110, 0.06);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.luxury-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,169,110,0.03), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.luxury-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.2);
  box-shadow: var(--shadow-lux);
}

.luxury-card:hover::before { opacity: 1; }

/* ===== HERO SECTION ===== */
.hero-luxury {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-luxury::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(183,110,121,0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-luxury .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.1s; }
.reveal-d3 { transition-delay: 0.15s; }
.reveal-d4 { transition-delay: 0.2s; }
.reveal-d5 { transition-delay: 0.25s; }
.reveal-d6 { transition-delay: 0.3s; }

/* ===== GOLD DIVIDER ===== */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.12), rgba(201,169,110,0.3), rgba(201,169,110,0.12), transparent);
}

/* ===== SECTION HEADERS ===== */
.section-header-luxury {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.section-header-luxury .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-header-luxury h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.section-header-luxury .subtitle { max-width: 560px; margin: 0 auto; line-height: 1.7; }

.section-header-luxury .gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px auto 0;
}

/* ===== METRICS ===== */
.metrics-luxury {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

.metric-luxury {
  text-align: center;
  position: relative;
}

.metric-luxury:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,169,110,0.2), transparent);
}

.metric-luxury .number {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  background: linear-gradient(135deg, #E8C98A, #C9A96E, #A88A4E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-luxury .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== CTA SECTION ===== */
.cta-luxury {
  position: relative;
  padding: clamp(60px, 10vh, 100px) 0;
  text-align: center;
  overflow: hidden;
}

.cta-luxury::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.cta-luxury .cta-bg-gold {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.02) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-luxury h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-luxury p {
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

.cta-luxury .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== IMAGE OVERLAY ===== */
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(201,169,110,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.luxury-card:hover .product-img-overlay { opacity: 1; }

/* ===== IMAGE FRAME ===== */
.img-elevated {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: all 0.5s;
}

.img-elevated:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.03);
  transform: translateY(-4px);
}

.img-frame {
  border: 1px solid rgba(201, 169, 110, 0.08);
  border-radius: 16px;
  padding: 4px;
  background: linear-gradient(135deg, rgba(201,169,110,0.06), transparent);
}

.img-frame img { border-radius: 12px; }

/* ===== SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, #1C1C1F 25%, #2A2A2E 50%, #1C1C1F 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== PAGE ENTER ===== */
.page-enter {
  animation: pageFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== GLOBAL OVERRIDES ===== */

/* Category cards */
.smio-category-card, .category-card, .product-category-card {
  border: 1px solid rgba(201, 169, 110, 0.06) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.smio-category-card:hover, .category-card:hover {
  border-color: rgba(201, 169, 110, 0.2) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.03) !important;
}

/* Product cards */
.smio-product-card, .product-card, .woocommerce .product {
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.smio-product-card:hover, .product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.03) !important;
}

/* Hero section */
.smio-hero, .hero-section {
  position: relative;
  overflow: hidden;
}
.smio-hero::before, .hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Primary buttons */
.smio-btn-primary, .primary-btn, .btn-primary.woocommerce {
  background: linear-gradient(135deg, #C9A96E 0%, #B8963E 50%, #C9A96E 100%) !important;
  background-size: 200% 100% !important;
  border: none !important;
  color: #0A0A0B !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}
.smio-btn-primary:hover, .primary-btn:hover {
  background-position: right center !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35) !important;
}

/* Section titles */
.section-title, .smio-section-title {
  font-family: var(--font-serif) !important;
  letter-spacing: -0.01em !important;
}

/* Category images zoom */
.smio-category-card img, .category-card img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.smio-category-card:hover img, .category-card:hover img {
  transform: scale(1.08) !important;
}

/* Trust bar */
.smio-trust-bar, .trust-bar {
  border-top: 1px solid rgba(201, 169, 110, 0.06) !important;
  border-bottom: 1px solid rgba(201, 169, 110, 0.06) !important;
}

/* CTA section */
.smio-cta, .cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A1E 0%, #141417 100%) !important;
}
.smio-cta::before, .cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.02) 0%, transparent 70%);
  pointer-events: none;
}

/* Product image hover */
.smio-product-card .product-image img, .product-card img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.smio-product-card:hover .product-image img, .product-card:hover img {
  transform: scale(1.08) !important;
}

/* Footer */
.footer, .smio-footer {
  border-top: 1px solid rgba(201, 169, 110, 0.06) !important;
}

/* WhatsApp float */
.whatsapp-float, .wa-float {
  transition: all 0.3s !important;
}
.whatsapp-float:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4) !important;
}

/* WooCommerce price */
.price, .woocommerce-Price-amount {
  color: var(--gold-light) !important;
  font-weight: 700 !important;
}

/* Nav link active */
.nav-links a.active {
  background: rgba(201, 169, 110, 0.1) !important;
  color: var(--gold) !important;
}

/* Add to cart */
.add_to_cart_button, .single_add_to_cart_button {
  background: linear-gradient(135deg, #C9A96E 0%, #B8963E 100%) !important;
  color: #0A0A0B !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 28px !important;
  font-size: 14px !important;
  transition: all 0.3s !important;
}
.add_to_cart_button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3) !important;
}

/* Sale badge */
.onsale, .sale-badge {
  background: linear-gradient(135deg, #C9A96E, #A88A4E) !important;
  color: #0A0A0B !important;
  font-weight: 700 !important;
  border: none !important;
}

/* Star ratings */
.star-rating span, .woocommerce .star-rating span {
  color: var(--gold) !important;
}

/* Product gallery */
.woocommerce-product-gallery__trigger {
  background: rgba(201, 169, 110, 0.1) !important;
  border: 1px solid rgba(201, 169, 110, 0.2) !important;
}

/* RTL support */
[dir="rtl"] .post-content-luxury p:first-letter {
  float: right;
  padding-left: 8px;
  padding-right: 0;
}
[dir="rtl"] blockquote {
  border-left: none;
  border-right: 3px solid var(--gold);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-luxury { min-height: 70vh; padding-top: 80px; }
  .metrics-luxury { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .metric-luxury:not(:last-child)::after { display: none; }
  .btn-luxury, .btn-luxury-outline { padding: 12px 24px !important; font-size: 13px !important; }
  .luxury-title-lg { font-size: clamp(28px, 8vw, 42px); }
  .section-header-luxury { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .hero-luxury { min-height: 60vh; }
  .cta-actions { flex-direction: column; align-items: center; }
  .metrics-luxury { grid-template-columns: 1fr; gap: 20px; }
}