/* ============================================================
   LUNA ULTRA-PREMIUM LAYER  — ultra-premium.css
   Custom cursor · Scroll progress · Mouse spotlight
   Shimmer text · Page transitions · Enhanced particles
   ============================================================ */

/* ──────────────────────────────────────────
   CUSTOM LIQUID GOLD CURSOR
   ────────────────────────────────────────── */
@media (pointer: fine) {
  body { cursor: none !important; }
  a, button, [role="button"], .btn, .card, .tilt, input, textarea, select, label {
    cursor: none !important;
  }
}

.lx-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: normal;
  will-change: transform;
  transition: none;
}

/* Outer ring */
.lx-cursor-ring {
  position: absolute;
  top: -20px; left: -20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 194, 122, 0.7);
  box-shadow:
    0 0 12px rgba(228, 194, 122, 0.25),
    inset 0 0 8px rgba(228, 194, 122, 0.08);
  transition:
    width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  backdrop-filter: blur(1px);
}

/* Inner dot */
.lx-cursor-dot {
  position: absolute;
  top: -3px; left: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe8b0, #e4c27a);
  box-shadow: 0 0 8px rgba(228, 194, 122, 0.8);
  transition: transform 0.12s ease, opacity 0.3s ease;
}

/* Hover state — expand ring */
body.lx-hovering .lx-cursor-ring {
  width: 72px; height: 72px;
  top: -36px; left: -36px;
  border-color: rgba(255, 224, 160, 0.9);
  box-shadow:
    0 0 24px rgba(228, 194, 122, 0.5),
    inset 0 0 16px rgba(228, 194, 122, 0.15);
  background: rgba(228, 194, 122, 0.06);
}

body.lx-hovering .lx-cursor-dot {
  transform: scale(0.3);
  opacity: 0.5;
}

/* Click ripple */
body.lx-clicking .lx-cursor-ring {
  border-color: rgba(255, 240, 190, 1);
  box-shadow: 0 0 36px rgba(255, 220, 130, 0.7);
  transform: scale(0.8);
}

/* Cursor tail trails */
.lx-trail {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 194, 122, 0.6), transparent 70%);
  pointer-events: none;
  z-index: 99998;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

/* ──────────────────────────────────────────
   SCROLL PROGRESS BAR
   ────────────────────────────────────────── */
.lx-scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  z-index: 10000;
  pointer-events: none;
  overflow: hidden;
  background: rgba(228, 194, 122, 0.08);
}

.lx-scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    #e4c27a 20%,
    #f9e8c0 50%,
    #e4c27a 80%,
    rgba(255, 200, 120, 0.6) 100%
  );
  background-size: 200% 100%;
  animation: lxProgressShine 2.2s linear infinite;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(228, 194, 122, 0.8), 0 0 4px rgba(255, 240, 195, 0.6);
}

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

/* ──────────────────────────────────────────
   MOUSE SPOTLIGHT / AMBIENT GLOW
   ────────────────────────────────────────── */
.lx-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(228, 194, 122, 0.04) 0%,
    rgba(228, 194, 122, 0.02) 35%,
    transparent 70%
  );
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* ──────────────────────────────────────────
   GOLD SHIMMER TEXT
   ────────────────────────────────────────── */
.lx-shimmer {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.lx-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 248, 220, 0.55) 50%,
    rgba(255, 220, 150, 0.3) 60%,
    transparent 70%
  );
  animation: lxShimmerMove 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lxShimmerMove {
  0%   { left: -150%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}

/* ──────────────────────────────────────────
   PAGE TRANSITION CURTAIN
   ────────────────────────────────────────── */
.lx-curtain {
  position: fixed;
  inset: 0;
  z-index: 98000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.lx-curtain-panel {
  flex: 1;
  background: linear-gradient(
    135deg,
    #0a0508 0%,
    #180c14 40%,
    #0e0810 70%,
    #100a08 100%
  );
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.lx-curtain-panel:nth-child(2) { transition-delay: 0.06s; }
.lx-curtain-panel:nth-child(3) { transition-delay: 0.12s; }

.lx-curtain.is-in .lx-curtain-panel {
  transform: scaleY(1);
  transform-origin: top center;
}
.lx-curtain.is-out .lx-curtain-panel {
  transform: scaleY(0);
  transform-origin: bottom center;
}

/* Logo centered during transition */
.lx-curtain-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Didot", "Bodoni MT", "Garamond", "Times New Roman", serif;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 0.3em;
  color: rgba(228, 194, 122, 0);
  transition: color 0.3s ease 0.3s;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.lx-curtain.is-in .lx-curtain-logo {
  color: rgba(228, 194, 122, 0.8);
}

/* ──────────────────────────────────────────
   ENHANCED PARTICLE FIELD
   ────────────────────────────────────────── */
.lx-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.lx-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: lxParticleDrift var(--dur, 18s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes lxParticleDrift {
  0% {
    opacity: 0;
    transform: translateY(100vh) translateX(var(--drift-x, 0px)) rotate(0deg) scale(0.3);
  }
  8% { opacity: var(--peak-opacity, 0.6); }
  90% { opacity: var(--peak-opacity, 0.5); }
  100% {
    opacity: 0;
    transform: translateY(-12vh) translateX(var(--drift-x, 0px)) rotate(var(--rot, 360deg)) scale(1);
  }
}

/* ──────────────────────────────────────────
   FLOATING ORBS (ambient atmosphere)
   ────────────────────────────────────────── */
.lx-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0;
  animation: lxOrbPulse var(--orb-dur, 22s) ease-in-out infinite;
  animation-delay: var(--orb-delay, 0s);
}

@keyframes lxOrbPulse {
  0%, 100% { opacity: 0; transform: scale(0.8) translate(0, 0); }
  30%       { opacity: var(--orb-opacity, 0.12); }
  50%       { transform: scale(1.1) translate(var(--orb-tx, 20px), var(--orb-ty, -15px)); }
  70%       { opacity: var(--orb-opacity, 0.1); }
}

/* ──────────────────────────────────────────
   MAGNETIC ATTRACTION AURA (button glow)
   ────────────────────────────────────────── */
.btn.primary {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.btn.primary::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(228, 194, 122, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.btn.primary:hover::after {
  opacity: 1;
}

/* ──────────────────────────────────────────
   LUXURY SCROLL INDICATOR (bottom of hero)
   ────────────────────────────────────────── */
.lx-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: lxScrollFadeIn 1s ease 2s forwards;
  pointer-events: none;
  z-index: 10;
}

.lx-scroll-indicator-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(228, 194, 122, 0.8), transparent);
  animation: lxScrollLinePulse 2s ease-in-out infinite;
}

.lx-scroll-indicator-text {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(228, 194, 122, 0.7);
  font-family: "Garamond", "Times New Roman", serif;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@keyframes lxScrollFadeIn {
  to { opacity: 1; }
}

@keyframes lxScrollLinePulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50%       { transform: scaleY(0.7); opacity: 0.4; }
}

/* ──────────────────────────────────────────
   ENHANCED CARD HOVER — GOLD BORDER REVEAL
   ────────────────────────────────────────── */
.card {
  --card-glow: 0;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease,
    border-color 0.4s ease !important;
}

.card:hover {
  box-shadow:
    0 28px 54px rgba(0,0,0,0.42),
    0 0 0 1px rgba(228, 194, 122, 0.3),
    0 0 36px rgba(228, 194, 122, 0.1) !important;
}

/* ──────────────────────────────────────────
   NAV BRAND SUBTLE ENHANCE (no override)
   ────────────────────────────────────────── */
.hdr {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

body.lx-scrolled .hdr {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(228, 194, 122, 0.15);
}

/* ──────────────────────────────────────────
   FOOTER NEWSLETTER — PREMIUM INPUT FOCUS
   ────────────────────────────────────────── */
.footer-news-row input:focus {
  outline: none;
  border-color: rgba(228, 194, 122, 0.7) !important;
  box-shadow:
    0 0 0 3px rgba(228, 194, 122, 0.12),
    0 0 20px rgba(228, 194, 122, 0.08) !important;
  transition: all 0.3s ease;
}

/* ──────────────────────────────────────────
   LUXURY SECTION DIVIDER
   ────────────────────────────────────────── */
.lx-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  width: min(640px, 90%);
  padding: 32px 0;
}

.lx-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 194, 122, 0.4), transparent);
}

.lx-divider-icon {
  width: 24px; height: 24px;
  opacity: 0.6;
  animation: lxDividerRotate 12s linear infinite;
  flex-shrink: 0;
}

@keyframes lxDividerRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ──────────────────────────────────────────
   MOBILE ADJUSTMENTS
   ────────────────────────────────────────── */
@media (pointer: coarse) {
  .lx-cursor, .lx-cursor-ring, .lx-cursor-dot, .lx-trail { display: none !important; }
  .lx-spotlight { display: none; }
}

@media (max-width: 768px) {
  .lx-scroll-indicator { display: none; }
  .lx-curtain-logo { font-size: 16px; letter-spacing: 0.2em; }
}

/* ──────────────────────────────────────────
   PREFERS-REDUCED-MOTION RESPECT
   ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lx-cursor-ring,
  .lx-cursor-dot,
  .lx-trail,
  .lx-particle,
  .lx-orb,
  .lx-scroll-progress-fill,
  .lx-shimmer::after,
  .nav-title,
  .lx-curtain-panel {
    animation: none !important;
    transition: none !important;
  }
}

/* ──────────────────────────────────────────
   PRODUCT PREVIEW MODAL — ACTION BUTTONS
   Sepete Ekle · Sepete Git · WhatsApp
   ────────────────────────────────────────── */
.product-preview-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Shared base */
.product-preview-add-btn,
.product-preview-cart-btn,
.product-preview-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition:
    transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.22s ease,
    background 0.22s ease,
    filter 0.22s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 130px;
}

.product-preview-add-btn svg,
.product-preview-cart-btn svg,
.product-preview-whatsapp-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Hover lift on all */
.product-preview-add-btn:hover,
.product-preview-cart-btn:hover,
.product-preview-whatsapp-btn:hover {
  transform: translateY(-2px);
}

.product-preview-add-btn:hover svg,
.product-preview-cart-btn:hover svg,
.product-preview-whatsapp-btn:hover svg {
  transform: scale(1.15);
}

.product-preview-add-btn:active,
.product-preview-cart-btn:active,
.product-preview-whatsapp-btn:active {
  transform: translateY(0) scale(0.97);
}

/* ── Sepete Ekle — Gold Primary */
.product-preview-add-btn {
  background: linear-gradient(132deg, #f6dda5 0%, #debc7a 46%, #c99e58 100%);
  color: #0a0508;
  box-shadow:
    0 8px 22px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,248,223,0.7);
  font-family: inherit;
}

.product-preview-add-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.product-preview-add-btn:hover::before {
  transform: translateX(100%);
}

.product-preview-add-btn:hover {
  box-shadow:
    0 14px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,248,223,0.7);
  filter: brightness(1.05);
}

.product-preview-add-btn.is-added {
  background: linear-gradient(132deg, #5fba8a 0%, #3d9e6e 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(60,150,100,0.35);
}

.product-preview-add-btn:disabled {
  cursor: not-allowed;
  transform: none !important;
}

/* ── Sepete Git — Dark Ghost */
.product-preview-cart-btn {
  background: linear-gradient(180deg, rgba(20,12,18,0.85), rgba(12,8,14,0.95));
  color: rgba(228, 194, 122, 0.95);
  border: 1px solid rgba(228, 194, 122, 0.5);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,230,170,0.12);
}

.product-preview-cart-btn:hover {
  background: linear-gradient(180deg, rgba(30,18,26,0.92), rgba(18,10,18,0.98));
  border-color: rgba(228, 194, 122, 0.85);
  color: rgba(255, 230, 170, 1);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.42),
    0 0 20px rgba(228,194,122,0.12),
    inset 0 1px 0 rgba(255,230,170,0.18);
}

/* ── WhatsApp — Green Premium */
.product-preview-whatsapp-btn {
  background: linear-gradient(132deg, #25d366 0%, #128c4e 60%, #0a7a42 100%);
  color: #fff;
  box-shadow:
    0 8px 22px rgba(18,140,78,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.product-preview-whatsapp-btn:hover {
  box-shadow:
    0 14px 32px rgba(18,140,78,0.48),
    inset 0 1px 0 rgba(255,255,255,0.25);
  filter: brightness(1.08);
}

/* ── Responsive stacking */
@media (max-width: 540px) {
  .product-preview-actions {
    flex-direction: column;
    gap: 8px;
  }

  .product-preview-add-btn,
  .product-preview-cart-btn,
  .product-preview-whatsapp-btn {
    width: 100%;
    flex: none;
    min-width: 0;
    padding: 12px 18px;
  }
}

/* ============================================================
   LUNA ANNOUNCEMENT TICKER BAND
   Ultra-premium scrolling marquee — top of page
   ============================================================ */

/* ── Ticker height variable ─────────────── */
:root {
  --ticker-h: 36px;
}

/* ── Ticker bar ─────────────────────────── */
.lx-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ticker-h);
  z-index: 1100;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #c9963e 0%,
    #e4c27a 18%,
    #f0d090 35%,
    #e8c876 50%,
    #f0d090 65%,
    #e4c27a 82%,
    #c9963e 100%
  );
  background-size: 200% 100%;
  animation: lxTickerBgShift 8s linear infinite;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(180,130,40,0.6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35), 0 1px 0 rgba(255,248,220,0.4) inset;
  cursor: default;
  user-select: none;
}

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

/* ── Scrolling track ────────────────────── */
.lx-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: lxTickerScroll 38s linear infinite;
  will-change: transform;
}

.lx-ticker:hover .lx-ticker-track {
  animation-play-state: paused;
}

@keyframes lxTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Individual item ────────────────────── */
.lx-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 28px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #2a1505;
  font-family: "Playfair Display", "Garamond", Georgia, serif;
  line-height: 1;
  flex-shrink: 0;
}

/* Separator diamond */
.lx-ticker-sep {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: rgba(90,50,10,0.55);
  font-size: 9px;
  flex-shrink: 0;
}

/* ── Push header + subbar down ──────────── */
.hdr {
  top: var(--ticker-h) !important;
}
.subbar {
  top: calc(var(--ticker-h) + var(--nav-h)) !important;
}

/* Push hero/main content down by ticker height */
.hero,
.cart-page,
body.catalog-page .gallery,
.product-preview {
  /* already offset by --nav-h*2, add ticker on top */
  scroll-margin-top: calc(var(--ticker-h) + var(--nav-h) * 2);
}

/* Add ticker offset to existing padding calculations */
main.cart-page {
  margin-top: calc(var(--ticker-h) + var(--nav-h) * 2 + 40px) !important;
}

/* ── Close button ───────────────────────── */
.lx-ticker-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  background: rgba(90,50,10,0.15);
  border-radius: 50%;
  color: rgba(50,25,5,0.6);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
  flex-shrink: 0;
  z-index: 2;
}
.lx-ticker-close:hover {
  background: rgba(90,50,10,0.28);
  color: rgba(50,25,5,0.9);
}

/* ── Hidden state ───────────────────────── */
.lx-ticker.is-hidden {
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
  pointer-events: none;
}

body.ticker-hidden .hdr { top: 0 !important; }
body.ticker-hidden .subbar { top: var(--nav-h) !important; }
body.ticker-hidden main.cart-page { margin-top: calc(var(--nav-h) * 2 + 40px) !important; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  :root { --ticker-h: 32px; }
  .lx-ticker-item { font-size: 9.5px; letter-spacing: 2px; padding: 0 20px; }
}

@media (max-width: 480px) {
  :root { --ticker-h: 30px; }
  .lx-ticker-item { font-size: 9px; letter-spacing: 1.8px; padding: 0 16px; }
}

/* ── Hero / main offset for ticker ──────── */
.hero {
  padding-top: calc(var(--ticker-h) + var(--nav-h) * 2 + 20px) !important;
}

/* index-premium overrides */
.home-premium .hero {
  padding-top: calc(var(--ticker-h) + var(--nav-h) * 2 + 8px) !important;
}

.category-premium .hero {
  padding-top: calc(var(--ticker-h) + var(--nav-h) * 2 + 14px) !important;
}

/* catalog pages */
body.catalog-page .gallery {
  padding-top: calc(var(--ticker-h) + var(--nav-h) * 2 + 26px) !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--ticker-h) + var(--nav-h) * 2 + 16px) !important;
  }
  body.ticker-hidden .hero {
    padding-top: calc(var(--nav-h) * 2 + 16px) !important;
  }
}

/* When ticker is closed, restore normal offsets */
body.ticker-hidden .hero {
  padding-top: calc(var(--nav-h) * 2 + 20px) !important;
}
body.ticker-hidden .home-premium .hero {
  padding-top: calc(var(--nav-h) * 2 + 8px) !important;
}
body.ticker-hidden .category-premium .hero {
  padding-top: calc(var(--nav-h) * 2 + 14px) !important;
}
body.ticker-hidden body.catalog-page .gallery {
  padding-top: calc(var(--nav-h) * 2 + 26px) !important;
}

/* ============================================================
   SOCIAL PROOF — Live Visitor + Activity Toast
   ============================================================ */

/* ── 1. LIVE VISITOR COUNTER (hero top-right) ─ */
.lx-visitor-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(8, 14, 6, 0.82);
  border: 1px solid rgba(74, 200, 100, 0.35);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.45),
    0 0 0 1px rgba(74,200,100,0.12),
    inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: lxBadgeFadeIn 0.7s cubic-bezier(0.2,0.8,0.2,1) both;
  animation-delay: 1.2s;
  cursor: default;
  user-select: none;
}

@keyframes lxBadgeFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Pulsing green dot */
.lx-visitor-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ecf6a;
  box-shadow: 0 0 6px rgba(62,207,106,0.7);
  flex-shrink: 0;
}

.lx-visitor-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(62,207,106,0.3);
  animation: lxDotPulse 2s ease-in-out infinite;
}

@keyframes lxDotPulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.8); opacity: 0; }
}

.lx-visitor-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  font-family: "Playfair Display", Georgia, serif;
}

.lx-visitor-count {
  color: #7defa4;
  font-variant-numeric: tabular-nums;
}

/* ── 2. ACTIVITY TOAST (bottom-left) ───────── */
.lx-toast-container {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
  max-width: 320px;
}

.lx-toast {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(12, 6, 10, 0.92);
  border: 1px solid rgba(228, 194, 122, 0.22);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(228,194,122,0.08),
    inset 0 1px 0 rgba(255,240,200,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
  cursor: default;
  user-select: none;
  will-change: transform, opacity;

  /* Enter animation */
  opacity: 0;
  transform: translateX(-28px) scale(0.95);
  transition:
    opacity 0.45s cubic-bezier(0.2,0.8,0.2,1),
    transform 0.45s cubic-bezier(0.2,0.8,0.2,1);
}

.lx-toast.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.lx-toast.is-exit {
  opacity: 0;
  transform: translateX(-20px) scale(0.95);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Avatar */
.lx-toast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0a0508;
  flex-shrink: 0;
  font-family: "Playfair Display", Georgia, serif;
  border: 1.5px solid rgba(228,194,122,0.45);
}

/* Toast body */
.lx-toast-body {
  flex: 1;
  min-width: 0;
}

.lx-toast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(235, 215, 160, 0.95);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Playfair Display", Georgia, serif;
}

.lx-toast-action {
  font-size: 11.5px;
  color: rgba(228, 194, 122, 0.6);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lx-toast-time {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(228, 194, 122, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Progress bar at bottom of toast */
.lx-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, #c99e58, #f6dda5);
  width: 100%;
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform linear;
}

/* ── Mobile adjustments ─────────────────── */
@media (max-width: 768px) {
  .lx-visitor-badge {
    top: 14px;
    right: 14px;
    padding: 7px 12px 7px 9px;
  }
  .lx-visitor-text { font-size: 10px; letter-spacing: 1.2px; }
  .lx-visitor-dot  { width: 7px; height: 7px; }

  .lx-toast-container {
    bottom: 16px;
    left: 12px;
    max-width: calc(100vw - 24px);
  }
  .lx-toast { padding: 11px 14px; gap: 10px; }
  .lx-toast-avatar { width: 34px; height: 34px; font-size: 11px; }
  .lx-toast-name   { font-size: 11.5px; }
  .lx-toast-action { font-size: 10.5px; }
}

/* ============================================================
   FIX: Görsel placeholder metinleri gizle
   FIX: Visitor badge z-index & positioning
   ============================================================ */

/* ── "Gorsel ekleyin" CSS pseudo-element → kaldır ── */
.media.is-empty::after {
  display: none !important;
  content: none !important;
}

/* Boş kart içi — sadece ince altın gradient arka plan */
.media.is-empty {
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(228,194,122,0.08), transparent 70%),
    linear-gradient(160deg, rgba(18,8,14,0.95), rgba(10,5,10,0.98)) !important;
}

/* ── "Gorsel bulunamadi" metni → gizle ── */
.product-preview-media-empty {
  color: transparent !important;
  font-size: 0 !important;
  pointer-events: none;
}

/* Boş preview alanına zarif placeholder */
.product-preview-media-empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 52%, rgba(228,194,122,0.10), transparent 65%),
    linear-gradient(160deg, rgba(18,8,14,0.95), rgba(10,5,10,0.98));
  pointer-events: none;
}

/* ── Visitor badge — hero-panel içinde, yüksek z-index ── */
.lx-visitor-badge {
  z-index: 200 !important;
}

/* Eğer hero'da isolation varsa, badge'i dışarıya çekiyoruz (fixed override) */
.lx-visitor-badge-fixed {
  position: fixed !important;
  z-index: 9500 !important;
  /* JS tarafından dinamik konumlandırılır */
}

/* ============================================================
   VISITOR BADGE — subnav-left inline versiyonu
   ============================================================ */

/* Eski fixed positioning class'ını sıfırla */
.lx-visitor-badge-fixed {
  position: static !important;
}

/* Badge artık subnav-left içinde flex item */
.subnav-left .lx-visitor-badge {
  position: static;
  margin-left: auto;           /* sola itilmiş linkleri ayrıştır */
  flex-shrink: 0;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: rgba(8,14,6,0.75);
  border: 1px solid rgba(74,200,100,0.38);
  box-shadow:
    0 4px 14px rgba(0,0,0,0.4),
    0 0 0 1px rgba(74,200,100,0.10),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: default;
  user-select: none;
  animation: lxBadgeFadeIn 0.7s cubic-bezier(0.2,0.8,0.2,1) both;
  animation-delay: 1.4s;
  opacity: 0;
}

/* Fade-in keyframe (badge için override) */
@keyframes lxBadgeFadeIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

.subnav-left .lx-visitor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ecf6a;
  box-shadow: 0 0 5px rgba(62,207,106,0.75);
  flex-shrink: 0;
  position: relative;
}

.subnav-left .lx-visitor-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(62,207,106,0.28);
  animation: lxDotPulse 2s ease-in-out infinite;
}

.subnav-left .lx-visitor-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  font-family: "Playfair Display", Georgia, serif;
}

.subnav-left .lx-visitor-count {
  color: #7defa4;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Sayı değişince scale animasyonu */
.subnav-left .lx-visitor-count.is-updating {
  transform: scale(1.3);
}

/* Mobilde gizle — nav zaten dar */
@media (max-width: 900px) {
  .subnav-left .lx-visitor-badge { display: none; }
}

/* ============================================================
   VIP ÜRÜN SERGİLEME — Tam boy, lüks görünüm
   ============================================================ */

/* ── Kart medya alanı — tam boy portrait ── */
.card .media {
  aspect-ratio: 3 / 4 !important;
  overflow: hidden;
  position: relative;
  border-radius: 18px 18px 0 0;
}

.home-category-cards .card .media {
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  min-height: unset !important;
}

/* ── Görsel tam kapla, merkez odak ── */
.card .card-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block;
  transform-origin: center center;
  transition:
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.6s ease !important;
}

/* ── Hover: zoom + ışık efekti ── */
.card:hover .card-image {
  transform: scale(1.08) !important;
  filter: brightness(1.04) saturate(1.08) !important;
}

/* ── VIP görsel overlay — luxe gradient ── */
.card .media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 55%,
      rgba(6,3,10,0.55) 85%,
      rgba(6,3,10,0.82) 100%
    );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.card:hover .media::after {
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 50%,
      rgba(6,3,10,0.45) 80%,
      rgba(6,3,10,0.72) 100%
    );
}

/* ── Shine efekti — hover'da üstünden geçen ışık ── */
.card .media::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 248, 220, 0.08) 50%,
    transparent 70%
  );
  z-index: 3;
  pointer-events: none;
  transition: none;
}

.card:hover .media::before {
  animation: vipCardShine 0.8s ease forwards;
}

@keyframes vipCardShine {
  to { left: 160%; }
}

/* ── VIP rozet (sağ üst köşe) ── */
.card .media [class*="badge"],
.card-vip-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(10,6,14,0.82);
  border: 1px solid rgba(228,194,122,0.45);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(228,194,122,0.9);
  backdrop-filter: blur(8px);
}

/* ── Meta bölümü — geniş padding, serif font ── */
.card .meta {
  padding: 18px 20px 22px !important;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(228,194,122,0.08), transparent 60%),
    rgba(10,6,14,0.97);
  position: relative;
}

.card .meta h3 {
  font-family: "Playfair Display", "Garamond", Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: rgba(245,220,155,0.97) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.2px;
  margin-bottom: 8px !important;
}

.card .meta .from {
  font-size: 13px !important;
  font-weight: 600;
  color: rgba(228,194,122,0.7) !important;
  letter-spacing: 0.5px;
}

/* ── Card actions — daha büyük, VIP hissiyatı ── */
.card .card-actions {
  margin-top: 14px !important;
  gap: 8px !important;
}

.card .add-to-cart-btn {
  padding: 10px 18px !important;
  font-size: 11px !important;
  letter-spacing: 1.2px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(228,194,122,0.4) !important;
  background: rgba(228,194,122,0.06) !important;
  color: rgba(228,194,122,0.9) !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease !important;
}

.card .add-to-cart-btn:hover {
  background: rgba(228,194,122,0.14) !important;
  border-color: rgba(228,194,122,0.7) !important;
  transform: translateY(-1px) !important;
}

.card .add-to-cart-btn.is-added {
  background: rgba(62,207,106,0.15) !important;
  border-color: rgba(62,207,106,0.4) !important;
  color: rgba(62,207,106,0.9) !important;
}

/* ── Card hover shadow ── */
.card:hover {
  box-shadow:
    0 24px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(228,194,122,0.25),
    0 0 40px rgba(228,194,122,0.07) !important;
  transform: translateY(-4px) !important;
}

/* ── Boş kart — hiç yazı gösterme ── */
.media.is-empty {
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(228,194,122,0.07), transparent 70%),
    linear-gradient(160deg, rgba(18,8,14,0.95), rgba(10,5,10,0.98)) !important;
}

/* ── Responsive card sizing ── */
@media (min-width: 1200px) {
  .home-category-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .card .media { aspect-ratio: 3/4 !important; }
  .card .meta h3 { font-size: 15px !important; }
}

/* ============================================================
   PRODUCT PREVIEW MODAL — CRISP PREMIUM MEDIA UPGRADE
   Daha net, daha premium, low-res dostu ürün büyütme alanı
   ============================================================ */
.product-preview {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 220, 160, 0.08), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(255, 210, 120, 0.07), transparent 28%),
    rgba(5, 8, 16, 0.82) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
}

.product-preview-dialog {
  width: min(1120px, 96vw) !important;
  max-height: min(90vh, 860px) !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr) !important;
  border-radius: 34px !important;
  border: 1px solid color-mix(in srgb, var(--page-accent) 48%, rgba(255,255,255,0.08)) !important;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 228, 170, 0.08), transparent 28%),
    linear-gradient(160deg, rgba(9, 14, 25, 0.98), rgba(7, 10, 19, 0.98)) !important;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 243, 224, 0.04) inset,
    inset 0 1px 0 rgba(255, 248, 233, 0.12) !important;
}

.product-preview-media {
  position: relative;
  isolation: isolate;
  min-height: 540px !important;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 230, 185, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(10, 15, 28, 0.96), rgba(5, 9, 18, 0.98)) !important;
}

.product-preview-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 229, 184, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 18%, transparent 82%, rgba(255,255,255,0.03));
  pointer-events: none;
  z-index: 1;
}

.product-preview-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 226, 180, 0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 2;
}

.product-preview-backdrop {
  position: absolute;
  inset: -7%;
  z-index: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(30px) saturate(1.12) brightness(0.78);
  transform: scale(1.08);
  opacity: 0.95;
}

.product-preview-image-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 34px;
  display: grid;
  place-items: center;
  --preview-image-native-w: 680px;
  --preview-image-native-h: 760px;
}

.product-preview-image-shell::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  pointer-events: none;
}

.product-preview-image {
  position: relative;
  z-index: 2;
  width: min(100%, 680px) !important;
  height: min(100%, 700px) !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 236, 208, 0.08),
    0 0 0 10px rgba(255, 246, 230, 0.02);
  filter: saturate(1.03) contrast(1.04) !important;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.product-preview-media.is-lowres .product-preview-image {
  width: min(100%, var(--preview-image-native-w)) !important;
  height: auto !important;
  max-height: min(82vh, 680px);
}

.product-preview-media.is-portrait .product-preview-image {
  width: min(100%, 620px) !important;
  height: min(100%, 740px) !important;
}

.product-preview-media.is-landscape .product-preview-image {
  width: min(100%, 760px) !important;
  height: auto !important;
}

.product-preview-media.is-square .product-preview-image {
  width: min(100%, 640px) !important;
  height: auto !important;
}

.product-preview-content {
  padding: 38px 34px 34px !important;
  gap: 16px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)),
    radial-gradient(circle at 0% 0%, rgba(255, 224, 160, 0.04), transparent 30%);
}

.product-preview-tag {
  background: rgba(255, 222, 165, 0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.product-preview-title {
  font-size: clamp(32px, 2.9vw, 48px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em;
}

.product-preview-price {
  font-size: 18px !important;
}

.product-preview-text {
  color: rgba(240, 230, 212, 0.84) !important;
  font-size: 15.5px !important;
  line-height: 1.82 !important;
}

.product-preview-list li {
  color: rgba(232, 220, 198, 0.82) !important;
}

.product-preview-close {
  top: 16px !important;
  right: 16px !important;
  min-width: 66px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

@media (max-width: 980px) {
  .product-preview-dialog {
    width: min(96vw, 860px) !important;
    grid-template-columns: 1fr !important;
  }

  .product-preview-media {
    min-height: 420px !important;
  }

  .product-preview-image-shell {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .product-preview {
    padding: 14px !important;
  }

  .product-preview-dialog {
    border-radius: 26px !important;
    max-height: 92vh !important;
  }

  .product-preview-media {
    min-height: 320px !important;
  }

  .product-preview-media::after {
    inset: 12px;
    border-radius: 22px;
  }

  .product-preview-image-shell {
    padding: 18px;
  }

  .product-preview-image {
    border-radius: 20px;
    width: min(100%, 100%) !important;
    max-height: 54vh;
  }

  .product-preview-content {
    padding: 22px 18px 22px !important;
  }
}
