/* ========================================================================= */
/* LENCECO 360° STUDIO VIEW ON EVERY CARD STYLES                             */
/* ========================================================================= */

.lce-card-360-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(17, 20, 24, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f6d892;
  border: 1px solid rgba(246, 216, 146, 0.4);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.lce-card-360-btn:hover {
  background: #111418;
  color: #fff;
  border-color: #f6d892;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.35);
}

.lce-card-360-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* 360 Studio Modal */
#lce-360-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

#lce-360-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lce-360-box {
  background: #111418;
  border: 1px solid rgba(246, 216, 146, 0.3);
  border-radius: 24px;
  width: 720px;
  max-width: 95vw;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #fff;
  animation: lceModalZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lceModalZoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lce-360-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.lce-360-title {
  font-size: 18px;
  font-weight: 700;
  color: #f6d892;
  margin: 0;
}

.lce-360-sku {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.lce-360-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lce-360-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Turntable Canvas / Image Stage */
.lce-360-stage {
  position: relative;
  width: 100%;
  height: 340px;
  background: radial-gradient(circle at center, #1e2530 0%, #111418 80%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  cursor: grab;
}

.lce-360-stage:active {
  cursor: grabbing;
}

.lce-360-stage img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.1s ease;
  pointer-events: none;
}

.lce-360-hint {
  position: absolute;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  color: #cbd5e1;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* Angles Nav Pills */
.lce-360-angles {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.lce-angle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.lce-angle-btn:hover {
  background: rgba(246, 216, 146, 0.15);
  border-color: #f6d892;
  color: #f6d892;
}

.lce-angle-btn.active {
  background: #f6d892;
  color: #111418;
  border-color: #f6d892;
  font-weight: 700;
}

/* Modal Bottom Actions */
.lce-360-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}

.lce-360-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.lce-360-link-btn.gold {
  background: linear-gradient(135deg, #c5a059 0%, #f6d892 100%);
  color: #111;
}

.lce-360-link-btn.gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.lce-360-link-btn.outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lce-360-link-btn.outline:hover {
  border-color: #f6d892;
  color: #f6d892;
}
