/* Candle Makers Resource — Quick View model styles.
   A smaller product card floating over the listing page, background dimmed.
   Matches the shop look: cream page, dark green text, orange accent. */
.cmr-qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(1, 20, 18, 0.55);
  box-sizing: border-box;
}
.cmr-qv-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
	height: 92vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}
.cmr-qv-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3efe6;
  color: #011412;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.cmr-qv-close:hover { background: #e7ddc8; }
.cmr-qv-body { flex: 1; min-height: 0; padding: 0; box-sizing: border-box; }
.cmr-qv-frame { width: 100%; height: 100%; min-height: 70vh; border: 0; display: block; }
.cmr-qv-loading, .cmr-qv-error { padding: 30px 10px; text-align: center; color: #011412; }
.cmr-qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.cmr-qv-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #f3efe6;
}
.cmr-qv-title {
  margin: 0 0 8px;
  color: #011412;
  font-size: 26px;
  line-height: 1.25;
}
.cmr-qv-price {
  margin: 0 0 14px;
  color: #011412;
  font-size: 22px;
  font-weight: 700;
}
.cmr-qv-price del { color: #6b6257; font-weight: 400; margin-right: 6px; }
.cmr-qv-price ins { text-decoration: none; }
.cmr-qv-short { color: #3a3a3a; margin: 0 0 16px; }
.cmr-qv-short p { margin: 0 0 8px; }
.cmr-qv-attr { margin: 0 0 16px; }
.cmr-qv-attr-label {
  font-weight: 700;
  color: #011412;
  margin-bottom: 8px;
  text-transform: capitalize;
}
.cmr-qv-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cmr-qv-pill {
  border: 2px solid #d8d2c4;
  background: #fff;
  color: #011412;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  cursor: pointer;
}
.cmr-qv-pill:hover { border-color: #011412; }
.cmr-qv-pill.is-selected { border-color: #dd6c3f; box-shadow: 0 0 0 2px #dd6c3f; }
.cmr-qv-pill.is-disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.cmr-qv-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #d8d2c4;
  padding: 0;
  cursor: pointer;
}
.cmr-qv-color:hover { border-color: #011412; }
.cmr-qv-color.is-selected { border-color: #dd6c3f; box-shadow: 0 0 0 2px #dd6c3f; }
.cmr-qv-color.is-disabled { opacity: 0.3; cursor: not-allowed; }
.cmr-qv-chosen { color: #6b6257; min-height: 1.2em; margin: 0 0 6px; }
.cmr-qv-buy { display: flex; gap: 12px; align-items: stretch; margin: 18px 0 10px; flex-wrap: wrap; }
.cmr-qv-qty { display: flex; align-items: center; gap: 8px; color: #011412; font-weight: 700; }
.cmr-qv-qty-input {
  width: 64px;
  padding: 10px 8px;
  border: 2px solid #d8d2c4;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}
.cmr-qv-add {
  background: #dd6c3f;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.cmr-qv-add:hover { background: #c85a32; }
.cmr-qv-add:disabled { opacity: 0.5; cursor: not-allowed; }
.cmr-qv-msg { color: #011412; min-height: 1.2em; margin: 0 0 6px; }
.cmr-qv-msg a { color: #dd6c3f; }
.cmr-qv-full { margin: 10px 0 0; }
.cmr-qv-full a { color: #6b6257; }
@media (max-width: 640px) {
	.cmr-qv-overlay { padding: 8px; }
	.cmr-qv-card { height: 94vh; border-radius: 12px; }
	.cmr-qv-body { padding: 0; }
	}
