/* Общий префикс: .tg-product-consultation-* */


.tg-product-consultation-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #222;
    border-radius: 8px;
    color: #222;
    display: flex;
    font-size: 15px;
    justify-content: center;
    line-height: 20px;
    padding: 12px 30px;
    text-align: center;
    width: 100%;
    cursor: pointer;
    position: relative;
	height: 46px;
}

/* Попап для обычных страниц */
.tg-product-consultation-inline-popup {
    display: none;
    padding: 12px;
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
}

.tg-product-consultation-inline-popup__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.tg-product-consultation-inline-popup .tg-popup-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    margin-bottom: 16px;	
}

.tg-product-consultation-inline-popup .tg-popup-close {
    align-items: center;
    background: #3c7000;
    border: none;
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: 400;
    line-height: 17px;
    cursor: pointer;
}

/* Попап для single-product */
.tg-product-consultation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    cursor: pointer;
}

.tg-product-consultation-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    z-index: 10000;
    text-align: center;
    display: none;
}

.tg-product-consultation-window .tg-popup-text {
    font-size: 16px;
    margin-bottom: 15px;
}

.tg-product-consultation-window .tg-popup-close {
    background: #222;
    color: #fff;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
}

.tg-product-consultation-btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: tg-product-consultation-spin 0.6s linear infinite;
}

@keyframes tg-product-consultation-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.tg-product-consultation-button.off {
    opacity: 0.4;
    pointer-events: none;
}
