/**
 * Theme Name:     MarketPlace Theme
 * Author:         listinghive
 * Template:       listinghive
 * Text Domain:	   listinghive-child
 * Description:    A multipurpose WordPress theme that allows you to build any type of directory and listing websites. Whether it’s a business directory, job board, real estate, classifieds or basically any listing website — ListingHive is a great choice for it.
 */

/*
 * --------------------------------------------------------------------------
 * Style Map (mini-refactor for readability)
 * 1) Listing account/guest menu behavior
 * 2) Breadcrumbs and archive strips
 * 3) Catalog and WooCommerce tweaks
 * 4) Header and account button visuals
 * 5) Responsive overrides
 * --------------------------------------------------------------------------
 */
 


 
 

/* ==========================================================================
   Base Layout
   ========================================================================== */

.site-footer {
  margin: 30px 0 0 0;
}

/* ==========================================================================
   Listing Menu: Guest vs Logged-in
   ========================================================================== */

/* GUEST ONLY BLOCK: edit only for guest-facing behavior. */

/* Гости на странице листинга: ID объявления — обычный вид, курсор копирования */
body.hp-listing-view-guest .hp-menu__item--listing-view a {
  cursor: copy;
}

/* Топбар листинга: единый набор иконок (Font Awesome 5) и средний размер */
.hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-view a::before,
.hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-statistics a::before,
.hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-reviews a::before,
.hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-edit a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  margin-right: 0.5rem;
}
/* LOGGED-IN ONLY BLOCK: listing view icon in account area. */
body.hp-listing-account .hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-view a::before {
  content: "\f35d"; /* fa-external-link-alt */
}

/* GUEST ONLY BLOCK: hide listing view icon for guest page. */
body.hp-listing-view-guest .hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-view a::before {
  content: none;
  margin-right: 0;
}
.hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-statistics a::before {
  content: "\f200"; /* fa-chart-pie — Statistics */
}
.hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-reviews a::before {
  content: "\f086"; /* fa-comments — Отзывы */
}
.hp-page__topbar--separate .hp-menu--listing-manage .hp-menu__item--listing-edit a::before {
  content: "\f044"; /* fa-edit — Редактировать */
}
.hp-page__topbar--separate .hp-listing__actions--secondary .hp-icon {
  font-size: 14px;
}


.woocommerce .woocommerce-breadcrumb {
  margin: 0;
  font-size: 14px;
}

/* Форма поиска на категориях маркетплейса — hero скрыт, не перекрывать breadcrumbs */
.tax-hp_listing_category .hp-form--listing-search,
.tax-hp_listing_category .hp-form--vendor-search {
  margin-top: 0;
}
 
.woocommerce div.product div.images .flex-control-thumbs {
    margin: 20px 0 0 0;
}

/* ==========================================================================
   Hero Breadcrumbs
   ========================================================================== */

 
/* Крошки в hero (Информация, новости, др.) — единое оформление */
.site-hero .breadcrumbs,
header .header-hero__content .breadcrumbs,
.murom360-infinite-article .header-hero__content .breadcrumbs {
  display: block;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
  background: #cccccc29;
  padding: 10px 15px;
  border-radius: 10px;
  width: 100%;
}

/* ссылки */
.site-hero .breadcrumbs a,
header .header-hero__content .breadcrumbs a,
.murom360-infinite-article .header-hero__content .breadcrumbs a {
  text-decoration: underline;
  color: #ccc;
}
.site-hero .breadcrumbs a:hover,
header .header-hero__content .breadcrumbs a:hover,
.murom360-infinite-article .header-hero__content .breadcrumbs a:hover {
  text-decoration: none;
  color: #767676;
}


.post__human__time {
	margin-top: 8px;
	font-size: 12px;
}








.post-published-exact {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	font-size: 11px;
}

.post-published-time,
.post-published-date {
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid #e0e0e0;
	background: #f7f7f7;
}

.post-published-time {
	color: #777;
	font-weight: 300;
}

.post-published-date {
	color: #777;
}






/* текущий элемент */
.site-hero .breadcrumbs .current,
header .header-hero__content .breadcrumbs .current,
.murom360-infinite-article .header-hero__content .breadcrumbs .current {
  font-weight: normal;
}

/* иконка "здание" перед первой крошкой */
.site-hero .breadcrumbs a:first-child,
header .header-hero__content .breadcrumbs a:first-child,
.murom360-infinite-article .header-hero__content .breadcrumbs a:first-child {
  position: relative;
  padding-left: 20px;
}
.site-hero .breadcrumbs a:first-child::before,
header .header-hero__content .breadcrumbs a:first-child::before,
.murom360-infinite-article .header-hero__content .breadcrumbs a:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'/><path d='M9 7h.01M9 12h.01M9 17h.01M15 7h.01M15 12h.01M15 17h.01'/><path d='M3 21h18'/></svg>");
}

.archive-pages-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;                  /* расстояние между "чипами" */
    margin: 6px 0 14px;
    font-size: 11px;
    line-height: 1.4;
    opacity: .8;
    background: rgba(204, 204, 204, 0.15);
    padding: 4px 8px;
    border-radius: 10px;
    width: 100%;
    max-height: 200px;               /* около 3–4 строк */
    overflow-y: auto;
	padding: 10px;
}

/* базовый вид всех страниц (и span, и a) */
.archive-pages-strip .archive-page,
.archive-pages-strip .current-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* фиксированная ширина под "стр. 2273" (4 цифры) */
    width: 4.6rem;
    padding: 3px;
    margin: 0 0 2px 0 !important;  /* прибираем инлайн margin-right */
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-variant-numeric: tabular-nums; /* ровная ширина цифр, где поддерживается */
    box-sizing: border-box;
}

/* ссылки */
.archive-pages-strip a.archive-page:hover {
    border-color: #f5f5f5;
    text-decoration: none;
}

/* активная страница */
.archive-pages-strip .archive-page.current-page,
.archive-pages-strip .current-page {
    font-weight: 300;
    border-color: #f5f5f5;
    background: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Header and Account Menu Visuals
   ========================================================================== */

 
 
 
 
 
 
 /* Навигация календаря: prev слева, "Новости Муром" по центру, next справа */
.widget_calendar .wp-calendar-nav {
    display: flex;
    align-items: center;
}

/* Левая и правая ссылки — по краям */
.widget_calendar .wp-calendar-nav-prev {
    flex: 0 0 auto;
    text-align: left;
}
.widget_calendar .wp-calendar-nav-next {
    flex: 0 0 auto;
    text-align: right;
}

/* Центр — "Новости Муром" */
.widget_calendar .wp-calendar-nav .pad {
    flex: 1 1 auto;
    text-align: center;
}

/* Опционально: разделители вокруг "Новости Муром" 
.widget_calendar .wp-calendar-nav .pad a::before {
    content: " | ";
    margin-right: 4px;
}
.widget_calendar .wp-calendar-nav .pad a::after {
    content: " | ";
    margin-left: 4px;
}

 
 
 */
 
 
 

/* Фильтр категорий: справочник и маркетплейс — одинаковые стили */
.hp-field.hp-field--radio {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
}

.hp-field.hp-field--radio > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-field.hp-field--radio li {
  margin: 3px 0;
}

.hp-field.hp-field--radio label {
  display: block;
  font-size: 16px; 
  line-height: 1.4;
}

.hp-field--checkboxes {
	font-size: 16px; 
}

.hp-field.hp-field--radio input[type="radio"] {
  margin-right: 6px;
}

.hp-field--checkboxes, .hp-field--radio {
    max-height: fit-content;
}

/* Сворачивание: оба фильтра — только активная категория развёрнута */
.hp-widget--listing-filter .hp-field.hp-field--radio li > ul,
.hp-widget--vendor-filter .hp-field.hp-field--radio li > ul {
  display: none;
  margin-left: 1em;
  padding-left: 0.5em;
}

.hp-widget--listing-filter .hp-field.hp-field--radio li:has(input:checked) > ul,
.hp-widget--vendor-filter .hp-field.hp-field--radio li:has(input:checked) > ul {
  display: block;
}

 
/* Сетка категорий */
.category-grid__col {
    margin-bottom: 40px;
}


.hp-vendor__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.woocommerce div.product form.cart .variations {
    margin-top: 1.5em;
}

.woocommerce .quantity .qty {
    width: 5em;
}

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.disabled
 {
    line-height: 1.4!important;
	padding: .5rem 1rem;
}













.category-grid__col {
  padding-left: 5px;   /* вместо стандартных 15px */
  padding-right: 5px;
}

@media (max-width: 767px) {
  .category-grid__col {
    padding-left: 3px;
    padding-right: 3px;
  }
}


/* Карточка категории */
.category-card {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Изображение */
.category-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-card__image img {
    opacity: 0.85;
}

/* Контент */
.category-card__body {
    padding: 20px 15px 25px;
}

/* Заголовок */
.category-card__title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    padding-bottom: 10px; /* место для линии */
}

.category-card__title::after {
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    background: rgba(0,0,0,0.1); /* еле заметная линия */
    margin: 8px auto 0; /* по центру */
}


.category-card__title a {
    text-decoration: none;
    color: #222;
    transition: color 0.3s ease;
}

.category-card__title a:hover {
    color: #0073aa;
}

/* Описание (обрезка до 3 строк) */
.category-card__desc {
    font-size: 1rem;
    color: #444;
    margin-top: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* максимум 3 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em; /* одинаковая высота */
}





/**************************************************************/

.widget__title {
    position: relative;
    padding-bottom: 0.3em; /* чуть-чуть отступа снизу */
    margin-bottom: 0.7em;  /* пространство до контента */
}

.widget__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0));
    margin-top: 6px;
}


/* Жирный только для активного родителя */
.menu-item.current-menu-parent > a,
.menu-item.current-menu-ancestor > a,
.menu-item.current-menu-item.menu-item-has-children > a {
    font-weight: bold;
}


/* Кнопка «Добавить размещение» в шапке — скругление */
.hp-menu--site-header .hp-menu__item--listing-submit {
    border-radius: 5px;
}

/* UNIFIED BLOCK: same dropdown geometry for guest and logged-in menus. */
.header-navbar__menu ul li ul,
.header-navbar__burger ul li ul {
    line-height: normal;
}
.header-navbar__menu ul li ul li,
.header-navbar__burger ul li ul li {
    line-height: normal;
  padding: 0.25rem 1.5rem;
}

/* Виджет «Ваш баланс»: ссылка ведёт на дашборд продавца */
.hp-vendor__actions--secondary .hp-vendor__balance strong a {
    color: inherit;
    text-decoration: none;
}
.hp-vendor__actions--secondary .hp-vendor__balance strong a:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════
   🌐 ПУБЛИЧНЫЕ СТРАНИЦЫ МАГАЗИНА - Центрированный layout
   ═══════════════════════════════════════════════════════════════════════════
   
   Применяется к страницам:
   - Корзина (/products/cart)
   - Оформление заказа (/products/cart/checkout)
   - Страница благодарности (/products/cart/checkout/order-received/...)
   - Оплата заказа (/products/cart/checkout/order-pay/...)
   
   Layout: Контент по центру, без левого сайдбара, одинаковые отступы
   ═══════════════════════════════════════════════════════════════════════════ */

/* ПРИНУДИТЕЛЬНОЕ скрытие сайдбара на публичных страницах */
.woocommerce-cart .site-sidebar,
.woocommerce-checkout .site-sidebar {
    display: none !important;
}

/* ПРИНУДИТЕЛЬНОЕ центрирование контента */
.woocommerce-cart .shop-main-content,
.woocommerce-checkout .shop-main-content {
    margin: 0 auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 1200px !important;
}

/* Контейнер для публичных страниц магазина */
.woocommerce-cart .shop-layout-wrapper,
.woocommerce-checkout .shop-layout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Центрированный контент на публичных страницах */
.woocommerce-cart .shop-main-content,
.woocommerce-checkout .shop-main-content {
    max-width: 100%;
    padding: 0 15px;
}

/* Улучшенная читаемость для форм и таблиц */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-checkout .checkout {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Страница благодарности - центрированный бокс (использует тот же класс woocommerce-checkout) */
.woocommerce-checkout .woocommerce-order {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: 900px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-checkout .checkout,
    .woocommerce-checkout .woocommerce-order {
        padding: 20px;
        border-radius: 4px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   📦 СТРАНИЦА ТОВАРА - Layout с сайдбаром (без flex!)
   ═══════════════════════════════════════════════════════════════════════════ */

.product-tabs-layout {
    width: 100%;
}

.product-tabs-layout:after {
    content: "";
    display: table;
    clear: both;
}

.product-tabs-layout .col-sm-8,
.product-tabs-layout .col-sm-4 {
    float: left;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .product-tabs-layout .col-sm-8 {
        width: 66.66666667%;
    }
    
    .product-tabs-layout .col-sm-4 {
        width: 33.33333333%;
    }
}

@media (max-width: 767px) {
    .product-tabs-layout .col-sm-8,
    .product-tabs-layout .col-sm-4 {
        float: none;
        width: 100%;
    }
}

/* Скрываем заголовок "Похожие товары" на странице товара */
.single-product .related.products > h2 {
 /*  display: none; */
    margin-bottom: 35px;
}


@media only screen and (max-width: 767px) {
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product {
      width: 100%;
  }
}


.woocommerce-product-details__short-description {
  margin-bottom: 40px;
}

.woocommerce ul.cart_list, .woocommerce ul.product_list_widget {
  margin: 0 0 20px 0;
}

.woocommerce-mini-cart__buttons,
.woocommerce .woocommerce-order-details .order-actions-button {
  font-size: 14px;
}

.woocommerce div.product .woocommerce-tabs .panel {
  margin: 10px 1em 2em;
  padding: 0;
}

/* Отступ и черта сверху для блока похожих товаров */
.single-product .related.products {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e08a;
}



/* Скрываем дублирующий заголовок "Мой аккаунт" на странице заказов (второй h1) */
body.woocommerce-account .hp-page__content .hp-page__title + .hp-page__title {
	display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   🔢 КОЛИЧЕСТВО товара - видимая надпись справа
   ═══════════════════════════════════════════════════════════════════════════ */

.woocommerce .quantity {
	position: relative;
	display: inline-block;
}

.woocommerce .quantity .quantity-label {
	display: inline-block;
	margin-right: 10px;
	line-height: 1.5;
	vertical-align: middle;
}

.woocommerce .quantity input.qty {
	display: inline-block;
	vertical-align: middle;
}

/* Форма поиска продавцов сверху страницы карточки (vendor view page) — на всю ширину */
.hp-vendor--view-page .hp-vendor-search-top {
	width: 100%;
	margin-bottom: 1.5rem;
}

/* Блоки secondary и ternary в правой части */
.hp-page__content .hp-vendor__attributes--ternary {
	border: 1px solid rgba(7, 36, 86, 0.075);
	border-radius: 3px;
	box-shadow: 0 2px 4px 0 rgba(7, 36, 86, 0.075);
	background-color: #fff;
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
}

/* attributes-ternary справа под заголовком (в page_content) */
.hp-page__content .hp-vendor__attributes--ternary {
	margin-bottom: 1.5rem;
}

.hp-vendor__attributes-ternary__row {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}
.hp-vendor__attributes-ternary__content {
	flex: 1;
	min-width: 0;
}
.hp-vendor__attributes-ternary__icons {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}
.hp-vendor__attributes-ternary__emoji {
	font-size: 1.5rem;
	line-height: 1;
	cursor: help;
}
.hp-vendor__attributes-ternary__verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	font-size: 1rem;
	line-height: 1;
	font-weight: bold;
	border-radius: 50%;
	cursor: help;
}
.hp-vendor__attributes-ternary__verified--yes {
	color: #16a34a;
	background: #dcfce7;
}
.hp-vendor__attributes-ternary__verified--no {
	color: #dc2626;
	background: #fee2e2;
}

/* secondary — атрибуты (Физ. лицо и т.д.) без обводки, обложка только у виджетов (статистика) */
.hp-page__content .hp-vendor__attributes--secondary {
	margin-bottom: 1.5rem;
}

.hp-page__content .hp-vendor__attributes--secondary .hp-vendor__attribute,
.hp-page__content .hp-vendor__attributes--ternary .hp-vendor__attribute {
	background-color: transparent;
	padding: 0;
}

/* Статус вендора (Физ. лицо и т.д.) — как бейдж, как у Сделок/Возвратов/Отзывов */
.hp-page__content .hp-vendor__attributes--secondary .hp-vendor__attribute--vendor-status {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	background: rgba(7, 36, 86, 0.08);
	border-radius: 4px;
	font-size: 0.875rem;
	border-bottom: none;
	margin-bottom: 0;
}

.hp-page__content .hp-vendor__attributes--secondary .hp-vendor__attribute:not(:last-child),
.hp-page__content .hp-vendor__attributes--ternary .hp-vendor__attribute:not(:last-child) {
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
}

/* ОКВЭД — еле заметная черта снизу */
.hp-page__content .hp-vendor__attributes--ternary .hp-vendor__attribute--vendor-okved {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Отступ от листингов */
.hp-page__content .hp-listings {
	margin-top: 2rem;
}

/* График работы (часы работы) — как primary */
.hp-vendor--view-page .hp-listing__opening-hours {
	border: 1px solid rgba(7, 36, 86, 0.075);
	border-radius: 3px;
	box-shadow: 0 2px 4px 0 rgba(7, 36, 86, 0.075);
	background-color: #fff;
	padding: 1rem 1.5rem;
}

/* secondary — выравнивание атрибутов и бейджей на одной линии, кнопки справа */
.hp-page__content .hp-vendor__attributes--secondary .hp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hp-page__content .hp-vendor__attributes--secondary .hp-col-lg-6 {
	align-items: center;
}

.hp-page__content .hp-vendor__attributes--secondary .hp-row > .hp-col-lg-6:last-child {
	margin-left: auto;
}


/* Статистика вендора (бейджи) */
.hp-vendor__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
	min-height: 100%;
}

.hp-vendor__stat-badge {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	background: rgba(7, 36, 86, 0.08);
	border-radius: 4px;
	font-size: 0.875rem;
}

/* Похожие продавцы — на всю ширину */
.hp-vendor-similar {
	width: 100%;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.hp-vendor-similar__title {
	margin-bottom: 1.25rem;
	font-size: 1.25rem;
}
.hp-vendor-similar .hp-vendor--view-block {
	height: 100%;
}

/* Infinite scroll trigger для Похожие компании и Похожие продавцы */
.hp-vendor-similar-empty__trigger,
.hp-vendor-similar__trigger {
	height: 20px;
	margin-top: 1rem;
	visibility: hidden;
}
.hp-vendor-similar-empty__trigger--loading {
	visibility: visible;
}

/* Навигация < картинка > в сайдбаре вендора */
.hp-vendor__image-nav-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.hp-vendor__image-nav-wrapper .hp-vendor__image {
	flex: 1;
	min-width: 0;
}
.hp-vendor__image-nav-wrapper .hp-vendor__image img {
	display: block;
	width: 100%;
	height: auto;
}
.hp-vendor-nav-strip {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(7, 36, 86, 0.08);
	color: var(--hivetheme-heading-color, #072456);
	text-decoration: none;
	border-radius: 4px;
	transition: background 0.2s, color 0.2s;
}
.hp-vendor-nav-strip:hover {
	background: rgba(7, 36, 86, 0.15);
	color: var(--hivetheme-heading-color, #072456);
}

/* Блок корзины на checkout при наличии hp_vendor (бронь/маркетплейс) */
.murom360-checkout-cart-block {
	margin-bottom: 1.5em;
	padding: 1em 0;
	border-bottom: 1px solid #eee;
}
.murom360-checkout-cart-block__table .product-remove {
	width: 2em;
	text-align: center;
}
.murom360-checkout-cart-block__table .product-remove .remove {
	display: inline-block;
	font-size: 1.5em;
	line-height: 1;
	color: #999;
	text-decoration: none;
}
.murom360-checkout-cart-block__table .product-remove .remove:hover {
	color: #c00;
}

/* Кнопки на странице пустой корзины */
.woocommerce .return-to-shop {
	text-align: center;
	margin-top: 1em;
}
.woocommerce .return-to-shop .button {
	display: inline-block;
	margin: 0 0.4em;
}

/* 8 блоков в 2 ряда на дашборде аккаунта — иконки по центру + подписи */
.hp-account-dashboard-blocks .hp-listing--view-block .hp-listing__content {
	padding: 0;
}
.hp-account-dashboard-blocks__row {
	margin-bottom: 1rem;
}
.hp-account-dashboard-blocks__row:last-child {
	margin-bottom: 0;
}
.hp-account-dashboard-blocks .hp-listing__content--icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	gap: 0.5rem;
}
.hp-account-dashboard-blocks .hp-listing__content--icon .hp-icon {
	font-size: 2rem;
  color: #8d97a6;
}
.hp-account-dashboard-blocks .hp-listing__content--icon .hp-account-dashboard-blocks__label {
	font-size: 0.9rem;
  color: #6f7b8b;
}
.hp-account-dashboard-blocks .hp-listing:hover .hp-listing__content--icon .hp-icon {
  color: #717c8c;
}
.hp-account-dashboard-blocks .hp-listing:hover .hp-listing__content--icon .hp-account-dashboard-blocks__label {
  color: #556171;
}

/* Ссылки блоков дашборда */
.hp-account-dashboard-blocks__link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.hp-account-dashboard-blocks__link:hover {
	text-decoration: none;
	color: inherit;
}
.hp-account-dashboard-blocks__icon-wrap {
	position: relative;
	display: inline-block;
}
.hp-account-dashboard-blocks__badge {
	position: absolute;
	top: -6px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
	color: #fff;
	background: #c00;
	border-radius: 9px;
}

/* Статистика под карточками дашборда — 2 колонки, обложка внутри, по центру */
.hp-account-dashboard-stats .hp-row {
	margin: 0 -1rem;
}
.hp-account-dashboard-stats .hp-grid__item {
	margin-bottom: 0;
}
.hp-account-dashboard-stats__col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	padding: 0.75rem 1rem;
  background: #f4f5f7;
  border: 1px solid #eaedf1;
	border-radius: 6px;
	text-align: center;
}
.hp-account-dashboard-stats__row {
	display: block;
	text-align: center;
}
.hp-account-dashboard-stats__link {
  color: #6b7482;
	text-decoration: underline;
}
.hp-account-dashboard-stats__link:hover {
  color: #4e5866;
}

/* Содержание документации (about / docs / dokumentaciya) */
.vc_custom_doc_toc {
	background-color: #f0f7ff;
	padding: 1.25rem 1.5rem;
	border-radius: 8px;
	border: 1px solid #c5d9f0;
}

/* Infinite scroll: сайдбар и виджеты — как в оригинале */
.murom360-infinite-article .site-sidebar .widget,
.murom360-infinite-article .site-sidebar .execphpwidget {
	padding: 2rem;
	border: 1px solid rgba(7, 36, 86, 0.075);
	border-radius: 3px;
	box-shadow: 0 2px 4px 0 rgba(7, 36, 86, 0.075);
	background-color: #fff;
}
.murom360-infinite-article .site-sidebar .widget:not(:last-child),
.murom360-infinite-article .site-sidebar .execphpwidget:not(:last-child) {
	margin-bottom: 2rem;
}

/* Infinite scroll: hero-ad блоки — копия стилей из hp-hero-ads */
.murom360-infinite-article .hero-ad {
	position: absolute;
	width: 336px;
	height: 280px;
	z-index: 30;
	pointer-events: auto;
}
.murom360-infinite-article .hero-ad .widget,
.murom360-infinite-article .hero-ad .widget > * {
	max-width: 100%;
}
@media (max-width: 1279px) {
	.murom360-infinite-article .hero-ad {
		display: none !important;
	}
}

/* Infinite scroll: лоадер и анимация появления */
.murom360-infinite-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 2rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}
.murom360-infinite-loader.is-visible {
	opacity: 1;
	visibility: visible;
}
.murom360-infinite-loader__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}
.murom360-infinite-loader__spinner {
	animation: murom360-spin 0.5s linear infinite;
}
.murom360-infinite-loader__text {
	margin: 0;
	font-size: 0.9rem;
	color: #666;
}
@keyframes murom360-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Плавное появление новой статьи снизу */
.murom360-infinite-article--entering {
	animation: murom360-article-enter 0.4s ease-out forwards;
}
@keyframes murom360-article-enter {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Слот для похожих публикаций между постами */
.murom360-infinite-similar-slot {
	min-height: 0;
	padding: 0;
}

/* Блок «Похожие новости» — простая сетка 2×8 на всю ширину */
.murom360-similar-posts {
	width: 100%;
	padding: 2rem 1rem;
	background: #fff;
}

/* Сетка: 2 ряда по 8 карточек */
.murom360-similar-posts__grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 1rem;
}

/* Адаптив: меньше колонок на узких экранах */
@media (max-width: 1400px) {
	.murom360-similar-posts__grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media (max-width: 1024px) {
	.murom360-similar-posts__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.murom360-similar-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.murom360-similar-posts__grid {
		grid-template-columns: 1fr;
	}
}

/* Лоадер по центру */
.murom360-similar-posts__loader {
	padding: 2rem;
	text-align: center;
	font-size: 1rem;
	color: #666;
}

.murom360-similar-posts__loader-text::after {
	content: '';
	animation: murom360-similar-dots 1.5s steps(4, end) infinite;
}

@keyframes murom360-similar-dots {
	0%, 20% { content: ''; }
	40% { content: '.'; }
	60% { content: '..'; }
	80%, 100% { content: '...'; }
}

/* Карточка */
.murom360-similar-posts__card-wrap {
	width: 100%;
}

.murom360-similar-posts__card {
	min-height: 280px;
	margin: 0;
}
 
.murom360-similar-posts__meta {
	font-size: 0.75rem;
	color: #666;
	margin: 0.35em 0;
}

.murom360-similar-posts__card .category-card__image {
	display: block;
}

.murom360-similar-posts__card .category-card__image img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
}

/* padding hero — только на страницах одиночных постов (post) */
body.single-post .header-hero--large {
	padding: 3rem 0 .3rem !important;
}

/* Заглушка мерча на checkout: нет активных печатников */
.murom360-merch-stub {
	display: block;
	margin: 0 0 1.5rem 0;
	padding: 1.25rem 1.5rem;
	background: #fff5f5;
	border: 1px solid #d63638;
	border-left-width: 4px;
	border-radius: 4px;
	color: #333;
	font-size: 1em;
	line-height: 1.5;
}
.murom360-merch-stub:first-child {
	margin-top: 0;
}
.murom360-merch-stub p {
	margin: 0;
}

/* Account dashboard: custom welcome block + divider (without Woo message styling). */
.hp-page__content .woocommerce-notices-wrapper {
  margin: 0 0 1rem;
}

.hp-account-dashboard-welcome {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #f4f5f7;
  border: 1px solid #e3e6ea;
  border-left: 4px solid #b9c0c8;
  border-radius: 6px;
  color: #556171;
}

.hp-account-dashboard-welcome p {
  margin: 0.4rem 0;
}

.hp-account-dashboard-welcome a {
  text-decoration: underline;
}

.hp-account-dashboard-divider {
  margin: 1.25rem 0 1.4rem;
  border: 0;
  border-top: 1px solid #e2e5e9;
}

/* Force neutral gray palette on account dashboard (override plugin/theme link blues). */
body.woocommerce-account .hp-page__content .hp-account-dashboard-blocks__link,
body.woocommerce-account .hp-page__content .hp-account-dashboard-blocks__link:hover {
  color: #6f7b8b !important;
  text-decoration: none !important;
}

body.woocommerce-account .hp-page__content .hp-account-dashboard-blocks .hp-listing__content--icon .hp-icon {
  color: #8d97a6 !important;
}

body.woocommerce-account .hp-page__content .hp-account-dashboard-blocks .hp-listing__content--icon .hp-account-dashboard-blocks__label,
body.woocommerce-account .hp-page__content .hp-account-dashboard-blocks .hp-listing:hover .hp-listing__content--icon .hp-account-dashboard-blocks__label {
  color: #6f7b8b !important;
}

body.woocommerce-account .hp-page__content .hp-account-dashboard-stats,
body.woocommerce-account .hp-page__content .hp-account-dashboard-stats * {
  color: #5f6977;
}

body.woocommerce-account .hp-page__content .hp-account-dashboard-stats strong {
  color: #4f5968;
}

body.woocommerce-account .hp-page__content .hp-account-dashboard-stats__link,
body.woocommerce-account .hp-page__content .hp-account-dashboard-stats__link:hover {
  color: #6b7482 !important;
}

body.woocommerce-account .hp-page__content .hp-account-dashboard-welcome,
body.woocommerce-account .hp-page__content .hp-account-dashboard-welcome p,
body.woocommerce-account .hp-page__content .hp-account-dashboard-welcome a,
body.woocommerce-account .hp-page__content .hp-account-dashboard-welcome a:hover {
  color: #556171 !important;
}

/* Legacy account dashboard look from pre-refactor screenshot. */
body.woocommerce-account .hp-page__content .hp-account-dashboard-welcome,
body.woocommerce-account .hp-page__content .woocommerce-message {
  display: none !important;
}

body {
  font-size: 17px;
}

.header-navbar__menu>ul {
  flex-wrap: nowrap;
}

/* Нейтральные имена, чтобы блокировщики рекламы не скрывали */
.loop-slot-wrap {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.loop-slot-first { margin-top: 0; }



.wp-block-separator {
  border: none;
  border-bottom: 0!important;
}


a.murom-ad-booking-link,
a.murom-ad-booking-link:visited,
a.murom-ad-booking-link:active,
a.murom-ad-booking-link:focus {
	color: #0077b3!important;
	text-decoration: underline!important;
}

a.murom-ad-booking-link:hover {
	color: #0077b3;
	text-decoration: none!important;
}


.white-link {
  color: #fff;
  text-decoration: none;
}

.white-link:hover,
.white-link:focus,
.white-link:active {
  color: #ababab;
  text-decoration: none;
}



/* Если тема даёт большой отступ у .page-title — слегка его уменьшить */
h1.page-title { margin-bottom: 8px; }



.color-white {
  color: white;
}

.entry-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.footer-navbar__menu ul li {
  font-size: 14px;
}

.footer-navbar__menu ul li:not(:first-child) {
  margin-left: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: rgba(15, 23, 39, .85);
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-top: 2rem;
}

.header-hero--cover {
  background-position: center 35%;
}

.header-navbar {
  align-items: center;
  height: inherit;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
}

.header-navbar:last-child {
  border-bottom: none;
}

.header-navbar__menu > ul > li {
  font-size: 15px;
  font-weight: 600;
  padding: 2.7rem .3rem;
}

.header-navbar__menu ul li ul li {
  padding: .25rem 1rem;
}

.header-navbar__menu:not(:last-child) {
  margin-right: 0.5rem;
}

.header-navbar__start {
  margin-right: 0;
}

.hp-listing--view-block .hp-listing__image img {
  margin: 20px 0;
}

.hp-menu--site-header button i:first-child {
  margin-right: 0;
}

.hp-menu--site-header button > span {
  display: none;
}

/* LOGGED-IN ONLY BLOCK: header account button visual. */
body.logged-in .hp-menu__item--user-account {
  background-color: #f5f5f5;
  border: 1px solid #cdcfd7;
  border-radius: 5px;
  color: inherit;
  margin: 0;
  padding: .6em 1.5em;
}

/* Keep account chevron inside the outlined button, not on the li wrapper. */
body.logged-in .header-navbar__menu > ul > li.menu-item--user-account::after {
  content: none;
}

body.logged-in .header-navbar__menu > ul > li.menu-item--user-account > a.hp-menu__item--user-account {
  align-items: center;
  display: inline-flex;
}

body.logged-in .header-navbar__menu > ul > li.menu-item--user-account > a.hp-menu__item--user-account::after {
  color: rgba(7, 36, 86, 0.25);
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-size: 16px;
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  line-height: 1;
  margin-left: .5rem;
  text-rendering: auto;
}

/* Reduce extra side gap around the account item to match guest spacing. */
body.logged-in .header-navbar__menu > ul > li.menu-item--user-account {
  padding-left: 10px;
  padding-right: 0;
}


/* Attach account dropdown to the account button, not to the full li padding box. */
body.logged-in .header-navbar__menu > ul > li.menu-item--user-account > ul.sub-menu {
  top: calc(100% - .3rem + 4px);
}

/* Logged-in only: align other top-nav dropdowns to the same level as account menu. */
body.logged-in .header-navbar__menu > ul > li.menu-item-has-children:not(.menu-item--user-account) > ul.sub-menu {
  top: calc(100% - .3rem + 4px);
}



/* GUEST ONLY BLOCK: header login button visual. */
body:not(.logged-in) .hp-menu__item--user-login {
  background-color: #f5f5f5;
  border: 1px solid #cdcfd7;
  border-radius: 5px;
  color: inherit;
  margin: 0;
  padding: .6em 1.5em;
  margin-left: 10px;
}

.hp-vendor--view-block .hp-vendor__attributes--primary .hp-vendor__attribute {
  font-size: 1rem;
}

.hp-vendor--view-block .hp-vendor__content {
  padding: 0 1rem 3rem;
}

.nsl-container {
  clear: inline-end;
}

#customer_details {
  margin-top: 30px;
}

#lenta9may > noindex > a > img {
  height: auto;
  max-width: 70%;
}

p.order-again {
  display: none;
}

.post--archive .post__header--cover .post__categories,
.post--archive .post__header--cover .post__title {
  padding: 1rem;
}

.post__human__time {
  color: rgba(15, 23, 39, .65);
  font-size: 14px;
  position: relative;
}

.post-navbar__link i {
  color: #ccc;
}

.tagcloud a,
.tagcloud a:hover {
  border-color: red !important;
  color: red !important;
  font-weight: 700;
}

.tagcloud a,
.wp-block-tag-cloud a {
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 3px;
  color: inherit;
  font-size: 0.6875rem !important;
  letter-spacing: 1px;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s;
}

.widget--sidebar,
.widget.hp-menu {
  padding: 1.7rem;
}

.woocommerce-notices-wrapper {
  margin-bottom: 10px;
}


/* Media Queries */
@media (min-width: 375px) {
  .header-logo img {
    display: block;
    width: 200px;
  }
  h1.page-title {
    margin-top: 20px;
  }
  .post--archive .post__image {
    clear: both;
    float: none;
    height: 300px;
    margin: 0 25px 0 0;
    width: 350px;
  }
}

@media (min-width: 425px) {
  .header-logo img {
    display: block;
    width: 220px;
  }
  h1.page-title {
    margin-top: 0;
  }
  .post--archive .post__image {
    clear: both;
    float: none;
    margin: 0 25px 0 0;
    width: 350px;
  }
}

@media (min-width: 1024px) {
  .post--archive .post__image {
    clear: both;
    float: left;
    margin: 0 25px 0 0;
    width: 350px;
  }
}

@media (min-width: 1440px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  .header-navbar {
    padding: 0.5rem 0 1.5rem 0;
  }
}

/* Moved from inline template styles to child theme stylesheet. */
@media (min-width: 1024px) {
  body.single .header-hero {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 120% auto;
    position: relative;
    overflow: hidden;
  }

  body.single .header-hero:before {
    background-color: rgba(0, 0, 0, .5);
    bottom: 0;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
  }
}

body.single .row-spacer {
  margin: 20px 0;
}

@media (min-width: 768px) {
  body.single .row-spacer {
    margin: 28px 0;
  }
}

body.single .loop-slot-wrap {
  padding: 12px 0;
}

/* Single post: on tablet widths move the right sidebar below content. */
@media (max-width: 1024px) {
  body.single #sticky-row-0 > main.col-sm-8,
  body.single #sticky-row-0 > aside.site-sidebar.col-sm-4 {
    flex-basis: 100%;
    max-width: 100%;
  }

  body.single #sticky-row-0 > aside.site-sidebar.col-sm-4 {
    margin-top: 1.5rem;
  }

  body.single #sticky-row-0 > aside.site-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.single #sticky-row-0 > aside.site-sidebar .widget {
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }

  body.single #sticky-row-0 > aside.site-sidebar .widget .execphpwidget,
  body.single #sticky-row-0 > aside.site-sidebar .widget iframe,
  body.single #sticky-row-0 > aside.site-sidebar .widget img,
  body.single #sticky-row-0 > aside.site-sidebar .widget table {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  body.single #sticky-row-0 > aside.site-sidebar.col-sm-4 {
    margin-top: 1rem;
  }
}

.header-hero {
  position: relative;
}

.header-hero__credit {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.25;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  border-radius: 6px;
  max-width: min(60vw, 520px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.header-hero__credit .header-hero__credit-label {
  opacity: .85;
  font-weight: 600;
}

.header-hero__credit .header-hero__credit-value {
  opacity: .95;
  font-weight: 500;
  display: inline-block;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.header-hero__credit a {
  color: inherit;
  text-decoration: underline;
}

.header-hero:before {
  z-index: 1;
}

@media (max-width: 480px) {
  .header-hero__credit {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
    padding: 6px 10px;
    max-width: 80vw;
  }

  .header-hero__credit .header-hero__credit-value {
    max-width: 65%;
  }
}

.hp-author-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  margin: 24px 0;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
}

.hp-author-card__media img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.hp-author-card__name {
  margin: 0 0 6px;
  font-size: 1.125rem;
  line-height: 1.2;
}

.hp-author-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #666;
}

.hp-author-card__label {
  opacity: .9;
  margin-right: 4px;
}

.hp-author-card__bio {
  font-size: 14px;
  line-height: 1.6;
  color: #222;
}

.hp-author-card__bio--empty {
  color: #888;
  font-style: italic;
}

@media (max-width: 640px) {
  .hp-author-card {
    flex-direction: column;
  }

  .hp-author-card__media img {
    width: 96px;
    height: 96px;
  }
}

.hp-author-card__sep {
  margin: 0 6px;
  opacity: .5;
}

.hp-author-card__total a {
  text-decoration: none;
}

.hp-author-card__total a strong {
  font-weight: 700;
}

.hp-author-card__line {
  margin: 6px 0 8px;
  font-size: 13px;
  color: #555;
}

.hp-author-card__line--muted {
  color: #666;
}

.hp-author-card__item {
  display: inline-block;
}

.hp-author-card__dot {
  margin: 0 8px;
  opacity: .5;
}

.hp-cs {
  margin: 24px 0;
}

.hp-cs .widget,
.hp-cs .sidebar,
.hp-cs > div {
  margin: 0;
}

