/* ═══════════════════════════════════════
   ZBLACK VIP LUXURY ENHANCEMENTS
   Premium UI Upgrades for Client Handover
   ═══════════════════════════════════════ */

/* ── PREMIUM TYPOGRAPHY ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── LUXURY GRADIENTS ── */
.hero-display .hd-gold {
  color: #C9A84C !important;
  text-shadow: 0 0 40px rgba(201,168,76,0.4);
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── PREMIUM SHADOWS ── */
.cart-block, .summary-block, .admin-sidebar, .acc-sidebar {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(201,168,76,0.1);
}

.product-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 4px 16px rgba(201,168,76,0.2);
}

/* ── LUXURY BUTTONS ── */
.zb-btn {
  background: linear-gradient(135deg, #C9A84C 0%, #d4b055 100%);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.zb-btn:hover {
  background: linear-gradient(135deg, #d4b055 0%, #e0c070 100%);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  transform: translateY(-2px);
}

.zb-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(201,168,76,0.3);
}

/* ── PREMIUM BORDERS ── */
.cart-block, .summary-block, .product-card, .admin-sidebar {
  border: 1px solid rgba(201,168,76,0.15);
  background: linear-gradient(135deg, rgba(17,17,17,0.95) 0%, rgba(22,22,22,0.95) 100%);
  backdrop-filter: blur(20px);
}

/* ── LUXURY HOVER EFFECTS ── */
.product-card {
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,168,76,0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover::before {
  opacity: 1;
}

/* ── PREMIUM INPUTS ── */
.cf-input, .pf-input, .zb-input, .alp-input {
  background: rgba(22,22,22,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  font-weight: 500;
}

.cf-input:focus, .pf-input:focus, .zb-input:focus, .alp-input:focus {
  background: rgba(22,22,22,1);
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1), 0 4px 16px rgba(201,168,76,0.15);
  transform: translateY(-1px);
}

/* ── LUXURY SCROLLBAR ── */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0c0c0c;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C9A84C 0%, #A8873A 100%);
  border-radius: 5px;
  border: 2px solid #0c0c0c;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d4b055 0%, #C9A84C 100%);
}

/* ── PREMIUM ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card, .order-card, .review-card-full {
  animation: fadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) backwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

/* ── LUXURY BADGES ── */
.badge, .hdr-badge {
  background: linear-gradient(135deg, #C9A84C 0%, #d4b055 100%);
  box-shadow: 0 2px 8px rgba(201,168,76,0.4);
  font-weight: 700;
}

.product-badge {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ── PREMIUM GLASS MORPHISM ── */
.header {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.header.scrolled {
  background: rgba(0,0,0,0.95);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 0 rgba(201,168,76,0.1);
}

/* ── LUXURY TRANSITIONS ── */
* {
  transition-timing-function: cubic-bezier(0.22,1,0.36,1);
}

a, button, .icon-btn, .filter-chip, .size-btn {
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}

/* ── PREMIUM FOCUS STATES ── */
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid rgba(201,168,76,0.5);
  outline-offset: 3px;
}

/* ── LUXURY LOADING STATES ── */
.loading-shimmer {
  background: linear-gradient(90deg, 
    rgba(22,22,22,0.8) 0%, 
    rgba(201,168,76,0.1) 50%, 
    rgba(22,22,22,0.8) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── PREMIUM SELECTION ── */
::selection {
  background: rgba(201,168,76,0.3);
  color: #F0EBE0;
}

/* ── LUXURY DIVIDERS ── */
hr, .border-bottom, [style*="border-bottom"], [style*="border-top"] {
  border-color: rgba(201,168,76,0.1) !important;
}

/* ── PREMIUM OVERLAYS ── */
.nav-overlay, .cart-overlay {
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.85);
}

/* ── LUXURY CARDS ── */
.zb-review-card, .order-card, .review-card-full {
  background: linear-gradient(135deg, rgba(17,17,17,0.95) 0%, rgba(22,22,22,0.95) 100%);
  border: 1px solid rgba(201,168,76,0.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}

.zb-review-card:hover, .order-card:hover, .review-card-full:hover {
  border-color: rgba(201,168,76,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 2px 8px rgba(201,168,76,0.15);
  transform: translateY(-2px);
}

/* ── PREMIUM PRICE DISPLAY ── */
.price-current, .pdp-price, .order-item-price {
  background: linear-gradient(135deg, #C9A84C 0%, #F0EBE0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ── LUXURY HERO SECTION ── */
.zb-hero {
  position: relative;
  overflow: hidden;
}

.zb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(201,168,76,0.05) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── PREMIUM MOBILE OPTIMIZATIONS ── */
@media (max-width: 768px) {
  .product-card:hover {
    transform: none;
  }
  
  .zb-btn:hover {
    transform: none;
  }
}

/* ── LUXURY ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── PREMIUM PRINT STYLES ── */
@media print {
  .header, .footer, .nav-drawer, .cart-drawer, .wa-float, .back-to-top {
    display: none !important;
  }
}
