/* ==========================================================================
   MISS REZANNA - LUXURY DYNAMIC INTERACTIONS & MICRO-ANIMATIONS
   ========================================================================== */

/* 1. TOP ANNOUNCEMENT TICKER BAR */
.luxury-ticker-bar {
  position: relative;
  width: 100%;
  background-color: #111111;
  color: #EBF0E6;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 0;
  overflow: hidden;
  z-index: 99999;
  border-bottom: 1px solid rgba(195, 161, 103, 0.3);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: luxuryTickerScroll 28s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
  color: #EBF0E6;
}

.ticker-item span.gold-symbol {
  color: #C3A167;
  margin-right: 10px;
  font-size: 0.85rem;
}

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

/* 2. GOLD EDITORIAL SCROLL PROGRESS BAR */
.luxury-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #C3A167, #E5C388, #C3A167);
  width: 0%;
  z-index: 100001;
  transition: width 0.08s ease-out;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(195, 161, 103, 0.6);
}

/* 3. DYNAMIC QUICK-VIEW BUTTON ON PRODUCT CARDS */
.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.quick-view-trigger-btn {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid rgba(195, 161, 103, 0.4);
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  z-index: 20;
}

.product-card:hover .quick-view-trigger-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.quick-view-trigger-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 0 8px 24px rgba(195, 161, 103, 0.4);
}

/* 4. LUXURY QUICK VIEW MODAL */
.quickview-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.quickview-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.quickview-modal-card {
  background: #F8F6F2;
  border: 1px solid rgba(195, 161, 103, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quickview-modal-backdrop.open .quickview-modal-card {
  transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
  .quickview-modal-card {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
}

.quickview-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #111111;
  transition: all 0.2s ease;
}

.quickview-close-btn:hover {
  background: #111111;
  color: #ffffff;
  transform: rotate(90deg);
}

.quickview-image-container {
  position: relative;
  background: #EBE7DF;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.quickview-image-container:hover img {
  transform: scale(1.06);
}

.quickview-info-panel {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quickview-category-label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C3A167;
  margin-bottom: 8px;
}

.quickview-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.25;
  margin: 0 0 12px;
}

.quickview-price-badge {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.quickview-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 24px;
}

.quickview-size-selector {
  margin-bottom: 28px;
}

.quickview-size-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111111;
  margin-bottom: 10px;
}

.size-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-pill {
  border: 1px solid #CCCCCC;
  background: #ffffff;
  color: #2F2F2F;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-pill.active, .size-pill:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.quickview-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-quick-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.btn-quick-wa:hover {
  background: #1EBD59;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

.btn-quick-cart {
  background: #111111;
  color: #ffffff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-quick-cart:hover {
  background: #C3A167;
  color: #ffffff;
  transform: translateY(-2px);
}

/* 5. FLOATING HEART PARTICLES FOR WISHLIST */
.heart-particle {
  position: fixed;
  color: #C3A167;
  font-size: 1.25rem;
  pointer-events: none;
  z-index: 100099;
  animation: floatHeartUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatHeartUp {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translateY(-80px) scale(1.4);
    opacity: 0;
  }
}

/* 6. SUBTLE CARD 3D SHEEN EFFECT */
.sheen-card {
  position: relative;
}

.sheen-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 55%
  );
  transform: rotate(35deg) translateY(-100%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.sheen-card:hover::after {
  transform: rotate(35deg) translateY(100%);
}
