.mora-quick-view-button {
  background-color: #bc4a7e !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border-radius: 4px !important;
  text-transform: uppercase;
	cursor: pointer !important;
}

.mora-quick-view-button:hover {
  background-color: #a93c6c !important;
  color: #fff !important;
}
.mora-quick-view-button.primary,
.mora-quick-view-button.is-small {
  all: unset ;
} 

body.mora-modal-open {
  overflow: hidden !important;
}

.mora-quickview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: auto;
}

.mora-quickview-modal {
  background: #fff;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mora-quickview-left {
  flex: 1;
  background-color: #f9f9f9;
  padding: 0;
  overflow: hidden;
}

.mora-quickview-left img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mora-quickview-right {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  max-height: 100%;
  box-sizing: border-box;
}

.mora-quickview-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #222;
  z-index: 10;
}
/* Reduce image size & add padding */
.mora-image img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  padding: 20px;
}

/* Radio grid + hidden input */
.radio-grid input[type="radio"] {
  display: none;
}
.radio-label {
  padding: 10px 16px;
  border: 2px solid #ccc;
  border-radius: 6px;
  min-width: 60px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.radio-grid input[type="radio"]:checked + .radio-label {
  background-color: #bc4a7e;
  color: #fff;
  border-color: #bc4a7e;
}

/* Swatch hover tip */
.color-selection label span {
  cursor: pointer;
}

/* === Layout for size/height === */
.radio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.radio-grid input[type="radio"] {
  display: none;
}
.radio-label {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid #ccc;
  border-radius: 6px;
  min-width: 60px;
  text-align: center;
  font-weight: 500;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.radio-grid input[type="radio"]:checked + .radio-label {
  background-color: #bc4a7e;
  color: #fff;
  border-color: #bc4a7e;
}

/* === Color Tooltip === */
.color-selection label span {
  position: relative;
}
.color-selection label span::after {
  content: attr(title);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
}
.color-selection label span:hover::after {
  opacity: 1;
}

/* === Modal loader === */
/* Loader animation */
@keyframes moraSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#moraQuickViewLoader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  display: none;
}

#moraQuickViewLoader img {
  width: 60px;
  height: 60px;
  animation: moraSpin 1s linear infinite;
}

/* Tooltip for color swatches */
.color-selection label span[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -30px;
  left: 0;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10000;
}
body.mora-no-scroll {
  overflow: hidden !important;
} 
