/*
Theme Name: Kallyas Child
Template: kallyas
Version: 1.0.0
*/

/* Попап overlay */
#popup-form.popup-overlay {
    display: none; /* скрыт по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); /* более тёмный фон */
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Контент попапа */
#popup-form .popup-content {
    background: #1e1e1e; /* тёмный фон формы */
    border-radius: 20px;
    padding: 30px 20px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0; /* светлый текст */
}

/* Кнопка закрытия */
#popup-form .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #e0e0e0;
}

/* Заголовок */
#popup-form .form-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #29abe2, #00cfff); /* акцентный градиент */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Поля CF7 внутри попапа */
#popup-form .wpcf7-form input[type="text"],
#popup-form .wpcf7-form input[type="email"],
#popup-form .wpcf7-form input[type="tel"],
#popup-form .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 10px;
    border: 2px solid #555; /* тёмная рамка */
    background: #2a2a2a; /* тёмное поле */
    color: #e0e0e0; /* светлый текст */
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

#popup-form .wpcf7-form input::placeholder,
#popup-form .wpcf7-form textarea::placeholder {
    color: #b0b0b0;       /* цвет текста placeholder */
    font-family: 'Inter', sans-serif;  /* шрифт */
    font-size: 12px;       /* размер шрифта */
    font-weight: 300;      /* толщина шрифта */
}

#popup-form .wpcf7-form input:focus,
#popup-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: #29abe2; /* акцент при фокусе */
    box-shadow: 0 0 0 3px rgba(41,171,226,0.2);
    transform: translateY(-1px);
}

#popup-form .wpcf7-form textarea {
    min-height: 80px;
    resize: vertical;
}

/* Кнопка отправки */
#popup-form .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #29abe2, #00cfff);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#popup-form .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(41,171,226,0.3);
}

/* Сообщения */
#popup-form .success-message,
#popup-form .error-message {
    display: none;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
    font-size: 14px;
}

#popup-form .success-message {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

#popup-form .error-message {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
}

/* Поля с ошибкой */
#popup-form .wpcf7-form input.wpcf7-not-valid,
#popup-form .wpcf7-form textarea.wpcf7-not-valid {
    border-color: #f56565;
    box-shadow: 0 0 0 3px rgba(245,101,101,0.2);
}

/* Сброс отступов <p> */
#popup-form .wpcf7-form p {
    margin: 0;
    color: #e0e0e0;
}

/* Адаптив */
@media (max-width: 500px) {
    #popup-form .popup-content {
        padding: 20px 15px;
    }

    #popup-form .form-title {
        font-size: 20px;
    }

    #popup-form .wpcf7-form input[type="text"],
    #popup-form .wpcf7-form input[type="email"],
    #popup-form .wpcf7-form input[type="tel"],
    #popup-form .wpcf7-form textarea,
    #popup-form .wpcf7-form input[type="submit"] {
        font-size: 13px;
        padding: 10px 12px;
    }
}

@media (max-width: 767px) {
  .separator.site-header-separator.visible-xs {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .fxb-row-col-sm {
    flex-direction: row !important; 
  }
  
  .site-header-top-right {
	display: none !important;
  }
}

@media (max-width: 480px) {
  .site-header .sh-component {
	margin: 20px 20px 0 0 !important;
  }
}

.catItemAuthor {
    display: none;
}