/**
* 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;
}

.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%);
}

#design-modal.modal.ndp-model {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transform: translateX(100%);
    transition: all 0.3s ease-in;
}
#design-modal.modal.ndp-model.modal-active {
    transform: translateX(0);
}
body.product-available-for-order:has(#design-modal.modal.ndp-model.modal-active) {
    overflow: hidden;
}

#design-modal.modal.ndp-model {
    top: 32px;
    /* Default WP admin bar height */
    height: calc(100% - 32px);
}

@media (max-width: 782px) {
    #design-modal.modal.ndp-model {
        top: 46px;
        /* WP admin bar height on mobile */
        height: calc(100% - 46px);
    }
}

#designer-popup-content {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 0;
    /* border-radius: 8px 0 0 8px; */
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

#designer-popup-content iframe
{
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
}
#designer-popup-content .close-designer-popup{
    background-color: transparent;
    border: 0;
    font-size: 0;
    width: 41px;
    height: 41px;
    transform: rotateZ(45deg);
    top: 5px !important;
}
#designer-popup-content .close-designer-popup::after, #designer-popup-content .close-designer-popup::before{
    font-size: 1em;
    line-height: 1em;
    color: #000;
    content: '';
    margin: 0;
    vertical-align: top;
    display: inline-block;
    font-weight: 400;
    overflow: hidden;
    text-align: center;
    position: absolute;
    top: 20px;
    left: 12px;
    border-top: 1px solid;
    height: 20px;
    width: 20px;
}
#designer-popup-content .close-designer-popup::after{
    top: 10px;
    left: 22px;
    transform: rotateZ(-90deg);
}

@media (min-width: 1200px) {
    #designer-popup-content{
        width: 96%;
    }
    #designer-popup-content iframe{
        padding: 10px;
    }
    #designer-popup-content .close-designer-popup{
        top: 25px !important;
    }
    body #design-modal.modal.ndp-model {
        top: 0;
        height: 100%;
    }
}