/* ---------- Quick View product modal ---------- */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 36, 48, 0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.qv-overlay.open {
  opacity: 1;
  visibility: visible;
}

.qv-modal {
  background: var(--cream-card);
  border-radius: var(--radius);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(58, 36, 48, 0.5);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.2s ease;
}
.qv-overlay.open .qv-modal {
  transform: translateY(0) scale(1);
}

.qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qv-close:hover { background: #fff; }

.qv-gallery {
  flex: 1 1 50%;
  min-width: 0;
  background: var(--oat-deep);
  display: flex;
  flex-direction: column;
}

.qv-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--oat-deep);
}
.qv-stage img, .qv-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qv-stage .sold-out {
  position: absolute;
  inset: 0;
  background: rgba(58,36,48,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.qv-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: var(--cream-card);
}
.qv-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--oat-deep);
}
.qv-thumb.active { border-color: var(--berry); }
.qv-thumb img, .qv-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }

.qv-info {
  flex: 1 1 50%;
  min-width: 0;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qv-info .cat {
  font-size: 0.8rem;
  color: var(--sage);
  text-transform: lowercase;
}

.qv-info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0;
}

.qv-info .desc {
  color: #6B4F5A;
  margin: 0;
  line-height: 1.6;
}

.qv-info .price {
  color: var(--berry-deep);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 4px 0 0;
}

.qv-swatch-label {
  font-size: 0.85rem;
  color: #6B4F5A;
  margin: 0;
}

.qv-info .btn-whatsapp {
  margin-top: auto;
  text-align: center;
}

@media (max-width: 720px) {
  .qv-modal { flex-direction: column; max-height: 92vh; }
  .qv-stage { aspect-ratio: 4 / 3; }
  .qv-info { padding: 22px 20px 26px; }
}
