* {
    transition: all .4s;
}

.mcb-column-inner .cwginstock-subscribe-form .panel-primary>.panel-heading {
    background-color: #ffb8c9;
    border-color: #ffb8c9;
}

.has-text-align-right {
    text-align: right;
}

.woocommerce ul.products li.product .mfn-li-product-row-button {
    flex-direction: column;
}

.woocommerce ul.products li.product .mfn-li-product-row-button .cwg_popup_submit {
    margin-top: 4%;
}

.products.elementor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* Всі колонки мають однакову ширину */
    gap: 20px;
    /* Відстань між елементами */
}

.products.elementor-grid>li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
    /* Внутрішні відступи, щоб усі елементи виглядали однаково */
    background-color: #fff;
    /* Можна додати фон для наочності */
}

.mfn-variations-wrapper-loop {
    max-width: 160px;
    margin: auto;
    /* Щоб не виходило за межі */
    width: 100%;
    box-sizing: border-box;
    /* Враховуємо відступи всередині елемента */
}

#externalStorePopup.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#externalStorePopup .popup-content-2 {
    background: #fff;
    padding: 30px 30px 20px 30px;
    border-radius: 5px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    position: relative;
}

#externalStorePopup .popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 30px;
    color: #000;
    opacity: .6;
    cursor: pointer;
}

#externalStorePopup .popup-close:hover {
    opacity: 1;
}

#externalStorePopup .popup-content-2 .button {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    text-decoration: none;
}

#externalStorePopup .popup-content-2 .button:hover {
    color: #ffa5ba;
}

.external-store {
    font-size: .92em;
}

.external-store.external-store_in {
    color: #b3af54;
}

.external-store.external-store_out {
    color: red;
}