/*
Theme Name: Contrax Lite
Description: Contrax Lite is a sleek and fully responsive theme template designed for WordPress full-site editing, fully optimized for the Gutenverse plugin. Contrax Lite is crafted specifically for construction firms, engineering companies, and independent contractors seeking a modern and professional online presence. This template package includes both a core version and a Gutenverse plugin version, offering pre-designed block patterns that make it easy to customize your site without needing to start from scratch. We’ve designed Contrax Lite to streamline your website creation process, making WordPress full-site editing a seamless and intuitive experience.





Author: Jegstudio
Author URI: https://gutenverse.com
Theme URI: https://gutenverse.com/themes/contrax-lite/
Version: 1.0.5
Stable tag: 1.0.5
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4.21
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: contrax-lite
Tags: grid-layout,block-patterns,block-styles,custom-background,blog,portfolio,full-site-editing
*/

:root{
    
}
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-library-block__reusable-block-container {
    max-width: 100%;
}

/* Контейнер формы */
.wpcf7-form {
    max-width: 420px !important; 
    padding: 30px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    font-family: "Segoe UI", sans-serif !important;
    color: #333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"], 
.wpcf7-form textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    margin-bottom: 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: #f9f9f9 !important;
    transition: border-color 0.2s, background 0.2s !important;
}

/* Заголовок */
.pum-title {
    font-size: 20px !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    color: #111 !important;
}

/* Поля ввода */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    margin-bottom: 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 14px;
    background: #f9f9f9 !important;
    transition: border-color 0.2s, background 0.2s !important;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #007acc !important;
    background: #fff !important;
    outline: none !important;
}

/* Подписи */
.wpcf7-form label {
    font-size: 14px !important;
    margin-bottom: 4px !important;
    display: block !important;
    font-weight: 500 !important;
}

/* Кнопка */
.wpcf7-form input[type="submit"] {
    background: #007acc !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: background 0.3s ease !important;
}

.wpcf7-form input[type="submit"]:hover {
    background: #005fa3 !important;
}

/* Кнопка закрытия */
.pum-container .pum-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 30px !important;
    height: 30px !important;
    background: #eee !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    padding: 0 !important;
    overflow: hidden !important;

    /* Центрирование крестика */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Показываем крестик через псевдоэлемент */
.pum-container .pum-close::before {
    content: "×";
    font-size: 22px;
    color: #333;
    line-height: 1;
}

/* Цвет крестика при наведении */
.pum-container .pum-close:hover::before {
    color: #000;
}

.pum-container .pum-close:hover {
    background: #ccc !important;
}

.pum-container {
    margin: 40px auto !important;
    max-width: 400px !important;
    padding: 20px !important;
    background: #f0f0f0 !important; /* можно оставить #fff, если хочешь белый фон */
    border-radius: 12px !important;
    box-shadow: 0 10px 30px #ffffff !important; /* белая непрозрачная тень */
    overflow: hidden !important;
    position: relative !important;
} 

.contrax-h2 {
    font-size: 43px !important;
}

.wp-elements-e0e3298613aec61cdcca53cf57588aa5 {
    line-height: 1 !important;
    font-weight: 400 !important;
}






/* Основные стили для контейнера */
.yoast-breadcrumbs {
    max-width: 800px;
    width: 100%;
    margin: 0 auto 30px auto;
    padding: 15px 20px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

/* Ссылки */
.yoast-breadcrumbs a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.yoast-breadcrumbs a:hover {
    color: #e74c3c;
}

/* Текущая страница (не ссылка) */
.yoast-breadcrumbs .breadcrumb_last {
    color: #2c3e50;
    font-weight: bold;
}

/* Убираем стандартный разделитель Yoast */
.yoast-breadcrumbs span:not(:last-child)::after {
    display: none; /* Отключаем дублирование */
}

/* Стиль для разделителя "»" (если он есть в HTML) */
.yoast-breadcrumbs .separator {
    margin: 0 8px;
    color: #95a5a6;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .yoast-breadcrumbs {
        padding: 10px 15px;
        font-size: 14px;
    }
}


//стили для списков
.step-block {
  font-family: 'Almarai', sans-serif;
  max-width: 300px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  font-size: 32px;
  font-weight: 700;
  color: #fc602e;
  line-height: 1;
}

.step-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  color: #000;
}

.step-text {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}


//для второго меню
.custom-catalog-menu {
  background-color: #fff;
  padding: 10px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
}

.custom-catalog-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* по центру! */
  gap: 20px;
  position: relative;
}


.custom-catalog-menu li {
  position: relative;
}

.custom-catalog-menu a {
  text-decoration: none !important;
  color: #000;
  font-weight: 600;
  padding: 8px 12px;
  display: block;
  transition: color 0.2s ease;
  font-size: 16px;
}

/* Родительский пункт — при наведении становится рыжим */
.custom-catalog-menu li:hover > a {
  color: #e64a19;
}

/* Подменю */
.custom-catalog-menu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
  min-width: 180px;
  flex-direction: column;
}

.custom-catalog-menu .submenu li {
  width: 100%;
}

.custom-catalog-menu li:hover > .submenu {
  display: block;
}

/* Подменю ссылки */
.custom-catalog-menu .submenu a {
  padding: 10px 15px;
  font-weight: 500;
  color: #000;
  text-decoration: none !important;
  font-size: 16px;
}

.custom-catalog-menu .submenu a:hover {
  background-color: transparent;
  color: #e64a19;
}



