/* Megaspa Club custom styles for Site's app Seller 2.0 Theme v.2026.06.29

- Header
- Signup Page
-- Hide choosing company type form signup and order pages
-- Signup Form Improvement
- Main Page
- Profile Page
- Order Page
- Product Page
- Footer
-- Custom Contact Menu

*/

/* --- Header --- */

.header.header--desktop.border-b {
    border-bottom: none;
}

/* --- Signup Page --- */

.reg-width-100.reg-radio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.reg-type-radio, .reg-radio .form-label {
    display: inline-block !important;
}

.wa-field.wa-field-agree_email {
    display: flex;
}
.reg-form .wa-field.wa-field-agree_email .wa-name {
    width: 90% !important;
    max-width: 100%;
    order: 2;
}
.reg-form .wa-field.wa-field-agree_email .wa-value {
    width: 10% !important;
    order: 1;
}

/* --- Signup Form Improvements --- */

.reg-form .wa-field .wa-name {
    width: 35% !important;
}
.reg-form .wa-field .wa-value {
    width: 65% !important;
}
.reg-form .wa-field.wa-captcha-field .wa-name,
.reg-form .wa-field.wa-captcha-field .wa-value,
.wa-field.wa-files .wa-value, .wa-field.wa-files .wa-name,
.reg-form .wa-field.wa-field-terms-accepted .wa-value {
    width: 100% !important;
}
.wa-captcha-section.wa-recaptcha {
    margin-bottom: 0;
}
button.wa-done-signup-button {
    width: 100%;
    padding: 0.25rem;
    color: #fff;
    background: #a87a3c;
    border-radius: 2px;
    font-weight: 500;
    line-height: 2;
}

/* --- Main Page --- */

.categories.categories--01 .categories__item,
.categories.categories--mini .categories__item {
    width: 32.225%;
}
.categories__img {
    padding: 3em;
}
@media (max-width: 992px) {
    .categories__img {
        padding: 1em;
    }
}
.categories__image-wrapper::before {
    background-image: none;
}

.slider.slider-04 .swiper-slide.overflow-hidden {
}

.banners-block .block-header__title {
    display: block !important;
    width: 100%;
    text-align: center;
}
.banners-block .block-header__description {
    display: block !important;
    width: 100%;
    max-width: 100%;
    text-align: center !important;
}

/* --- Profile Page --- */

.my-nav__list .inline-flex:nth-of-type(5) {
    display: none;
}

form#payment-form input {
    font-size: 0.8em;
    width: auto;
    padding: 0.25rem 1rem;
    margin-top: 0.5em;
    color: #fff;
    background: #a87a3c;
    border-radius: 2px;
    font-weight: 500;
    line-height: 2;
    cursor: pointer;
}
@media (max-width: 992px) {
    form#payment-form input {
        width: 100%;
        padding: 0.25rem 1rem;
        margin: 1em 0 2em 0;

    }
}

/* --- Order Page --- */

.wa-order-form-wrapper .wa-step-auth-section .wa-field-wrapper.size-large a {
    text-decoration: underline;
    color: #888;
}

#js-delivery-types-section .wa-types-list .wa-type-wrapper:only-child .wa-price {
    display: none;
}

/* --- Product Page --- */

.flexdiscount-price-block,

body:not(.authorized) .product-badges__item.badge-soft-warning {
    display: none !important;
}

.plugin_arrived-box {
    font-family: var(--theme-font) !important;
}
.plugin_arrived-header {
    font-family: var(--theme-font) !important;
    font-weight: var(--font-weight-medium);
    background: #f0f0f0 !important;
    color: #000 !important;
    text-shadow: none !important;
}
.plugin_arrived-header span {
    padding: 11px 0 0 20px !important;
}
.plugin_arrived-value.submit input {
    background-color: #bf8e4d;
    color: #fff;
    padding: 0.75em 1.5em;
    font-weight: bold;
    padding-right: 0.75em 1.5em;
    cursor: pointer;
}

/* --- Footer --- */

/* --- Custom Contact Menu --- */

/* Базовый контейнер */
.custom-contact-widget {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Стили главной кнопки */
.custom-floating-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #4a5a98; /* Синий цвет под стиль Seller */
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 76, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-widget 2s infinite;
}
.custom-floating-main-btn:hover {
    transform: scale(1.08);
}

/* Стили всплывающего мини-окна */
.custom-contact-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 290px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}
.custom-contact-menu.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Строки мессенджеров */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.contact-item:not(:first-child):hover {
    background: #f5f7fa;
}
.contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Цвета брендов */
.max-item .contact-icon { background: #471aff; }
.whatsapp-item .contact-icon { background: #25d366; }
.telegram-item .contact-icon { background: #0088cc; }
.phone-item .contact-icon { background: #34b7f1; }

/* Анимация пульсации для привлечения внимания */
@keyframes pulse-widget {
    0% { box-shadow: 0 0 0 0 rgba(0, 118, 242, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0, 118, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 118, 242, 0); }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .custom-contact-widget { bottom: 70px; right: 20px; }
    .custom-floating-main-btn { width: 52px; height: 52px; }
    .custom-contact-menu { bottom: 65px; }
}
