/*
Theme Name: LMSMart
Theme URI: https://themeforest.net/item/lmsmart-education-wordpress-theme/35516189
Author: Pixelcurve
Author URI: http://thepixelcurve.com/
Description: Education & LMS WordPress Theme
Version: 1.7.1
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: blog, e-commerce, portfolio, custom-background, custom-header, full-width-template, footer-widgets, translation-ready, theme-options, two-columns
Text Domain: lmsmart
*/



/* ------ ДРІБНІ ВИПРАВЛЕННЯ ------ */
body.archive .tpc-woocommerce-sorting { margin-bottom: 0 !important;}
body.archive .tpc-container .row { margin: 0 !important; }

/* Заголовки архівів типу /tag/efektyvne-navchannya/  */
.archive__heading .archive__tax_title, .archive__heading .archive__tax_title>span {
    font-size: 27px !important;
    line-height: normal !important;
}

/* Плашка с категорієї на блозі  */
.post_categories {
    top: 20px !important;
    left: 20px !important;
}

/* Додати в кошик і переглянути кошик, меньший пробіл між рядками  */
ul.tpc-products li.product a.button, ul.tpc-products li.product a.wc-forward {
    line-height: 1.5em !important;
}


/* Заголовок УРОКІВ  */
.course__title,
.blog-post_title a,
.tutor-course-name a,
.entry-title,
.tutor-course-progress-item-title {  /* <--- Добавил этот класс сюда */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Опционально: если текст обрезается слишком резко, можно добавить word-break */
    word-break: break-word; 
}

.course__title a,
.blog-post_title a {
    color: inherit;
    font-size: 17px !important;
    line-height: 25px !important;
    font-weight: var(--lmsmart-header-font-weight);
}


/* Відступи на сторінках типу - /my-account/ - Незавершені уроки  */
.tutor-card-body {
    padding: 10px 15px !important;
}


/* Приховати текст "Подобається" всередині кнопки лайка */
.tpc-likes .sl-count-text {
    display: none !important;
}


/* Відступи назви в КОРЗИНІ */
.woocommerce .tpc_mini-cart_flex .tpc_mini-cart_contents {
	line-height: 25px;
}


/* --- ВИПРАВЛЕННЯ В КАБІНЕТІ (Tutor Dashboard) --- */
/* 1. ГЛОБАЛЬНО ховаємо глючні обгортки .select__field у всьому кабінеті */
.tutor-dashboard-content .select__field {
    display: none !important;
}

/* 2. ВИНЯТОК: Показуємо поле тільки для статусу сертифіката */
.tutor-dashboard-content .tutor-form-select-with-icon .select__field {
    display: block !important;
    width: auto !important;
}

/* 3. Прибираємо зайві іконки очей */
.tutor-form-select-with-icon i.icon1,
.tutor-form-select-with-icon i.icon2 {
    display: none !important;
}

/* 4. БЛОКУЄМО ПЕРЕМИКАЧ (робимо його просто текстом) */
.tutor-option-field-input .tutor-form-select-with-icon select {
    pointer-events: none !important;    /* Забороняє натискати */
    background: transparent !important; /* Прибирає зелений фон всередині */
    border: none !important;            /* Прибирає рамку */
    box-shadow: none !important;
    appearance: none !important;        /* Прибирає стрілочку вибору */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 600 !important;        /* Жирний шрифт для статусу */
    color: inherit !important;          /* Колір як у тексту */
    cursor: default !important;         /* Курсор не змінюється на руку */
    width: auto !important;
}

/* Стиль контейнера (щоб прибрати зелену рамку навколо всього блоку) */
.tutor-option-field-input .tutor-form-select-with-icon {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-right: 15px !important;
    width: auto !important;
    min-width: auto !important;
    display: block !important;
}

/* 5. Ваші попередні фікси */
.tutor-dashboard-content .react-datepicker__input-container {
    padding-top: 0 !important;
}

.tutor-divider {
    margin-top: 10px !important;
}




/* ВІДСТУПИ ЧЕТБОКАСА (галочки) Запам'ятати мене */
input[name="xoo-el-rememberme"] {
    margin: 0 !important; 
    vertical-align: middle;
    position: relative;
}
input[name="xoo_el_reg_terms"] {
    margin: 0 6px 0 0 !important; 
    vertical-align: middle;
}

.xoo-aff-group {
    margin-bottom: 20px;
}



/* КОСЯКИ З ЦІНОЮ НА СТОРІНЦІ СТВОРЕННЯ КУРСУ */
.tutor-input-field {
    font-size: 25px !important;
}

/* КОСЯКИ З РОЗШИРЕННЯМ на весь екран тексту КУРСУ */
@media (min-width: 1200px) {
    /* Применяем только к контейнерам, специфичным для Tutor LMS (курсов) */
    .tpc-container.tpc-tutor-container,
    .tpc-container.tutor-tpc-container {
        width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Архів КУРСІВ вирівнювання зліва (було в центрі) */
.archive__heading {
    text-align: left !important;
}

/* Фільтр на сторінці lessons - косяк з фоном */
.lmsmart-sidebar-filter {
    background: #ffffff00 !important;
}
.lmsmart-sidebar-filter .single-filter.widget {
	padding: 20px 10px 10px 20px !important;
    background: #fff !important;
}

/* ВІДСТУПИ на Сторінках профілів https://prostironline.com/profile/...  */
.tutor-user-public-profile .photo-area {
    margin-top: 0 !important;
}


/* ЗАБРАЛИ ПОЧТУ ІЗ СТОРІНОК - /my-account/analytics/student-details/...  */
/* У шапці профілю */
.analytics-profile-authormeta > span:first-child {
    display: none !important;
}

/* У списках студентів */
.tutor-ml-16 > div.tutor-fs-7.tutor-fw-normal.tutor-color-muted {
    display: none !important;
}

/* --- Приховування розділу Експорт (Аналітика) --- */
/* Приховуємо пункт меню */
a.tutor-nav-link[href*="export"] {
    display: none !important;
}
/* Скрываем пункт с ссылкой на export внутри выпадающего меню на мобильном */
.tutor-nav-more-list .tutor-dropdown-item[href*="export"] {
    display: none !important;
}


/* Ховаємо саму сторінку експорту (контент) */
.analytics-export-wrapper {
    display: none !important;
}



/* ЗАБРАЛИ ПОЧТУ ІЗ СТОРІНОК - /my-account/assignments/...  */
/* Шукаємо блок з аватаркою, беремо наступний div і ховаємо в ньому span із сірим текстом */
.tutor-d-flex .tutor-avatar + div > span.tutor-color-muted {
    display: none !important;
}
/* Ховаємо пошту в шапці перевірки завдання (Assignment Review) */
.tutor-assignment-review-header .tutor-row:nth-child(2) {
    display: none !important;
}

	

/* Лого https://prostironline.com/my-account/create-course/ (Було 24) */
.css-1wb3486 img {
    max-height: 40px !important;
}


/* Ховаємо міні-гаманець у меню */
.role-instructor .woo-wallet-menu-contents {
    display: none !important;
}

/* Тінь на /checkout/ вікнах */
.elementor-21145 .elementor-element.elementor-element-19afd2ea #wfacp-e-form .wfacp-section {
    box-shadow: 6px 5px 25px 0 rgba(0, 0, 0, 0.1);
}



/* Полностью скрыть все скрытые поля MRKV / Плагін Укр-Нова пошти */
p.wfacp_type_hidden_field {
    display: none !important;
}



/* Цифра на колоколькичу повідомлень більше (була 12) */
.tutor-floating-badge {
    font-size:14px !important;
}


/* Цвет уведомлений, зеленик квадратик з былим кругом (було зелене) */
.lmsmart_module_message_box.type_success .message_icon_wrap {
    background-color: #0099ff !important;
}

/* Відключити дублюючу іконку корзини на товарах після добавлення в корзину */
.tutor-icon-cart-line:before {
    content: none !important;
}


/* Повідомлення прийшло. Червоний колір */
.bpbmuc {
    background: #ff0000 !important; /* Твій новий колір */
    margin-right: 10px; /* Якщо треба змінити відступ */
}



/* Убираем отступы у #main, но ТОЛЬКО если внутри есть профиль Tutor LMS */
#main:has(.tutor-user-public-profile) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* Конпка -пропустити- тест */
.tutor-btn-ghost {
    padding: 14px 20px !important;
}



/* СКРИТИ КНОПКУ КОРЗИНИ НА МІНІ КОРЗИНІ */
.tpc-theme-header .woocommerce .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
    display: none !important;
}

.woocommerce .woo_mini_cart .buttons {
    display: flex;
    justify-content: space-around !important;
}	
	
/* Кнопка "Оформлення замовлення" в міні-корзині */
.tpc-theme-header .woocommerce .woocommerce-mini-cart__buttons .button.checkout {
    margin: 0 !important;
    border: none !important;
    background-color: var(--lmsmart-button-color-idle) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

/* Ховер по checkout */
.tpc-theme-header .woocommerce .woocommerce-mini-cart__buttons .button.checkout:hover {
    background-color: #1f6ad6 !important;   /* поставь свой цвет или var(--lmsmart-button-color-hover) */
    color: #ffffff !important;
}


/* МІЙ ГАМАНЕЦЬ ВІЗУАЛ, тінь і колір */
.woo-wallet-my-wallet-container {
    border: 1px solid #ccc !important; /* тонкая серая обводка */
}
.woo-wallet-my-wallet-container .woo-wallet-sidebar {
    background: none !important;
}
.woo-wallet-balance-to-add {
    height: 40px;
}
.woo-add-to-wallet {
    height: 40px;
}
.dataTables_wrapper .dataTables_length select {
    width: 100px;
}
mark.debit {
    background-color: #ffe1e163 !important;
    color: #000;
}
mark.credit {
    background-color: #4caf5017 !important; /* выбери свой цвет */
    color: #fff;
}
.woo-wallet-sidebar ul li.card:hover {
    box-shadow: 0 5px 8px #00000038 !important;
}



/* ВІДКЛЮЧИТИ ПРИМУСОВІ ВЕЛИКІ ЛІТЕРИ (CAPITALIZE / UPPERCASE) */
/* 1. WooCommerce та Заголовки (Ваш старий код) */
.woocommerce a.button,
.woocommerce .button,
.woocommerce button.button,
ul.tpc-products li.product a.button,
ul.tpc-products li.product a.wc-forward,
.related > h2,
.upsells.products > h4,

/* 2. Мобільне меню (Пункти меню + те, що ви знайшли) */
.mobile_nav_wrapper .primary-nav ul li a,
.tpc-menu_outer .primary-nav .menu-item .item_text,

/* 3. Кнопки Вхід та Реєстрація в мобільному меню */
.tpc-menu_outer .login-join a span,
.tpc-menu_outer .register-btn {
    text-transform: none !important;
}

@media (max-width: 768px) {

  /* контейнер картинки */
  ul.tpc-products li.product .picture {
    border-radius: 8px;
    overflow: hidden; /* ОБЯЗАТЕЛЬНО */
  }

  /* сами изображения */
  ul.tpc-products li.product .picture img {
    border-radius: 8px;
  }

}




/* --- АМЕЛИЯ - Amelia - АМЕЛИЯ - АМЕЛИЯ - Amelia - АМЕЛИЯ --- */

/* ВІДКЛЮЧИТИ мій профіль в Amelia */
.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-dashboard-header {
    display: none !important;
}  



/* Ховаємо шапку і меню ТІЛЬКИ на time-settings */
.po-time-settings-am-panel .am-cabinet-dashboard-header,
.po-time-settings-am-panel .am-cabinet-menu {
    display: none !important;
}

/* Ховати зайві вкладки */
.po-time-settings-am-panel #tab-details,
.po-time-settings-am-panel #tab-assignedServices {
    display: none !important;
}

/* Ховати відповідні панелі */
.po-time-settings-am-panel #pane-details,
.po-time-settings-am-panel #pane-assignedServices {
    display: none !important;
}

.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-content .am-cabinet-profile .el-tabs__nav-scroll {
    padding-left: 5px !important;
}

/* Видключаєм дані клієнта в записах*/
.el-row > .am-has-divider.el-row:nth-of-type(2) {
    display: none !important;
}

.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-content .am-cabinet-list .am-cabinet .am-cabinet-collapsed-content .am-has-divider {
    border-bottom: none !important;
    padding-bottom: inherit !important;
    margin-bottom: auto !important;
}

/* Видключаєм вкладку "оплата" заказу в "Редагувати зустріч" */
#tab-payment {
    display: none !important;
}


/* Видключаєм почту під їмям в "Редагувати зустріч" */
.amelia-app-booking #am-cabinet .am-dialog-appointment-wrapper .am-dialog-appointment .am-selected-dropdown-items .am-selected-dropdown-item .am-customer-link:last-child {
    display: none !important;
}

/* Выдключаєм h4 імя клієнта */
.amelia-app-booking #am-cabinet .am-cabinet-dashboard 
.am-cabinet-content .am-cabinet-list .am-cabinet .am-cabinet-limited-col h4,
.amelia-app-booking #am-cabinet .am-cabinet-dashboard 
.am-cabinet-content .am-cabinet-list .am-cabinet .am-cabinet-limited-col span {
	display: block !important;
    font-size: initial !important;
}




/* Відключити тінь вікна профілю в Amelia */
.amelia-app-booking #am-cabinet .am-cabinet-dashboard,
.amelia-app-booking #am-cabinet .am-cabinet-auth {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 1px solid #ccc; /* тонкая серая обводка */
}



/* ВИПРАВИТИ РЯДОК зі статусом та кнопкою редагування в Amelia */
.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-content .am-cabinet-flex-row-middle-align {
    display: flex;              /* достаточно одного flex */
    align-items: center;
    flex-wrap: nowrap;          /* ВАЖНО: не даём колонкам переноситься вниз */
}
/* колонка с кнопкой редактирования */
.amelia-app-booking #am-cabinet .am-cabinet-buttons-align-all {
    display: flex;
    align-items: center;
    justify-content: center;    /* или flex-start / flex-end – как тебе больше нравится */
    white-space: nowrap;        /* кнопка и её содержимое не переносятся */
}




/* Виправити кнопку вибора прапорців в Amelia */
.m-phone-number-input__country-flag {
    height: auto !important;
}


/* Виправити текст самку яка налазила на іконки в Amelia */
.amelia-v2-booking #amelia-container .am-input-wrapper .am-input.el-input--prefix {
    --am-padd-input: 0px 12px 0px 30px !important;
}

/* Рейтинг зірочки */
.tutor-ratings-stars {
	font-size: 16px !important;
}

/* Фіксим вилазання кабінету Amelia на мобільних */
@media (max-width: 768px) {
  .amelia-app-booking #am-cabinet .am-cabinet-dashboard {
    max-width: 100% !important;      /* щоб не тримати 1000px */
    overflow: visible !important;    /* або overflow-x: auto; якщо хочеш горизонтальний скролл */
  }
}


/* Рейтинг в профілі Amelia на мобільних */
@media screen and (max-width: 768px) {
    /* Рейтинг */
    .tutor-ratings-count {
        font-size: 12px !important;
    }
	
	/* Рейтинг зірочки */
	.tutor-ratings-stars {
    font-size: 12px !important;
}
	.tutor-ratings-average {
    margin-left: 10px;
    font-size: 15px;
}
	
	/* Розмір кнопок */
	.single_add_to_cart_button, .tutor-button, .tutor-btn {
    padding: 10px 10px !important;
}

    /* Имя пользователя в шапке */
.tutor-dashboard .tutor-frontend-dashboard-header .tutor-dashboard-header-greetings, .tutor-dashboard .tutor-frontend-dashboard-header .tutor-dashboard-header-username {
        font-size: 18px !important;
    }
}

/* Кнопки вибору кількості в Amelia на групове заняття */
.amelia-v2-booking #amelia-container .am-elf__bringing-content .am-input-number {
    width: 100px !important;
}


/* Сховати рядки/поля в Amelia, повʼязані з часовими поясами */
/* Повністю прибираємо колонку з вибором часу (timezone selector) */
.el-col.el-col-8 > .am-cabinet-timezone,
.el-col.el-col-8 > .am-cabinet-timezone + .el-select-dropdown {
    display: none !important;
}

/* Забираємо саму колонку (щоб не лишався пустий простір) */
.el-col.el-col-8[style*="padding-left: 8px"],
.el-col.el-col-8[style*="padding-right: 8px"] {
    display: none !important;
}


/* Виправлен повзунок вводу тексту в виборі Викладача в бронюванні Amelia */
.amelia-v2-booking #amelia-container .am-select .el-select__input {
    margin: auto;
}

/* Аватарка викладача на сторінці опису уроку в Amelia, підправленна */
.tutor-single-course-avatar img {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50px !important;
    object-fit: cover;
}




/* ІНШЕ */

/* Кнопка "Нотатки" в ТУТОРІ на телефоні (виключити) */
@media screen and (max-width: 768px) {
    #tutor-lesson-nav-take-note-btn {
        display: none !important;
 }
}

/* ЕКРАН=СТРИМ в ТУТОРІ на весь екран (адаптивний) */
/* 1. Взламываем узкую колонку (оставляем как было, это работает) */
.tutor-course-spotlight-tab .tutor-row.tutor-justify-center .tutor-col-xl-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* 2. Убираем лишние отступы контейнера */
.tutor-course-spotlight-tab .tutor-container {
    max-width: 100% !important;
    padding: 0% 0% 0% 3%;
}

/* 3. НАСТРОЙКА ПЛЕЕРА И КНОПОК */
.jitsi-wrapper {
    width: 95% !important;
    /* Высота равна 75% от высоты экрана пользователя.
       Остальные 25% останутся для шапки сайта и кнопок снизу. */
    height: 70vh !important; 
    min-height: 500px; /* Чтобы на совсем маленьких экранах не сплющило */
}

.jitsi-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
}

/* 4. Поднимаем кнопки и делаем их заметными */
.tutor-course-topic-single-footer {
    width: 100%;
    padding: 10px 10px; /* Немного воздуха */
    background: #fff;   /* Фон под кнопками, чтобы отделить от видео */
    border-top: 1px solid #eee;
}

/* Ожидания стрима дизайн */
.jitsi-container .jitsi-col-8 {
    width: 98% !important;
}


/* Приховати артикул на сторінці товару */
.product_meta .sku_wrapper {
    display: none !important;
}



/* ХЛІБНІ КРОШКИ НА СТОРІНКАХ ОПИСІВ УРОКІВ */
.page-header-breadcrumb {
    background-color: rgb(247 249 252) !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}




/* РОЗДІЛЮВАЧ В МЕНЮ - БЛОГ І КОШЕЛЬОК */
/* Чистий вертикальний розділювач без hover */
.menu-divider {
  pointer-events: none;
}

.menu-divider > a {
  padding: 0 14px !important;
  background: transparent !important;
}

.menu-divider > a span,
.menu-divider > a i {
  display: none !important;
}

.menu-divider > a::before {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  background: #c4c4c4; /* білий колір */
  margin: auto;
}



/* ОТСТУПИ СВЕРХУ і МОБІЛЬНА ВЕРСІЯ*/
@media (min-width: 1200px) {

    /* 1. Товары (Контент + Сайдбар слева) */
    .single-product .row.sidebar_left {
        margin-top: 25px !important;
    }

    /* 2. Страница всех товаров (Магазин + Категории) */
    .archive.woocommerce .row.sidebar_left {
        margin-top: 25px !important;
    }

    /* 3. Блог (Статья + Сайдбар справа) */
    body.single-post .row.sidebar_right {
        margin-top: 45px !important;
    }

    /* 4. Личный кабинет (Верхняя панель приветствия) */
    .tutor-dashboard .tutor-frontend-dashboard-header {
        margin-top: 50px !important;
    }

}


/* Цей блок спрацює тільки на екранах шириною до 767px (мобільні) */
@media (max-width: 767px) {
    .tutor-dashboard .tutor-frontend-dashboard-header {
        margin-top: 20px !important;
		padding-bottom: 5px !important;
    }
	
	/* 2. Прибираємо "смужку" (скасовуємо position: relative) */
    .tutor-dashboard .tutor-frontend-dashboard-maincontent ul.tutor-dashboard-permalinks {
        position: static !important;
    }
}

/* Відсткпи на кнопках (три кнопки) в мій профіль на МОБІЛЬНОМУ */
.tutor-dashboard #tutor-dashboard-footer-mobile > div > div > a span {
    padding: 0 !important;
}


/* Відсткпи на фільтрі уроків /lessons/ на МОБІЛЬНОМУ */
@media (max-width: 767px) {
    
    /* Прибираємо відступ зліва для контейнера перемикача */
    .lmsmart-course-top.switch-layout-container {
        margin-left: 0 !important;
    }

    /* Прибираємо відємні відступи (margin: -15px) для сітки курсів */
    .tpc-courses__grid, 
    .tpc-courses .tpc-courses__grid {
        margin: 0 !important;
    }

    /* Прибираємо бокові відступи для блоків lmsmartdiv */
    #lmsmartdiv1, 
    #lmsmartdiv2 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


              /* РЕДАГУВАВ 24.12.25 */


@media (max-width: 767px) {
  body.archive #main-content,
  body.archive .tpc_col-9 {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}







	
	

	/* ------ ДРІБНІ ВИПРАВЛЕННЯ (КІНЕЦЬ)------ */


	.tpc-woocommerce-sorting form.woocommerce-ordering {
        margin: 0 !important;
    }
	
	body.single.woocommerce-page .tpc-container>.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
	}	



	.single-product .row.sidebar_left {
    margin-top: 0 !important;
	}



/* ШРИФТ ПЛАШКИ ТОВАРІВ */
.woocommerce-loop-product__title {
        font-size: 17px !important;
        font-weight: normal !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
}

.woo_product_content {
        padding: 15px 8px !important;
        margin: 0;
}




/* ТЕГИ ОДИНОЧНОГО ТОВАРУ  */
@media (max-width: 767px) {
    /* 1. Перетворюємо всі елементи таблиці на блочні.
       Це ламає стандартну сітку таблиці і змушує елементи ставати один під одним. */
    .woocommerce table.shop_attributes,
    .woocommerce table.shop_attributes tbody,
    .woocommerce table.shop_attributes tr,
    .woocommerce table.shop_attributes th,
    .woocommerce table.shop_attributes td {
        display: block !important;
        width: 100% !important;
        border: none !important; /* Прибираємо старі рамки */
    }

    /* 2. Стилізуємо кожен рядок (групу "Назва + Значення") */
    .woocommerce table.shop_attributes tr {
        margin-bottom: 15px !important;       /* Відступ між характеристиками */
        padding-bottom: 15px !important;      /* Внутрішній відступ */
        border-bottom: 1px solid #eee !important; /* Тонка лінія-розділювач знизу */
    }

    /* Прибираємо лінію у останнього елемента */
    .woocommerce table.shop_attributes tr:last-child {
        border-bottom: none !important;
    }

    /* 3. Стилізуємо ЗАГОЛОВОК (наприклад, "Weight:") */
    .woocommerce table.shop_attributes th {
        padding: 0 !important;
        margin-bottom: 5px !important; /* Відступ до значення */
        color: #333;                   /* Темніший колір тексту */
        background: transparent !important; /* Прибираємо сірий фон, якщо він є */
        font-weight: 700 !important;   /* Жирний шрифт */
        text-align: left !important;   /* Вирівнювання по лівому краю */
    }

    /* 4. Стилізуємо ЗНАЧЕННЯ (наприклад, "354 g") */
    .woocommerce table.shop_attributes td {
        padding: 0 !important;
        background: transparent !important;
        text-align: left !important;
    }

    /* Прибираємо зайві відступи у параграфів всередині */
    .woocommerce table.shop_attributes td p {
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* ПОДІБНІ ТОВАРИ НОРМАЛЬНЕ ВІДОБРАЖЕННЯ */
@media (max-width: 767px) {
    /* 1. Налаштовуємо контейнер списку */
    ul.tpc-products {
        display: flex !important;
        flex-wrap: wrap !important; /* Дозволяємо перенос на новий рядок */
    }

    /* 2. Налаштовуємо самі товари (li) */
    ul.tpc-products li.product {
        width: 50% !important;       /* Рівно половина екрана */
        flex: 0 0 50% !important;    /* Flex-налаштування ширини */
        max-width: 50% !important;
        margin: 0px !important; /* Відступи між товарами (5px збоку, 20px знизу) */
        box-sizing: border-box !important; /* Щоб padding не ламав ширину */
		padding: 10px 5px 20px 5px !important;
    }

    /* 3. Страховка для картинок, щоб не вилазили */
    ul.tpc-products li.product img {
        width: 100% !important;
        height: auto !important;
    }
    
    /* 4. Заголовок та ціна по центру (опціонально, для краси) */
    .woo_product_content {
        text-align: center !important;
    }
	
	.woocommerce-loop-product__title {
        font-size: 14px !important;
		font-weight: normal !important;
		display: -webkit-box;
    	-webkit-line-clamp: 2;
   		-webkit-box-orient: vertical;
   		overflow: hidden;
    }
	
	.woo_product_content {
        padding: 10px 8px !important;   /* было больше → делаем компактно */
        margin: 0;
    }
	
	
/* Магазин: компактные отступы ТОЛЬКО на мобильных */
    body.woocommerce.archive main .tpc-container.tpc-content-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box;
    }

    body.woocommerce.archive .tpc-container .row {
        margin-left: 0;
        margin-right: 0;
    }
	
}


/* --- ВІДСТУПИ ДЛЯ АРХІВІВ (МАГАЗИН + БЛОГ + КУРСИ) --- */
@media (max-width: 767px) {
    /* 1. Прибираємо відступи у колонок (контенту та сайдбару) */
    /* Додано body.archive для охоплення всіх типів архівів */
    body.archive .row [class*='tpc_col-'],
    body.post-type-archive-product .row [class*='tpc_col-'],
    body.tax-product_cat .row [class*='tpc_col-'],
    body.woocommerce-shop .row [class*='tpc_col-'] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    /* 2. Прибираємо відступи у самого рядка (ROW) */
    /* Додано .sidebar_right, бо у вашому новому коді сайдбар справа */
    body.archive .row.sidebar_left,
    body.archive .row.sidebar_right,
    body.post-type-archive-product .row.sidebar_left,
    body.tax-product_cat .row.sidebar_left,
    body.woocommerce-shop .row.sidebar_left {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* РОБИМО КОНТЕЙНЕР РЕЗИНОВИМ (ТІЛЬКИ ДЛЯ АРХІВІВ типу - Рівнів, МАГАЗИНУ ТА БЛОГУ) */
@media (max-width: 1200px) {
    body.archive .tpc-container,              /* Для блогу та рівнів */
    body.post-type-archive .tpc-container,    /* Для архівів типів записів */
    body.tax-product_cat .tpc-container,      /* Для категорій товарів */
    body.woocommerce-shop .tpc-container {    /* Для магазину */
        
        width: 90% !important;        /* Розтягуємо на весь екран */
        box-sizing: border-box !important; 
    }
}



/* --- ВІДСТУПИ ДЛЯ ОДИНОЧНОГО ТОВАРУ (залишаємо як було, якщо там все ок) --- */
@media (max-width: 767px) {
    .single-product .row [class*='tpc_col-'] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
}


/* ПОПАПП ВХОДУ НА МОБІЛЬНОМУ */
@media (max-width: 767px) {
	.xoo-el-form-container .xoo-sl-container {
    margin-right: 0 !important;
	}
	.xoo-sl-container {
    margin-top: 0 !important;
	}
	.xoo-el-form-container ul.xoo-el-tabs {
	padding: 0 !important;
	}
	.xoo-aff-group label {
	font-size: small;
	font-weight: 500 !important;
	margin-bottom: 0 !important;
	}
	.xoo-el-form-container ul.xoo-el-tabs li {
    padding: 6px 6px !important;
	}
	.xoo-aff-group {
	height: 31px !important;
	}
}	
	
/* ФіЛЬТР КАТЕГОРіЙ НА МОБІЛЬНОМУ */
	
@media (max-width: 767px) {
    /* 1. Прибираємо padding-top: 30px у другого віджета */
    .lmsmart-sidebar-filter .single-filter.widget:nth-child(2) {
        padding-top: 0 !important;
    }

    /* 2. Налаштування заголовків (Категорія, Рівень, Викладач) */
    .lmsmart-sidebar-filter .widget-title {
        margin-bottom: 5px !important; /* Зменшуємо відступ до чекбоксів (було 15px) */
        margin-top: 15px !important;   /* Додаємо відступ зверху від попереднього блоку */
    }
    
    /* Додатково: якщо треба прибрати відступ у першого заголовка, 
       щоб він не відступав від самого верху */
    .lmsmart-sidebar-filter .single-filter.widget:first-child .widget-title {
        margin-top: 0 !important;
    }

	
	

	
	.lmsmart-sidebar-filter .single-filter.widget {
    padding-bottom: 10px !important;
	}
	
	.switch-layout-container {
    margin-bottom: 25px !important;
	}
	
	.widget {
    margin-bottom: 10px !important;
	}
	
	.tpc-theme-header .woocommerce .woo_mini_cart {
    width: 92% !important;
	}
		
}
	
	
	
/* МОБІЛЬНЕ БОКОВЕ МЕНЮ, ВІДСТУПИ */
.tpc-menu_outer .tpc-menu-outer_content {
    padding: 10px 15px 10px 20px !important;
}
	
.mobile_nav_wrapper .primary-nav {
    width: calc(100% + 10px) !important;
}
	
.mobile_nav_wrapper .primary-nav ul.mobile_switch_on li a {
    padding: 5px !important;
}


/* ДОДАЄМ ІКОНКУ ГАМАНЦЯ В МОБІЛЬНЕ МЕНЮ */
@media (max-width: 767px) {
 /* Додаємо іконку ПЕРЕД текстом, використовуючи рідний шрифт */
    .mobile_nav_wrapper a.woo-wallet-menu-contents:before {
        content: "\e900" !important;       /* Код символу гаманця в шрифті woowallet */
        font-family: "woowallet" !important; /* Ваша рідна назва шрифту */

    }
}

/* ВИРІВНЯНІ КНОПКИ "Увімкнути сповіщення" "Ніколи" */
#tutor-pn-permission button {
    margin-right: 10px !important;
    padding: 5px 20px !important;
}

		/* ЗАКІНЧИВ РЕДАГУВАВННЯ 24.12.25 */






/* ИКОНКИ СОЦСЕТЕЙ НЕ СКАЧУТ */
.elementor-social-icon svg {
    width: 1em;
    height: 1em;
}

.elementor-social-icon {
    font-size: 24px; /* нужный размер */
    line-height: 1;
}


/* СТОРІНКА /booking/ */
.amelia-v2-booking #amelia-container.am-fs__wrapper {
    margin: 20px auto !important;
}


/* ІКОНКИ ВХОДУ - попавив розмір */
.login-join i {
    font-size: 16px !important;
}
.login-join.tutor a.profile-btn {
    font-weight: 500 !important;
}


/* ВІДСТУПИ ТА СТИЛІ ПІДМЕНЮ */
/* Стили для ссылок внутри выпадающего списка */
.primary-nav .sub-menu .menu-item a {
    padding: 5px 12px !important;
}

/* Стили для самого контейнера выпадающего списка */
.primary-nav .sub-menu, 
.primary-nav ul li div.mega-menu-container {
    padding: 16px 8px 15px 12px !important;
    border-top: 2px solid #1e73be !important;
}

/* Мобільна версія */
@media (max-width: 767px) {
    /* Контейнер на мобільному */
    .primary-nav .sub-menu, 
    .primary-nav ul li div.mega-menu-container {
        border-bottom: 2px solid #1e73be !important;
        padding: 10px 5px 10px 5px !important;
    }

    /* Розділювальні лінії між посиланнями */
    ul.sub-menu li a {
        border-bottom: 1px solid #f6f7f95c; 
    }
    
    /* Прибираємо лінію для останнього елемента */
    ul.sub-menu li:last-child a {
        border-bottom: none;
    }   
}


/* ИКОНКИ В МЕНЮ - ТОЛЬКО внутри меню (item_text) */
.item_text i {
    margin-right: 5px;
    font-size: 15px;       /* Чуть увеличил для читаемости */
    vertical-align: -1px;
    text-shadow: 0 0 0.05px currentColor;
}


/* Примусово обрізаємо контент, що виходить за межі вікна чату Crisp */
/* 1. Застосовуємо ваші стилі ТІЛЬКИ коли чат має атрибут 'видимий' */
#crisp-chatbox-chat[data-visible="true"] .cc-ebf9b {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
}

#crisp-chatbox-chat[data-visible="true"] .cc-nysjp {
    position: relative !important;
    background: rgb(var(--crisp-color-base-white-normal)) !important;
    box-sizing: border-box !important;
    padding: 0 20px !important;
    inset-inline: 0 !important;
    z-index: 6 !important;
    width: 100% !important;
    min-height: 50px;
    display: flex !important;
    flex-direction: row !important;
}

/* 2. ПРИМУСОВО ховаємо поле вводу, якщо чат закритий або у стані 'initial' */
#crisp-chatbox-chat:not([data-visible="true"]) .cc-ebf9b,
#crisp-chatbox-chat[data-visible="false"] .cc-ebf9b,
#crisp-chatbox-chat[aria-hidden="true"] .cc-ebf9b {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


body.elementor-page #main,
body.tutor-page #main,
body.single-courses #main,
body.single-lessons #main {
    padding: 0;
}



/* --- СКРИТИ ЗАГОЛОВОК НА АРХІВАХ І ВСЮДИ --- */
.page-header {
    display: none !important;
}

/* Уроки на сторінках архівів */
@media (max-width: 768px) {
  body.post-type-archive-courses .tpc-container,
  body.post-type-archive-courses .row {
    display: block !important;
  }

  .tpc_col-9,
  .tpc_col-6,
  .tpc_col-3 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
}




 

/* Відступи блоку інфо */
.course__media + .course__content .course__content--info,
.course__content--info {
    padding: 0 12px 15px 15px !important;
    margin-top: 10px !important;
}


/* КАТЕГОРІЇ */
/* 1. Стиль плашок */
.tpc-course .course__categories a {
    font-size: 11px;
    font-weight: 500;
    padding: 4px;
    line-height: 1.3;
    margin-right: 5px;
    margin-bottom: 5px;
	border: 1px solid #1e73be29;
}

/* 2. Показуємо 2-й елемент */
.tpc-course .course__categories a:nth-child(2) {
    display: inline-block !important;
}

/* 3. Ховаємо 3-й і всі наступні */
.tpc-course .course__categories a:nth-child(n+3) {
    display: none !important;
}


/* КАРТИНКИ (Уроку та запису) */
.tpc-course .course__media,
.course-item-wrap .post-thumbnail {
    aspect-ratio: 16 / 9;   /* або 1170 / 725 */
    overflow: hidden;
}

.tpc-course .course__media img,
.course-item-wrap .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Аватарка викладача */
.tpc-course .tpc-course-author-name img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
}


/* Переключатель вида только на ПК */
@media (max-width: 768px) {
    .filter__top.lmsmart-course-switch-layout.switch-layout {
        display: none !important;
    }
}
/* Скрити дублювання видачі на Мобільному */
@media (max-width: 768px) {
    #lmsmartdiv1 {
        display: none !important;
    }
}





/* КОД ТОЛЬКО ДЛЯ АРХИВА КУРСОВ (tutor-course-card) */
/* 1. Заголовки (именно в архиве) */
.tutor-course-card .course__title a {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5em !important;
    
    /* Обрезка до 2 строк */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2. Отступы контента */
.related-post-wrap.related_course .entry-desc,
.tutor-course-card .course__content--info {
    padding: 0 12px 15px 15px !important;
    margin-top: 10px !important;
}

/* 3. Картинки (Превью) */
.tutor-course-card .course__media img {
    width: 110% !important;
    height: 200px !important;   /* Фикс. высота */
    object-fit: cover !important; /* Чтобы не сплющило */
}

@media (max-width: 767px) {
    .tutor-course-card .course__media img {
        height: 220px !important;
    }
}

/* 4. Категории */
/* Базовый стиль для ссылок категорий */
.tutor-course-card .course__categories a {
    font-size: 12px;
    font-weight: 500;
    padding: 0 6px;
    line-height: 24px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block; 
}

/* Логика скрытия: оставляем первые 2, скрываем начиная с 3-го */
.tutor-course-card .course__categories a:nth-child(n+3) {
    display: none !important;
}

/* 5. Аватарка автора */
.tutor-course-card .tpc-course-author-name img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-right: 5px;
}

/* Выравнивание имени и фото */
.tutor-course-card .tpc-course-author-name {
    display: flex;
    align-items: center;
}










/* ================================
   MOBILE OFF-CANVAS FILTER (LESSONS)
================================ */

/* ===== КНОПКА ФИЛЬТРА ===== */
.mobile-filter-btn-wrap {
    width: 100%;
    text-align: right;
    margin: 15px 15px 15px 5px;
}

#mobile-filter-toggle {
    width: auto;          /* Ширина теперь подстраивается под текст */
    min-width: 110px;     /* Минимальная ширина, чтобы не была слишком мелкой */
    padding: 5px 10px;      /* Внутренние отступы по бокам */
    height: 40px;
    margin-right: 15px;
    background: #3b6dbc;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	font-size: 17px;       /* Размер шрифта текста */
    font-family: inherit;  /* Используем шрифт вашей темы */
}

/* Font Awesome fas fa-outdent */
#mobile-filter-toggle::before {
    content: "\f0b0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 17px;
    line-height: 1;
    margin-right: 8px;    /* Отступ между иконкой и словом */
}
/* ТЕКСТ ПОСЛЕ ИКОНКИ */
#mobile-filter-toggle::after {
    content: "Фільтри";     /* Ваш текст (Фільтр или Фильтр) */
}

/* На ПК кнопку скрываем */
@media (min-width: 1200px) {
    .mobile-filter-btn-wrap {
        display: none;
    }
}

/* ===== КРЕСТИК ===== */
.mobile-filter-close {
    display: none;
    text-align: right;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* ===== МОБИЛЬНАЯ ЛОГИКА ===== */
@media (max-width: 1199px) {

    /* ВАЖЛИВО: Додано :not(.item) 
       Це означає: застосувати стилі до .tpc_col-3, АЛЕ ТІЛЬКИ ЯКЩО у нього немає класу .item 
       Це поверне твої уроки на місце.
    */
    .tpc_col-3:not(.item) {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 300px !important;
        height: 100vh !important;
        background: #fff;
        z-index: 999999;
        overflow-y: auto;
        padding: 15px !important;
        transition: right 0.3s ease;
    }

    /* Тут теж додаємо :not(.item), щоб логіка відкриття працювала тільки для меню */
    body.mobile-filter-open .tpc_col-3:not(.item) {
        right: 0;
    }

    .mobile-filter-close {
        display: block;
    }

    /* Overlay */
    body.mobile-filter-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 999998;
    }
}






/* ================================
   SHOP OFF-CANVAS FILTER (MOBILE)
================================ */

/* Кнопка */
.shop-mobile-filter-btn-wrap {
    width: 100%;
    text-align: right;
    margin: 0 0px 10px 0;
}

#shop-mobile-filter-toggle {
    width: auto;          /* Ширина теперь подстраивается под текст */
    min-width: 110px;     /* Минимальная ширина, чтобы не была слишком мелкой */
    padding: 5px 10px;      /* Внутренние отступы по бокам */
    height: 40px;
    margin: 0;
    background: #3b6dbc;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    font-size: 17px;       /* Размер шрифта текста */

    font-family: inherit;  /* Используем шрифт вашей темы */
}

/* ИКОНКА (Font Awesome) */
#shop-mobile-filter-toggle::before {
    content: "\f0b0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 17px;
    line-height: 1;
    margin-right: 8px;    /* Отступ между иконкой и словом */
}

/* ТЕКСТ ПОСЛЕ ИКОНКИ */
#shop-mobile-filter-toggle::after {
    content: "Фільтри";     /* Ваш текст (Фільтр или Фильтр) */
}


/* На ПК скрываем кнопку */
@media (min-width: 1200px){
    .shop-mobile-filter-btn-wrap{ display:none; }
}

/* Крестик */
.shop-mobile-filter-close{
    display: none;
    text-align: right;
    font-size: 20px;
    cursor: pointer;
    margin: 0 0 10px 0;
}

/* Мобилка */
@media (max-width: 1199px){

    /* ВАЖНО: фиксируем именно сайдбар магазина */
    body.woocommerce-shop .sidebar-container.tpc_col-3{
        position: fixed !important;
        top: 0;
        right: -110%;
        width: 300px !important;
        height: 100vh !important;
        background: #fff;
        z-index: 999999;
        overflow-y: auto;
        padding: 15px !important;
        transition: right .3s ease;
    }

    /* отключаем "липкость" на мобилке */
    body.woocommerce .sidebar-container.tpc_col-3 .theiaStickySidebar{
        position: static !important;
        transform: none !important;
        width: auto !important;
    }

    body.woocommerce-shop.shop-filter-open .sidebar-container.tpc_col-3{
        right: 0;
    }

    body.woocommerce.shop-filter-open .shop-mobile-filter-close{
        display: block;
    }

    /* Overlay */
    body.woocommerce-shop.shop-filter-open::before{
        content:"";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.6);
        z-index: 999998;
    }
}

@media (max-width: 1199px) {
    body.shop-filter-open .sidebar-container,
    body.shop-filter-open .theiaStickySidebar,
    body.shop-filter-open aside.sidebar {
        display: block !important;
    }
}

@media (max-width: 1199px) {

  body.woocommerce .sidebar-container.tpc_col-3 {
    position: fixed !important;
    top: 0;
    right: -110%;
    width: 300px !important;
    height: 100vh !important;
    background: #fff;
    z-index: 999999;
    overflow-y: auto;
    padding: 15px !important;
    transition: right .3s ease;
  }

  body.woocommerce.shop-filter-open .sidebar-container.tpc_col-3 {
    right: 0;
  }

  body.woocommerce.shop-filter-open::before {
    content:"";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 999998;
  }

  body.woocommerce .theiaStickySidebar {
    position: static !important;
    transform: none !important;
  }
}





/* =====   ІНШЕ   ===== */
@media (min-width: 1200px) {
    .sticky-sidebar_init #main {
        padding: 60px 0;
    }
}

/* SHOP + CATEGORY + TAGS: убираем верхний отступ */
.woocommerce-shop #main,
.tax-product_cat #main,
.tax-product_tag #main {
    padding-top: 15px !important;
}



/* =  404  = */
.main_404-wrapper {
    padding: 50px 0 50px !important;
    background: #f7f9fc !important;
}


/* =  НОВЕ з 06.01.26  = */
/* Коментарії (відступи) */
#comments #respond, #comments~#review_form_wrapper #respond {
	padding: 40px !important;
}

/* Шрифт назви товарів */
.woocommerce div.product .product_title {
        font-size: 30px !important;
}

/* Відступи /my-account/purchase_history/ */
.tutor-dashboard .tutor-dashboard-content {
    padding-top: 10px !important;
}

/* --- СХОВАТИ ПОШТУ У ВИПАДАЮЧОМУ СПИСКУ ВИБОРУ КЛІЄНТІВ (Amelia - /my-account/teacher-lessons/) --- */
/* 1. Ховаємо пошту */
.am-dropdown-cabinet .am-drop-item-meta {
    display: none !important;
}
/* 2. Вирівнюєм штуку з галочкою вибору */
.am-drop li.el-select-dropdown__item.am-has-option-meta.selected:after {
    top: 10px !important;
}
/* --- Сховати пошту у списку ВЖЕ ВИБРАНИХ учнів (Amelia) --- */
.am-selected-dropdown-item a.am-customer-link[href^="mailto:"] {
    display: none !important;
}
.amelia-app-booking #am-cabinet .am-dialog-appointment-wrapper .am-dialog-appointment .am-selected-dropdown-items .am-selected-dropdown-item h3 {
    margin: 0 !important;
}
.am-modal .el-row {
    margin-bottom: 0 !important;
}





@media (max-width: 1200px) {
    .page_404_wrapper .banner_404_title, .page_404_wrapper .banner_404_title span {
        font-size: 20px !important;
    }
}




/* ===== НА МОБІЛЬНОМУ ==== */
@media (max-width: 767px) {
    .woocommerce div.product .product_title {
		margin-bottom: 5px !important;
        font-size: 25px !important;
		}
		
	/* Тінь ПЛАШОК ТОВАРІВ */
	.tpc-products.appear-animation .product {
		box-shadow: 0 5px 10px rgb(0 0 0 / 3%) !important;
		}
	
	/* Коментарії (відступи) */
	#comments #respond, #comments~#review_form_wrapper #respond {
		margin-top: 10px !important;
        padding: 20px !important;
    }
	
	/* Текст на відгуках */
	.woocommerce #reviews h3 {
    font-size: 20px;
	}
	
	/* текст - додано до кошика */
	.lmsmart_module_message_box .message_text {
    line-height: 2!important;
	}
	
	/* Відступ під - Схожі уроки */
	.related-post-wrap.related_course .related-title {
    font-size: 25px !important;
    margin-bottom: 25px !important;
    margin-top: 50px !important;
	}
	
	/* Заголовки категорій блогу типу /category/navchannya-ta-rozvytok/  */
	.blog-style-standard .tpc_col-6 .blog-post_title>a {
    font-size: 20px !important;
    line-height: normal !important;
	}
	
	/* Відступ від заголовку на архівах типу /course-tag/a1/ */
	.archive__heading {
    margin-bottom: 25px !important;
	}
	
	/* ШРИФТ УРОКУ /courses/... */
	.lmsmart-tutor-header .tutor-course-header-h1 {
    font-size: 25px !important;
    }
	
	/* Відступи в вікні входу */
	.xoo-el-main {
    padding: 15px 15px 5px 15px;
	}	
	.xoo-sl-loginvia {
	margin-bottom: 5px;
	}
	.xoo-aff-group.xoo-aff-cont-checkbox_single {
	margin-bottom: 0;
	}
}




/* КРОМЕНТАРІЇ */
#comments {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Відступи для планшетів і мобільних (все, що менше 1200px) 
@media (max-width: 1200px) {
    #comments {
        padding-left: 10px !important;
        padding-right: 20px !important;
    }
} */


/* --- ВІДСТУП ЗВЕРХУ ТІЛЬКИ ДЛЯ БЛОГУ (Мобільні + Планшети) --- */
@media (max-width: 1200px) {
    
    /* 1. Для одиночної статті (той код, що ви скинули) */
    body.single-post .row.sidebar_right {
        margin-top: 30px !important; /* Змінюйте це число, якщо треба більше/менше */
    }

    /* 2. Для списку статей (категорії блогу, теги) */
    body.archive.category .row.sidebar_right,
    body.archive.tag .row.sidebar_right {
        margin-top: 0 !important;
    }
}







/* --- ФІКС КНОПКИ МЕНЮ (Гамбургер) на МОБЫЛЬНОМУ, щоб не нажимався логотип --- */
@media (max-width: 1200px) {
    /* Робимо посилання логотипу неактивним.
       Кліки будуть проходити КРІЗЬ нього (попадуть на меню, якщо воно під низом) */
    .tpc-header-logo a,
    .elementor-widget-tpc-header-logo a,
    .tpc-logotype-container a {
        pointer-events: none !important;
    }
}


/* --- ЗБІЛЬШЕННЯ ШИРИНИ ФІЛЬТРА "УРОКИ" В АНАЛІТИЦІ (/my-account/analytics/students/) --- */
@media (min-width: 992px) {
    /* 1. Зменшуємо колонку Пошуку (з 41% до 25%) - їй стільки місця не треба */
    .tutor-dashboard-content .tutor-row.tutor-gx-xl-5 > .tutor-col-lg-5 {
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    /* 2. Розширюємо загальний блок Фільтрів (з 58% до 75%) */
    .tutor-dashboard-content .tutor-row.tutor-gx-xl-5 > .tutor-col-lg-7 {
        width: 75% !important;
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }

    /* 3. Всередині фільтрів перерозподіляємо місце між "Уроками" та "Датою" */
    
    /* Уроки (ліва частина) - даємо 70% ширини */
    .tutor-dashboard-content .tutor-col-lg-7 .tutor-row > .tutor-col-lg:first-child {
        flex: 0 0 70% !important;
        max-width: 70% !important;
        width: 70% !important;
    }

    /* Дата (права частина) - даємо 30% ширини (для календаря цього достатньо) */
    .tutor-dashboard-content .tutor-col-lg-7 .tutor-row > .tutor-col-lg:last-child {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        width: 30% !important;
    }
}





/* ПІСЛЯ ПІДКЛЮЧЕННЯ TeleGramm (Розмір кнопки входу) */
.xoo-sl-btn-telegram iframe {
    transform: scale(1.1);
}


/* КОРЗИНА ЩОБ НЕ ЗНИКАЛА ПРИ ДОБАВЛЯННІ ТОВАРУ (коли циферка появляєтся) */
