/**
* BYI stylesheet
*
* @since 2.0.5
*/
#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description {
    height: 122px;
    text-align: center;
}
.byi-product-list .product-description .btn.btn-primary {
    margin-top: 10px;
}

.featured-products .byi-product-list .thumbnail-container .highlighted-informations,
.product-accessories .byi-product-list .thumbnail-container .highlighted-informations ,
#products .byi-product-list .thumbnail-container .highlighted-informations,
.product-miniature .byi-product-list .thumbnail-container .highlighted-informations{
    height: 70px;
}

.featured-products .byi-product-list .thumbnail-container:hover .highlighted-informations,
.product-accessories .byi-product-list .thumbnail-container:hover .highlighted-informations ,
#products .byi-product-list .thumbnail-container:hover .highlighted-informations,
.product-miniature .byi-product-list .thumbnail-container:hover .highlighted-informations{
    bottom: 122px;
}

/* Modal Styles */
.ndp-model {
  left: 19px;
  top: 30px;
  width: 98%;
  height: 92%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  display: flex;
}
.ndp-model-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  height: 80dvh;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
}
.ndp-model-content > span.close {
  color: #fff;
  background-color: rgba(0, 0, 0, 1);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: bold;
  position: absolute;
  top: -15px;
  right: -15px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}
.ndp-model-content > span.close:hover,
.ndp-model-content > span.close:focus {
  background-color: rgba(0, 0, 0, 1);
  outline: none;
}
.ndp-model-content > span.close:active {
  transform: scale(0.9);
}
/* Make the modal a real overlay */
#design-modal.modal.ndp-model {
  position: fixed !important;
  background: rgba(0,0,0,0.6);
  z-index: 2147483000;
  display: none;        /* you toggle it to flex in JS */
  align-items: center;
  justify-content: center;
}
/* Constrain and hide overflow around the iframe */
#designer-popup-content {
  position: relative;
  width: min(1200px, 95vw);
  height: 85vh;
  overflow: hidden;     /* crop any oversize iframe */
  background: #fff;
}
/* Always render iframe as a block */
#designer-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* The mask that covers the bottom area of the iframe */
.designer-iframe-bottom-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;        /* adjust this to cover what you want hidden */
  background: #fff;     /* match #designer-popup-content bg */
  z-index: 2;
  /* If you also want to block clicks on the hidden area, leave as-is.
     If you want clicks to pass through, use pointer-events:none */
  pointer-events: auto;
}
.designer-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  z-index: 1001; /* Should be higher than popup content */
  transform: translate(-50%, -50%);
}