/* Root + lock */
html.oh-qv-lock { overflow: hidden; }

.oh-qv-root {
  position: fixed; inset: 0;
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.oh-qv-root.open { display: flex; }

.oh-qv-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}

.oh-qv-dialog {
  position: relative;
  max-width: 920px;
  max-height: calc(100vh - 100px);
  background: #fff;
  border-radius: 8px;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.oh-qv-close {
    position: absolute;
  top: -50px;
  right: -10px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  width: 50px;
  height: 50px;
  padding: 0px;
}
.oh-qv-close svg {
  fill: #fff;
  stroke: #fff;
}

.oh-qv-body {
  padding: 30px;
  overflow: auto;
}

.oh-qv-loading,
.oh-qv-error { padding: 40px; text-align: center; }

.oh-qv-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

.oh-qv-left .woocommerce-product-gallery {
  /* make gallery comfortable inside modal */
  max-width: 100%;
}
.oh-qv-left .flex-viewport,
.oh-qv-left .woocommerce-product-gallery__wrapper {
  border-radius: 10px;
  overflow: hidden;
}

/* Right summary column */
.oh-qv-right .summary { 
padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.oh-qv-left .oh-pg-thumbs-col {
  display: none;
}
.oh-qv-left  .swiper-slide{
	width: 100% !important;
}
.oh-quick-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.oh-qv-root  .oh-trigger-lightbox {
  display: none;
}
.oh-qv-root  .pswp__scroll-wrap {
  display: none;
}
.oh-qv-root  .oh-after-atc {
  display: none;
}

.oh-qv-left a {
  position: absolute;
  bottom: -42px;
  width: 100%;
  left: 0px;
  z-index: 1;
  border-radius: 0px;
  text-transform: uppercase;
}
.oh-qv-left {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
    position: sticky;
  top: 0px;
}
.oh-qv-left .oh-pgallery {
  border-radius: 8px;
  overflow: hidden;
    width: 100%;
}
.oh-qv-left  .oh-pg-grid {
  display: block;
}
.oh-qv-right .summary.entry-summary {
  width: 100%;
}
.oh-qv-left:hover a {
  bottom: 0px;
}
.oh-qv-right .posted_in{
  display: none;
}

.oh-qv-left .oh-main-next {
  position: absolute;
  top: 50%;
  right: 0px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 0px;
  cursor: pointer;
  transform: translate(30px, -50%);
  opacity: 0;
  transition: 300ms;
}
.oh-qv-left .oh-main-prev {
  position: absolute;
  top: 50%;
  left: 0px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 0px;
  cursor: pointer;
  transform: translate(-30px, -50%);
  transition: 300ms;
  opacity: 0;
}
.oh-qv-left .oh-pg-main-col:hover .oh-main-prev, .oh-qv-left .oh-pg-main-col:hover .oh-main-next {
  opacity: 1;
  transform: translate(0px, -50%);
}
.oh-qv-left .oh-main-prev svg, .oh-qv-left .oh-main-next svg {
  width: 30px;
  color: #afafaf;
}
.oh-qv-left  .oh-main-next.swiper-button-disabled{
  display: none;
}
.quick_title {
  margin-bottom: 0px;
}
.oh-qv-right .price {
  font-size: 155%;
  line-height: 1.2;
}
.oh-qv-right .sku_wrapper {
  color: var(--oh-color3);
  font-weight: 600;
}
.oh-qv-right .sku_wrapper .sku {
  font-weight: 400;
  color: var(--oh-secondary);
}

.oh_quick_brand img {
  max-width: 65px;
}
.oh-single-brand {
  display: flex;
}
.oh-qv-right table.variations .label {
  font-family: inherit;
  color: inherit;
  font-weight: inherit;
  font-style: inherit;
  padding-right: 20px;
  padding-bottom: 20px;
}
.oh-qv-right table.variations .value {
  padding: 0 0 20px 0;
  border: none;
  vertical-align: middle;
}
.reset_variations {
  margin-left: 10px;
  vertical-align: middle;
  font-size: 12px;
  color: #767676;
}
.reset_variations::before {
  margin-right: 3px;
  content: "\f112";
  font-family: "woodmart-font";
}
.oh-qv-right .oh-qty button, .oh-qv-right .oh-qty input{
  height: 42px;
}
.oh-qv-right .cart {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.oh-qv-right .cart.variations_form {
  display: block;
}
.oh-qv-right .woocommerce-variation-add-to-cart {
  display: flex;
  gap: 10px;
}
/* Responsive */
@media (max-width: 900px) {
  .oh-qv-wrap { grid-template-columns: 1fr; }
  .oh-qv-dialog { width: 95vw; margin-top: 4vh; }
}