/* Plugin styles only — no global page styles */

.hidden {
  display: none !important;
}

#tryon_modal_9a1b {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#openBtn {
  display: inline-block;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin: 16px 0;
}

.modal-content {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  width: 92%;
  max-width: 780px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.video-wrap {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  border-radius: 6px;
}

video, canvas {
  width: 100%;
  height: auto;
  display: block;
}

#overlay {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.controls {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.close {
  position: absolute;
  right: 8px;
  top: 8px;
  background: #eee;
  border: 0;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.hint {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.tryon-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.tryon-button-wrapper {
  margin: 14px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .tryon-button-wrapper {
    margin-top: 8px;
  }
}

#tryon_modal_9a1b button,
#tryon_modal_9a1b select {
  padding: 8px 10px;
  border-radius: 6px;
}

a {
  text-decoration: none;
  color: #111;
}
/* Overlay Try-On button on product image */
.tryon-overlay-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 50;
  padding: 8px 14px;
  font-size: 13px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .tryon-overlay-btn {
    bottom: 8px;
    right: 8px;
    padding: 6px 12px;
    font-size: 12px;
  }
}
