/*
Theme Name: Devicer Child
Theme URI: http://cmsmasters.net/devicer/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Devicer Child Theme
Template: devicer
Version: 1.0.125
License:
License URI:
Text Domain: devicer-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Wide visual inside the long SEO copy on priority product categories. */
.term-description .idanny-category-seo-banner {
	margin: 24px 0 28px !important;
	overflow: hidden;
	border-radius: 18px;
	background: #f6f7ff;
}

.term-description .idanny-category-seo-banner img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 !important;
}

@media (max-width: 767px) {
	.term-description .idanny-category-seo-banner {
		margin: 18px 0 22px !important;
		border-radius: 12px;
	}
}

@media (max-width: 760px) {
    .wc-block-checkout__sidebar {
        display: none !important;
    }
}

/* Dyson v10: плотная и читаемая вкладка описания без пустых квадратных баннеров. */
body.single-product .woocommerce-Tabs-panel--description {
	max-width: 1100px;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.single-product .woocommerce-Tabs-panel--description > h2 {
	margin: 26px 0 12px !important;
}

body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
	margin-top: 0 !important;
}

body.single-product .woocommerce-Tabs-panel--description p {
	margin: 0 0 14px !important;
	line-height: 1.65 !important;
}

body.single-product .woocommerce-Tabs-panel--description ul {
	margin: 8px 0 18px 20px !important;
}

body.single-product .woocommerce-Tabs-panel--description li {
	margin-bottom: 7px !important;
}

body.single-product .woocommerce-Tabs-panel--description .idanny-dyson-feature-banner {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 22px 0 24px !important;
	object-fit: cover !important;
}

@media (max-width: 767px) {
	body.single-product .woocommerce-Tabs-panel--description > h2 {
		margin-top: 22px !important;
		font-size: 24px !important;
		line-height: 1.2 !important;
	}

	body.single-product .woocommerce-Tabs-panel--description .idanny-dyson-feature-banner {
		margin: 18px 0 20px !important;
	}
}

#billing .wc-block-components-address-form__address_1 {
    display: none !important;
}

/* Скрываем визуально "плавающую" подпись, оставляя её доступной для скринридеров */
.wc-block-components-text-input label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Раз подпись больше не занимает место сверху — не нужен верхний отступ под неё */
.wc-block-components-text-input input {
    padding-top: 0;
}

/* Полностью убираем нижний отступ у "Контактная информация" —
   перебивает общее правило .wc-block-components-checkout-step */
#contact-fields {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Убираем возможный остаточный отступ от контента внутри шага */
#contact-fields .wc-block-components-checkout-step__content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Подчищаем верх у billing-fields (там уже скрыт заголовок,
   но может остаться пустое место от контейнера заголовка) */
#billing-fields {
    margin-top: 0 !important;
}
#billing-fields .wc-block-components-checkout-step__content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#billing-fields {
    margin-bottom: 32px !important;
}

#shipping-method {
    margin-top: 8px !important;
}

#pickup-options {
    margin-bottom: 32px !important;
}

/* стандартный отступ между всеми шагами чекаута, 
   если где-то ещё будет "слипаться" */
.wc-block-components-checkout-step {
    margin-bottom: 24px;
}

#billing-fields .wc-block-components-step__heading-container,
#billing-fields .wc-block-components-checkout-step__heading-container {
    display: none;
}

.wc-block-components-form.wc-block-checkout__form {
    display: flex;
    flex-direction: column;
}

#contact-fields       { order: 1; }
#billing-fields        { order: 2; } /* только при самовывозе */
#shipping-fields         { order: 2; } /* только при доставке — тот же "слот" */
#shipping-method           { order: 3; }
#pickup-options              { order: 4; } /* только при самовывозе */
#shipping-option               { order: 4; } /* только при доставке — тот же "слот" */
#payment-method                   { order: 5; }
.wc-block-checkout__terms            { order: 6; }
.wc-block-checkout__actions             { order: 7; }

#shipping-option {
	display: none;
}

#shipping-option .wc-block-components-radio-control__option-checked,
#shipping-option .wc-block-components-radio-control__option--checked-option-highlighted,
#shipping-option label.wc-block-components-radio-control__option-checked {
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent !important;
}

/* убираем возможный box-shadow на самом radio-control контейнере */
#shipping-option .wc-block-components-radio-control--highlight-checked {
    box-shadow: none !important;
}

/* на случай если рамка рисуется через :focus-within или :has() у родителя */
#shipping-option .wc-block-components-radio-control__option:focus-within {
    box-shadow: none !important;
    outline: none !important;
}

#shipping-option .wc-block-components-radio-control__option {
    border: none !important;
    box-shadow: none !important;
}

#shipping-option.wc-block-components-checkout-step {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* если это внешняя рамка всего блока с пунктами */
#shipping-option .wc-block-components-radio-control {
    border: none !important;
}

#shipping-option .wc-block-components-shipping-rates-control__package,
#shipping-option .wc-block-components-shipping-rates-control,
#shipping-option .wc-block-components-radio-control {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#shipping-option {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product_meta {
	display: none;
}

.wc-block-components-order-summary-item__individual-price {
	display: none;
}

.wc-block-components-product-metadata {
	display: none;
}

.wp-block-woocommerce-checkout-order-summary-totals-block {
	display: none;
}

#middle > div.headline.cmsmasters_color_scheme_default > div > div.headline_inner.align_left > div > div.headline_text_wrap > div.headline_text {
    display: none;
}

.yith-wcan-filter .filter-content {
    display: none;
}

button.addonify-cp-button {
    display: none !important;
}

#middle > div.middle_inner > div > div > ul > li.product.type-product.post-15570.status-publish.first.instock.product_cat-headphones.has-post-thumbnail.shipping-taxable.purchasable.product-type-simple > article > div > a {
    display: none;
}

.share_posts {
    display: none;
}

#product-15698 > div.cmsmasters_single_product > div.summary.entry-summary.cmsmasters_product_right_column > form > table > tbody > tr > td > a {
    display: none;	
}

#product-15570 > section > ul > li > article > div > a {
    display: none;
}

body > div.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
	 display: none;
}

.wpcbn-btn.wpcbn-btn-archive {
    display: none !important;
}

.wc-block-components-checkbox {
    display: none !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    visibility: hidden;
    position: relative;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
    content: 'Итого';
    visibility: visible;
    position: absolute;
    left: 0;
}

.cmsmasters_product_info_wrap p.price {
    flex-direction: row !important;
    direction: ltr !important;
}

.cmsmasters_product_info .price {
    flex-direction: row !important;
    direction: ltr !important;
    unicode-bidi: normal !important;
}

/* Убираем рамки таблицы вариаций */
.variations,
.variations tr,
.variations td,
.variations th {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Убираем отступы если нужно */
.variations td,
.variations th {
    padding: 8px 0 !important;
}

/* ========================================
   МОБИЛЬНАЯ ШАПКА — Лого слева | Иконки справа
   ======================================== */
@media only screen and (max-width: 768px) {
	.header_mid.default_mid_header .mid_search_but_wrap_resp {
	  display: none !important;
	}
}

/* 
 * footer
 */
.bottom_bg .bottom_inner {
    padding-top: 20px;
    padding-bottom: 0px;
}

/*
 Отзывы
*/
.idanny-reviews { padding: 40px 0; }
.idanny-reviews__header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.idanny-reviews__logo { display: flex; align-items: center; gap: 10px; }
.idanny-reviews__logo-icon { width: 36px; height: 36px; background: #FC3F1D; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; }
.idanny-reviews__logo-title { font-size: 16px; font-weight: 500; }
.idanny-reviews__logo-sub { font-size: 12px; color: #888; }
.idanny-reviews__summary { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.idanny-reviews__score { font-size: 36px; font-weight: 500; line-height: 1; }
.idanny-reviews__stars-big span, .idanny-reviews__stars span { font-size: 18px; }
.idanny-reviews__stars-big span.filled, .idanny-reviews__stars span.filled { color: #FC3F1D; }
.idanny-reviews__stars-big span.empty, .idanny-reviews__stars span.empty { color: #ddd; }
.idanny-reviews__count { font-size: 12px; color: #888; margin-top: 2px; }

.idanny-reviews__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}
.idanny-reviews__grid::-webkit-scrollbar { height: 4px; }
.idanny-reviews__grid::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 2px; }
.idanny-reviews__grid::-webkit-scrollbar-thumb { background: #FC3F1D; border-radius: 2px; }

.idanny-reviews__card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
    flex-shrink: 0;
    scroll-snap-align: start;
    box-sizing: border-box;
}
@media (max-width: 1024px) {
    .idanny-reviews__card { min-width: calc(50% - 8px); max-width: calc(50% - 8px); }
}
@media (max-width: 768px) {
    .idanny-reviews__card { min-width: 85%; max-width: 85%; }
    
    .idanny-reviews__header { flex-wrap: wrap; gap: 12px; }
    
    .idanny-reviews__summary { margin-left: 0; width: 100%; justify-content: flex-start; }
    
    .idanny-reviews__score { font-size: 28px; }
    
    .idanny-reviews__stars-big span { font-size: 22px; }
    
    .idanny-reviews__logo-title { font-size: 14px; }
}

.idanny-reviews__card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.idanny-reviews__avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; flex-shrink: 0; }
.idanny-reviews__name { font-size: 14px; font-weight: 500; }
.idanny-reviews__date { font-size: 11px; color: #999; }
.idanny-reviews__stars { display: flex; gap: 2px; margin-bottom: 8px; }
.idanny-reviews__text { font-size: 13px; color: #555; line-height: 1.6; }
.idanny-reviews__product { font-size: 11px; color: #999; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f0f0f0; }
.idanny-reviews__product span { color: #333; }
.idanny-reviews__footer { text-align: center; margin-top: 20px; }
.idanny-reviews__footer a { color: #FC3F1D; text-decoration: none; font-size: 14px; }


/* Правый tooltip — прижимаем когда уходит за край */
.woof_price3_search_container .irs-to {
    right: auto !important;
    white-space: nowrap !important;
    max-left: unset !important;
}

.woof_price3_search_container .irs-from[style*="left: -"],
.woof_price3_search_container .irs-from[style*="left: 0%"] {
    left: 0px !important;
    transform: translateX(0) !important;
}

/* Правый tooltip когда ползунок у правого края */
.woof_price3_search_container .irs-to[style*="left: 9"] {
    left: auto !important;
    right: 0px !important;
    transform: none !important;
}

/* Правая метка сетки 140 000 */
.woof_price3_search_container .irs-grid-text:last-of-type {
    margin-left: 0 !important;
    transform: translateX(-90%) !important;
}

.woof_products_top_panel_ul > li:not(:first-child) {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    form.cart {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
    form.cart .quantity {
        width: 70px;
        flex-shrink: 0;
    }
    form.cart .single_add_to_cart_button:not(.wpcbn-btn-single) {
        flex: 1;
    }
    form.cart .single_add_to_cart_button,
    form.cart .wpcbn-btn-single {
        height: 50px !important;
        line-height: 50px !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    form.cart .wpcbn-btn-single {
        width: 100%;
        text-align: center;
        margin-top: 10px !important;
    }

    .cmsmasters_single_product .cart .single_add_to_cart_button {
        margin: 0;
    }
}

.variations select {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent;
}

#cmsmasters_row_6coxq56tc .cmsmasters_row_outer_parent {
    padding-bottom: 0px;
}

@media (min-width: 1024px) {
    .cmsmasters_product_title {
        height: 110px;
        overflow: hidden;
    }
}

.sim-radio-options label {
  display: inline-block !important;
  padding: 6px 18px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  margin: 4px;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}

.sim-radio-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sim-radio-options input[type="radio"]:checked + label {
  border-color: #7F77DD;
  background: #EEEDFE;
  color: #3C3489;
}

.sim-radio-options label:hover {
  border-color: #888;
  background: #f5f5f5;
}

@media only screen and (max-width: 1024px) {
    /* Скрываем мобильную кнопку поиска */
    .mid_search_but_wrap_resp {
        display: none !important;
    }

    /* Основной контейнер */
    .mobile_search_under_banner,
    div.mobile_search_under_banner,
    .cmsmasters_header_search_form.mobile_search_under_banner {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        background: #fff !important;
        padding: 12px 15px !important;
        box-sizing: border-box !important;
        z-index: 1 !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        transform: none !important;
    }

    /* Скрываем крестик закрытия */
    .mobile_search_under_banner .cmsmasters_header_search_form_close {
        display: none !important;
    }

    /* Форма */
    .mobile_search_under_banner .search_bar_wrap,
    .mobile_search_under_banner .search_bar_wrap form {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Параграфы внутри формы */
    .mobile_search_under_banner .search_bar_wrap form p {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
    }

    /* Поле ввода */
    .mobile_search_under_banner .search_field {
        flex: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile_search_under_banner input[type="search"] {
        width: 100% !important;
        font-size: 16px !important;
        padding: 10px 15px !important;
        border: 2px solid #8b86fb !important;
        border-right: none !important;
        border-radius: 25px 0 0 25px !important;
        outline: none !important;
        box-sizing: border-box !important;
        display: block !important;
        -webkit-appearance: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: #333 !important;
        background: #fff !important;
    }

    /* Плейсхолдер */
    .mobile_search_under_banner input[type="search"]::placeholder {
        color: #999 !important;
        opacity: 1 !important;
    }

    .mobile_search_under_banner input[type="search"]::-webkit-input-placeholder {
        color: #999 !important;
        opacity: 1 !important;
    }

    /* Кнопка поиска */
    .mobile_search_under_banner .search_button {
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    .mobile_search_under_banner .search_button button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50px !important;
        height: 44px !important;
        background: #8b86fb !important;
        border: none !important;
        border-radius: 0 25px 25px 0 !important;
        color: #fff !important;
        cursor: pointer !important;
        font-size: 18px !important;
    }
	
	.cmsmasters_header_search_form.mobile_search_under_banner {
		border: none !important;
		border-width: 0 !important;
		border-style: none !important;
		border-color: transparent !important;
		box-shadow: none !important;
		outline: none !important;
	}
	
	#cmsmasters_row_ {
		display: none;
	}
}

.product.type-product.product-type-variable .cmsmasters_product_info_wrap p.price {
    display: none;
}

.reset_variations {
    display: none !important;
}

.variations td.value {
    width: auto !important;
}

.sim-radio-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: fit-content;
}


/* ========================================
   МОБИЛЬНАЯ ШАПКА — Бургер слева | Лого центр | Корзина справа
   ======================================== */
@media only screen and (max-width: 768px) {

    .header_mid_outer {
        padding: 0 !important;
    }

    .header_mid_inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 6px 12px !important;
        min-height: 44px !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    /* Бургер слева */
    .resp_mid_nav_wrap {
        order: 1 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        float: none !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* Лого строго по центру */
    .logo_wrap {
        position: absolute !important;
        left: 51% !important;
        right: 0 !important;
        margin: 0 !important;
        width: fit-content !important;
        display: flex !important;
        align-items: center !important;
        transform: translateX(-50%) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .logo_wrap a {
        pointer-events: auto !important;
    }

    .logo_wrap img {
        max-height: 36px !important;
        width: auto !important;
    }

    /* Корзина справа */
    .cmsmasters_header_cart_link {
		order: 3 !important;
		flex: 0 0 auto !important;
		display: flex !important;
		align-items: center !important;
		margin-left: auto !important;
		float: none !important;
		margin-top: 25px !important;
		position: relative !important;
		z-index: 10 !important;
	}

    .cmsmasters_header_cart_link .count_wrap {
        display: flex !important;
        align-items: center !important;
    }

    /* Скрываем лишнее */
    .cmsmasters_dynamic_cart_wrap,
    .mid_search_but_wrap,
    .mid_search_but_wrap_resp,
    .header_bot {
        display: none !important;
    }

    /* Меню скрыто по умолчанию */
	.mid_nav_wrap {
		display: none !important;
	}

	/* Меню открыто — тема показывает nav внутри */
	.mid_nav_wrap nav[style*="display: block"],
	.mid_nav_wrap nav[style*="display:block"] {
		display: block !important;
	}

	.mid_nav_wrap:has(nav[style*="display: block"]),
	.mid_nav_wrap:has(nav[style*="display:block"]) {
		display: block !important;
		position: fixed !important;
		top: 90px !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		height: auto !important;
		max-height: calc(100vh - 56px) !important;
		overflow-y: auto !important;
		background: #fff !important;
		z-index: 9999 !important;
		padding: 20px !important;
		box-sizing: border-box !important;
		box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
	}
	
	/* Скрываем поиск под баннером */
	.cmsmasters_header_search_form.mobile_search_under_banner {
		display: none !important;
	}

	/* Скрываем табы */
	.cmsmasters_tabs_list {
		display: none !important;
	}

}

.cmsmasters_star_rating {
    display: none !important;
}

.cmsmasters_product_sale_wrap {
    display: none !important;
}

.quantity {
	display: none !important;
}

/* ========================================
   Кнопки "Купить сейчас" и "В корзину"
   ======================================== */

form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

form.cart .quantity {
    margin: 0;
}

form.cart .quantity .qty {
    height: 52px;
    width: 70px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
}

form.cart button.single_add_to_cart_button {
    height: 52px;
    flex: 1;
    min-width: 160px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .15s ease, background .15s ease;
}

form.cart button[name="add-to-cart"] {
    background: linear-gradient(90deg, #3452ff, #6b3ef0);
    color: #fff;
}

form.cart button[name="add-to-cart"]:hover {
    opacity: 0.9;
}

form.cart button[name="buy-now"] {
    background: #1a1a1a;
    color: #fff;
}

form.cart button[name="buy-now"]:hover {
    background: #000;
}

/* ========================================
   Кнопки вариантов товара (Модель, Память, Связь, Цвет, Стекло)
   ======================================== */

.wpclv-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Базовый вид кнопки-варианта (и для ссылок <a>, и для неактивных <span>) */
.wpclv-term-button,
.wpclv-term-button a,
.wpclv-term-button span {
    background: transparent !important;
    background-color: transparent !important;
}

.wpclv-term-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 44px;
    padding: 0 16px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    color: #4a4a4d;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
    box-sizing: border-box;
}

.wpclv-term-button a,
.wpclv-term-button span {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* Доступные, но не выбранные варианты — при наведении подсвечиваем рамку */
.wpclv-term-button:not(.active):hover {
    border-color: #3452ff;
    color: #3452ff;
}

/* Текущий выбранный вариант — синяя рамка + лёгкая голубая подложка (как в макете) */
.wpclv-attributes .wpclv-term-button.active,
.wpclv-terms .wpclv-term-button.active {
    border-color: #3452ff !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-radius: 12px !important;
    color: #3452ff !important;
    background: #EDF2FE !important;
    font-weight: 600;
}

/* Недоступные варианты (если плагин их так помечает) — приглушаем */
.wpclv-term-button.disabled,
.wpclv-term-button.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Цвет — делаем кнопку компактнее под текст */
.wpclv-attribute-pa_color .wpclv-term-button {
    min-width: auto;
    padding: 0 18px;
}

/* Отступы блока атрибутов — усилены !important, чтобы перебить тему */
.wpclv-attribute {
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
}

.wpclv-attribute-label {
    font-size: 14px;
    color: #4a4a4d;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 700;
}

.wpclv-attributes {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wpclv-attributes > .wpclv-attribute:first-child {
    margin-top: 20px !important;
}

/* ========================================
   Порядок блоков в карточке + убираем зазор после заголовка
   ======================================== */

.summary.entry-summary.cmsmasters_product_right_column {
    display: flex;
    flex-direction: column;
}

.cmsmasters_product_title_wrap {
    order: 1;
    margin: 0 !important;
    padding: 0 !important;
}

.cmsmasters_product_title_wrap h1.product_title {
    margin: 0 0 8px 0 !important;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.cmsmasters_product_info_wrap {
    order: 2;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.cmsmasters_product_info_wrap p.price {
    font-size: 32px;
    font-weight: 700;
    color: #15181D;
}

.wpclv-attributes { order: 3; }
form.cart { order: 4; margin-top: 8px; }
.idanny-product-infobar { order: 5; }
.product_meta { order: 6; }
.share_posts { order: 7; }
.yith-add-to-wishlist-button-block { order: 8; }

/* ========================================
   Плашка "Доставка / Гарантия / Возврат"
   (выводится через functions.php, см. файл functions-infobar.php)
   ======================================== */

.idanny-product-infobar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.idanny-product-infobar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}

.idanny-product-infobar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #4a4a4d;
}

.idanny-product-infobar__icon svg {
    width: 100%;
    height: 100%;
}

.idanny-product-infobar__text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.4;
    color: #8f8f93;
}

.idanny-product-infobar__text strong {
    font-size: 13px;
    font-weight: 500;
    color: #29292a;
}

@media only screen and (max-width: 600px) {
    .idanny-product-infobar {
        gap: 12px;
    }
    .idanny-product-infobar__item {
        min-width: 100%;
    }
}

.cmsmasters_post_footer.entry-meta {
    display: none !important;
}

#cmsmasters_row_asp37xjhvg {
    display: none !important;
}

body.tf-no-sidebar .sidebar.fl {
    display: none !important;
}
body.tf-no-sidebar .content_wrap.l_sidebar {
    width: 100% !important;
    float: none !important;
}

/* =========================================================
   НОВОЕ: макет карточки товара под скриншот (двухколоночная
   карточка). Всё, что дублировало уже существующие правила
   выше (кнопки, свотчи, инфобар), встроено ВНУТРЬ них —
   отдельных повторных объявлений здесь нет.
   ========================================================= */

.cmsmasters_single_product{
  display:grid;
  grid-template-columns:460px 1fr;
  grid-template-rows:auto auto;
  column-gap:48px;
  row-gap:12px;
  max-width:1100px;
  margin:0 auto;
  background:#fff;
  border-radius:20px;
  padding:36px;
}

/* Хлебные крошки — отдельная строка на всю ширину карточки */
.cmsmasters_single_product > .cmsmasters_breadcrumbs{
  grid-column:1 / -1;
  grid-row:1;
}

/* Галерея — левая колонка, вторая строка */
.cmsmasters_single_product > .cmsmasters_product_left_column{
  grid-column:1;
  grid-row:2;
  width:100% !important;
  float:none !important;
}

/* Инфо-блок — правая колонка, вторая строка */
.cmsmasters_single_product > .cmsmasters_product_right_column{
  grid-column:2;
  grid-row:2;
  width:100% !important;
  float:none !important;
}

/* =========================================================
   ЕДИНАЯ ДЕСКТОПНАЯ СЕТКА КАРТОЧКИ ТОВАРА
   В теме уже есть крошки над карточкой. Внутренние крошки
   создавали второй ряд и, вместе с сайдбаром, сдвигали товар.
   ========================================================= */
body.single-product .cmsmasters_single_product > .cmsmasters_breadcrumbs {
  display: none !important;
}

/* «Вам также будет интересно» использует тот же шаблон, что и «Похожие». */
body.single-product section.upsells.products ul.products.cmsmasters_products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product section.upsells.products ul.products::before,
body.single-product section.upsells.products ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product section.upsells.products li.product,
body.single-product section.upsells.products article.cmsmasters_product,
body.single-product section.upsells.products .cmsmasters_product_wrapper_border {
  display: flex !important;
  width: 100% !important;
  height: 445px !important;
  min-height: 445px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.single-product section.upsells.products li.product {
  float: none !important;
  background: transparent !important;
}

body.single-product section.upsells.products article.cmsmasters_product {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/*
 * Product cards do not need the WooCommerce category line.  It duplicates
 * catalogue navigation and looks like breadcrumbs above the product title.
 * Keep this global for product loops so the line cannot reappear on the home
 * carousels, catalogue pages, upsells or related-product cards.
 */
body #page ul.products .cmsmasters_product_cat,
body #page section.products .cmsmasters_product_cat,
body #page .idanny-home-products .cmsmasters_product_cat {
  display: none !important;
}

body.single-product section.upsells.products .cmsmasters_product_wrapper_border {
  flex: 1 1 auto !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid #e8e8ef !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(24, 24, 50, .07) !important;
}

body.single-product section.upsells.products .cmsmasters_product_img {
  display: flex !important;
  flex: 0 0 205px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 205px !important;
  margin: 0 !important;
  padding: 16px 16px 6px !important;
  overflow: hidden !important;
}

body.single-product section.upsells.products .cmsmasters_product_img > a,
body.single-product section.upsells.products .cmsmasters_product_img img {
  display: block !important;
  width: 100% !important;
  height: 183px !important;
  max-height: 183px !important;
  object-fit: contain !important;
}

body.single-product section.upsells.products .cmsmasters_product_inner {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 16px 16px !important;
}

body.single-product section.upsells.products .cmsmasters_product_cat {
  margin: 0 0 10px !important;
  color: #5355f5 !important;
  font-size: 14px !important;
  line-height: 18.9px !important;
  text-align: left !important;
}

body.single-product section.upsells.products .cmsmasters_product_title {
  min-height: 65px !important;
  margin: 0 !important;
  color: #29292a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 21.75px !important;
  text-align: left !important;
}

body.single-product section.upsells.products .cmsmasters_product_info_wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 52px !important;
  align-items: end !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 68px !important;
  margin-top: auto !important;
  padding: 16px 0 0 !important;
}

body.single-product section.upsells.products .price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 1px !important;
  height: 40px !important;
  margin: 0 !important;
  color: #17171c !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 21.85px !important;
  white-space: nowrap !important;
}

/* Старая цена сверху, акционная снизу — как в блоке «Похожие». */
body.single-product section.upsells.products .price del,
body.single-product section.upsells.products .price del .amount {
  display: block !important;
  margin: 0 !important;
  color: #92949c !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 12px !important;
}

body.single-product section.upsells.products .price ins,
body.single-product section.upsells.products .price ins .amount,
body.single-product section.upsells.products .price > .amount {
  display: block !important;
  margin: 0 !important;
  color: #17171c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  text-decoration: none !important;
}

body.single-product section.upsells.products .cmsmasters_product_add_wrap,
body.single-product section.upsells.products .cmsmasters_product_add_inner {
  display: block !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product section.upsells.products .cmsmasters_add_to_cart_button,
body.single-product section.upsells.products .cmsmasters_product_button.add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  min-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5h2l1.9 8.2a2 2 0 0 0 2 1.6h7.5a2 2 0 0 0 2-1.6L20 7.2H7'/%3E%3Cpath d='M11.8 8.2v4M9.8 10.2h4'/%3E%3Ccircle cx='10' cy='18.5' r='1.25'/%3E%3Ccircle cx='17' cy='18.5' r='1.25'/%3E%3C/svg%3E") center / 27px 27px no-repeat,
    linear-gradient(135deg, #4368ff 0%, #7139ef 100%) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: 0 7px 17px rgba(83, 61, 235, .27) !important;
}

body.single-product section.upsells.products .wpcbn-btn-archive,
body.single-product section.upsells.products .added_to_cart {
  display: none !important;
}

@media only screen and (min-width: 761px) {
  body.single-product.tf-no-sidebar #middle .content_wrap.l_sidebar,
  body.single-product.tf-no-sidebar #middle .content_wrap.r_sidebar {
    width: 100% !important;
    float: none !important;
  }

  body.single-product.tf-no-sidebar #middle .content_wrap > .sidebar {
    display: none !important;
  }

  /* Не растягиваем описание и связанные блоки на весь экран.
     Ширина совпадает с обычной карточкой товара. */
  body.single-product.tf-no-sidebar #middle .content_wrap > .content {
    width: 1100px !important;
    max-width: calc(100% - 40px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    float: none !important;
  }

  body.single-product .cmsmasters_single_product > .cmsmasters_product_left_column,
  body.single-product .cmsmasters_single_product > .cmsmasters_product_right_column {
    grid-row: 1;
  }
}

.woocommerce-product-gallery__image{
  background:#F5F6F8;
  border-radius:16px;
  overflow:hidden;
  width:100%;
}

@media (max-width:760px){
  .cmsmasters_single_product{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    padding:20px;
    row-gap:16px;
  }
  .cmsmasters_single_product > .cmsmasters_product_left_column{
    grid-column:1;
    grid-row:2;
  }
  .cmsmasters_single_product > .cmsmasters_product_right_column{
    grid-column:1;
    grid-row:3;
  }
  .cmsmasters_product_title_wrap h1.product_title{ font-size:22px; }
  .cmsmasters_product_info_wrap p.price{ font-size:26px; }
}

/* =========================================================
   ОФОРМЛЕНИЕ ЗАКАЗА (WooCommerce Checkout Blocks) — рескин
   в единой стилистике с карточкой товара: скругления,
   фирменный градиент на кнопке, карточный вид блоков.
   ========================================================= */

/* Основная форма и сайдбар с итогом — карточки */
.wc-block-checkout__form,
.wc-block-checkout__sidebar{
  background:#fff;
  border-radius:16px;
  padding:28px;
  box-sizing:border-box;
}
.wc-block-checkout__sidebar{
  border:1px solid #E2E5EA;
}

/* Заголовки шагов ("Контактная информация", "Платёжный адрес" и т.д.) */
.wc-block-components-checkout-step__title{
  font-size:20px;
  font-weight:700;
  color:#15181D;
}

/* Разделители между шагами вместо сплошного списка */
.wc-block-components-checkout-step{
  border-bottom:1px solid #E2E5EA;
  padding-bottom:24px;
  margin-bottom:24px;
}
.wc-block-components-checkout-step:last-of-type{
  border-bottom:none;
  margin-bottom:0;
}

/* Поля ввода и select — скруглённые, как на карточке товара */
.wc-block-components-text-input input,
.wc-blocks-components-select__select{
  border-radius:10px !important;
  border:1px solid #E2E5EA !important;
  height:48px;
  box-sizing:border-box;
}

/* Способ оплаты — карточка выбора со скруглением */
.wc-block-components-radio-control__option{
  border-radius:10px !important;
  border:1px solid #E2E5EA !important;
}
.wc-block-components-radio-control__option-checked{
  border-color:#3452ff !important;
  background:#EDF2FE;
}

/* Кнопка "Оформить заказ" — фирменный градиент вместо тёмной сплошной */
.wc-block-components-checkout-place-order-button{
  background:linear-gradient(90deg, #3452ff, #6b3ef0) !important;
  border:none !important;
  border-radius:10px !important;
  height:52px;
  font-weight:600;
}
.wc-block-components-checkout-place-order-button:hover{
  opacity:.9;
}

/* Итоговая сумма — крупнее и жирнее */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount{
  font-size:22px;
  font-weight:700;
  color:#15181D;
}

@media (max-width:760px){
  .wc-block-checkout__form,
  .wc-block-checkout__sidebar{
    padding:20px;
    border-radius:12px;
  }
}

/* Скрыть поле "Страна/регион" в форме платёжного/доставочного адреса
   (работает и в свёрнутом виде карточки адреса, и после нажатия "Изменить",
   т.к. это один и тот же DOM-элемент) */
.wc-block-components-address-form__country{
  display:none !important;
}
/* =========================================================
   IDANNY — МОБИЛЬНЫЙ КАТАЛОГ V2
   Две карточки в ряд в магазине и категориях
   Компьютерную версию и главную не затрагивает
   ========================================================= */
@media only screen and (max-width: 767px) {
 /* Сетка — строго две карточки */
 body.woocommerce-shop #page .content_wrap .content
 ul.products.cmsmasters_products,
 body.tax-product_cat #page .content_wrap .content
 ul.products.cmsmasters_products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
  gap: 12px 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
 }
 /* Убираем служебные элементы старой сетки */
 body.woocommerce-shop #page .content_wrap .content
 ul.products.cmsmasters_products::before,
 body.woocommerce-shop #page .content_wrap .content
 ul.products.cmsmasters_products::after,
 body.tax-product_cat #page .content_wrap .content
 ul.products.cmsmasters_products::before,
 body.tax-product_cat #page .content_wrap .content
 ul.products.cmsmasters_products::after {
  display: none !important;
  content: none !important;
 }
 /* Перебиваем штатные 97.4% ширины Devicer */
 body.woocommerce-shop #page .content_wrap .content
 ul.products.cmsmasters_products > li.product,
 body.woocommerce-shop #page .content_wrap .content
 ul.products.cmsmasters_products > li.product:nth-child(n),
 body.tax-product_cat #page .content_wrap .content
 ul.products.cmsmasters_products > li.product,
 body.tax-product_cat #page .content_wrap .content
 ul.products.cmsmasters_products > li.product:nth-child(n) {
  display: flex !important;
  align-self: stretch !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
 }
 /* Основа карточки */
 body.woocommerce-shop #page .cmsmasters_product,
 body.tax-product_cat #page .cmsmasters_product {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
 }
 /* Рамка и одинаковая минимальная высота */
 body.woocommerce-shop #page .cmsmasters_product_wrapper_border,
 body.tax-product_cat #page .cmsmasters_product_wrapper_border,
 body.woocommerce-shop #page
 .cmsmasters_product:hover .cmsmasters_product_wrapper_border,
 body.tax-product_cat #page
 .cmsmasters_product:hover .cmsmasters_product_wrapper_border {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 330px !important;
  height: 330px !important;
  max-height: 330px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #c8cdd9 !important;
  border-radius: 12px !important;
  box-shadow: inset 0 0 0 1px rgba(200, 205, 217, 0.25) !important;
  transform: none !important;
 }
 /* Область изображения */
 body.woocommerce-shop #page
 .cmsmasters_product .cmsmasters_product_img,
 body.tax-product_cat #page
 .cmsmasters_product .cmsmasters_product_img,
 body.woocommerce-shop #page
 .cmsmasters_product:hover .cmsmasters_product_img,
 body.tax-product_cat #page
 .cmsmasters_product:hover .cmsmasters_product_img {
  display: flex !important;
  flex: 0 0 145px !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 145px !important;
  min-height: 145px !important;
  margin: 0 !important;
  padding: 10px 8px 5px !important;
  overflow: hidden !important;
  background: #ffffff !important;
 }
body.woocommerce-shop #page .cmsmasters_product_img > a,
 body.tax-product_cat #page .cmsmasters_product_img > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
 }
 body.woocommerce-shop #page .cmsmasters_product_img img,
 body.tax-product_cat #page .cmsmasters_product_img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
 }
 /* Текстовый блок */
 body.woocommerce-shop #page .cmsmasters_product_inner,
 body.tax-product_cat #page .cmsmasters_product_inner {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 10px 11px !important;
  overflow: visible !important;
  text-align: left !important;
 }
 /* Скрываем повторяющееся название категории */
 body.woocommerce-shop #page .cmsmasters_product_cat,
 body.tax-product_cat #page .cmsmasters_product_cat {
  display: none !important;
 }
 body.woocommerce-shop #page .cmsmasters_product_header,
 body.tax-product_cat #page .cmsmasters_product_header {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
 }
 /* Единый мобильный заголовок: четыре строки */
 body.woocommerce-shop #page .cmsmasters_product_title,
 body.tax-product_cat #page .cmsmasters_product_title {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: 80px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
 }
 body.woocommerce-shop #page .cmsmasters_product_title a,
 body.tax-product_cat #page .cmsmasters_product_title a {
  display: -webkit-box !important;
  max-height: 80px !important;
  overflow: hidden !important;
  color: #17171c !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
 }
 /* Цена и корзина всегда внизу */
 body.woocommerce-shop #page .cmsmasters_product_info_wrap,
 body.tax-product_cat #page .cmsmasters_product_info_wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 36px !important;
  align-items: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  position: static !important;
  inset: auto !important;
  overflow: visible !important;
 }
 body.woocommerce-shop #page .cmsmasters_product_info,
 body.tax-product_cat #page .cmsmasters_product_info {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
 }
 /* Цена */
 body.woocommerce-shop #page .cmsmasters_product .price,
 body.tax-product_cat #page .cmsmasters_product .price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100% !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  inset: auto !important;
  overflow: visible !important;
  direction: ltr !important;
  color: #17171c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
line-height: 1.15 !important;
  text-align: left !important;
  white-space: nowrap !important;
 }
 body.woocommerce-shop #page .cmsmasters_product .price .amount,
 body.tax-product_cat #page .cmsmasters_product .price .amount {
  color: #17171c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
 }
 body.woocommerce-shop #page .cmsmasters_product .price del,
 body.tax-product_cat #page .cmsmasters_product .price del {
  margin: 0 0 2px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  opacity: 1 !important;
 }
 body.woocommerce-shop #page .cmsmasters_product .price ins,
 body.tax-product_cat #page .cmsmasters_product .price ins {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
 }
 /* Рейтинг скрываем */
 body.woocommerce-shop #page .cmsmasters_star_rating,
 body.tax-product_cat #page .cmsmasters_star_rating {
  display: none !important;
 }
 /* Контейнер корзины */
 body.woocommerce-shop #page .cmsmasters_product_add_wrap,
 body.tax-product_cat #page .cmsmasters_product_add_wrap,
 body.woocommerce-shop #page .cmsmasters_product_add_inner,
 body.tax-product_cat #page .cmsmasters_product_add_inner {
  display: block !important;
  align-self: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  inset: auto !important;
  overflow: visible !important;
 }
 body.woocommerce-shop #page .cmsmasters_product_add_wrap::after,
 body.tax-product_cat #page .cmsmasters_product_add_wrap::after {
  display: none !important;
  content: none !important;
 }
 /* Кнопка корзины */
 body.woocommerce-shop #page
 .cmsmasters_product_button.add_to_cart_button,
 body.tax-product_cat #page
 .cmsmasters_product_button.add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  inset: auto !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 10px !important;
  background-color: #625cff !important;
  background-image:
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5h2l1.9 8.2a2 2 0 0 0 2 1.6h7.5a2 2 0 0 0 2-1.6L20 7.2H7'/%3E%3Cpath d='M11.8 8.2v4M9.8 10.2h4'/%3E%3Ccircle cx='10' cy='18.5' r='1.25'/%3E%3Ccircle cx='17' cy='18.5' r='1.25'/%3E%3C/svg%3E"),
   linear-gradient(135deg, #4368ff 0%, #7139ef 100%) !important;
  background-repeat: no-repeat !important;
  background-position: center, center !important;
  background-size: 23px 23px, 100% 100% !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  box-shadow: none !important;
  transform: none !important;
 }
 body.woocommerce-shop #page
 .cmsmasters_product_button.add_to_cart_button > span,
 body.tax-product_cat #page
 .cmsmasters_product_button.add_to_cart_button > span {
  display: none !important;
 }
 /* Убираем ненужные кнопки и псевдоэлементы */
 body.woocommerce-shop #page
 .cmsmasters_product_button.add_to_cart_button::before,
 body.woocommerce-shop #page
 .cmsmasters_product_button.add_to_cart_button::after,
 body.tax-product_cat #page
 .cmsmasters_product_button.add_to_cart_button::before,
 body.tax-product_cat #page
 .cmsmasters_product_button.add_to_cart_button::after,
 body.woocommerce-shop #page
 .cmsmasters_product_button.added_to_cart,
 body.tax-product_cat #page
 .cmsmasters_product_button.added_to_cart,
 body.woocommerce-shop #page .wpcbn-btn-archive,
 body.tax-product_cat #page .wpcbn-btn-archive {
display: none !important;
 }
}
/* ==================================================
   iDanny: правильный порядок блоков карточки товара
   ================================================== */

.single-product
.summary.entry-summary.cmsmasters_product_right_column {
    display: flex !important;
    flex-direction: column !important;
}


/* 1. НАЗВАНИЕ ТОВАРА */

.single-product
.summary
> .cmsmasters_product_title_wrap {
    order: 1 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.single-product
.summary
.cmsmasters_product_title_wrap
h1.product_title {
    margin: 0 0 14px !important;
}


/* 2. КРАТКОЕ ОПИСАНИЕ */

.single-product
.summary
> .cmsmasters_product_content {
    order: 2 !important;

    width: 100% !important;

    margin: 0 0 18px !important;
    padding: 0 !important;
}

.single-product
.summary
.cmsmasters_product_content
.woocommerce-product-details__short-description {
    margin: 0 !important;
    padding: 0 !important;
}


/* 3. ВАРИАНТЫ ТОВАРА: ЦВЕТ, ПАМЯТЬ И Т.Д. */

.single-product
.summary
> .wpclv-attributes {
    order: 3 !important;

    width: 100% !important;

    margin-bottom: 18px !important;
}


/* 4. КНОПКИ ПОКУПКИ */

.single-product
.summary
> form.cart {
    order: 4 !important;

    width: 100% !important;

    margin: 0 0 18px !important;
}


/* 5. ДОСТАВКА, ГАРАНТИЯ И ВОЗВРАТ */

.single-product
.summary
> .idanny-product-infobar {
    order: 5 !important;

    width: 100% !important;

    margin-bottom: 18px !important;
}


/* 6. ЦЕНА — В САМОМ НИЗУ СПРАВА */

.single-product
.summary
> .cmsmasters_product_info_wrap {
    order: 6 !important;

    display: block !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 0 0 15px !important;
    padding: 0 !important;

    float: none !important;

    text-align: right !important;
}

.single-product
.summary
.cmsmasters_product_info_wrap
p.price {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;

    text-align: right !important;
}


/* 7. СЛУЖЕБНЫЕ БЛОКИ */

.single-product
.summary
> .product_meta {
    order: 7 !important;
}

.single-product
.summary
> .share_posts {
    order: 8 !important;
}

.single-product
.summary
> .yith-add-to-wishlist-button-block {
    order: 9 !important;
}
/* =========================================================
   iDanny: окончательный порядок элементов карточки товара
   ========================================================= */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column {
    display: flex !important;
    flex-direction: column !important;
}


/* 1. Название товара */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .cmsmasters_product_title_wrap {
    order: 1 !important;
}


/* 2. Краткое описание */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .cmsmasters_product_content {
    order: 2 !important;

    width: 100% !important;

    margin: 14px 0 0 !important;
    padding: 0 !important;
}


/* 3. Цвет, память и остальные варианты */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .wpclv-attributes {
    order: 3 !important;
}


/* 4. Базовая и акционная цены справа */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .cmsmasters_product_info_wrap {
    order: 4 !important;

    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-end !important;

    float: none !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 16px 0 18px !important;
    padding: 0 !important;

    border: 0 !important;

    text-align: right !important;
    overflow: visible !important;
}

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .cmsmasters_product_info_wrap
p.price {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 10px !important;

    float: none !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: ltr !important;
    text-align: right !important;
}

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .cmsmasters_product_info_wrap
p.price del,
body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .cmsmasters_product_info_wrap
p.price ins {
    display: inline-block !important;
    margin: 0 !important;
}

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .cmsmasters_product_info_wrap
p.price ins {
    text-decoration: none !important;
}


/* 5. Кнопки «В корзину» и «Купить сейчас» */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> form.cart {
    order: 5 !important;

    width: 100% !important;

    margin-top: 0 !important;
}


/* 6. Доставка, гарантия и возврат */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .idanny-product-infobar {
    order: 6 !important;
}


/* Остальные блоки */

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .product_meta {
    order: 7 !important;
}

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .share_posts {
    order: 8 !important;
}

body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .yith-add-to-wishlist-button-block {
    order: 9 !important;
}
/* Принудительная пульсация кнопки вызова */
html body a.idanny-mobile-call {
	position: fixed !important;
	overflow: visible !important;
	transform-origin: center !important;
	animation: idanny-call-button-pulse 1.15s ease-in-out infinite !important;
	will-change: filter, box-shadow !important;
}

html body a.idanny-mobile-call::before,
html body a.idanny-mobile-call::after {
	position: absolute !important;
	inset: -2px !important;
	z-index: -1 !important;
	display: block !important;
	content: "" !important;
	pointer-events: none !important;
	border: 2px solid rgba(116, 82, 255, 0.75) !important;
	border-radius: 50% !important;
	animation: idanny-call-wave 1.15s ease-out infinite !important;
}

html body a.idanny-mobile-call::after {
	animation-delay: 0.38s !important;
}

@keyframes idanny-call-button-pulse {
	0%,
	100% {
		filter: brightness(1);
		box-shadow:
			0 8px 26px rgba(83, 61, 210, 0.35),
			0 0 0 0 rgba(116, 82, 255, 0.55);
	}

	50% {
		filter: brightness(1.15);
		box-shadow:
			0 12px 34px rgba(83, 61, 210, 0.5),
			0 0 0 10px rgba(116, 82, 255, 0.12);
	}
}

@keyframes idanny-call-wave {
	0% {
		opacity: 0.9;
		transform: scale(0.92);
	}

	75%,
	100% {
		opacity: 0;
		transform: scale(1.5);
	}
}
/* iDanny: галочка после успешного AJAX-добавления. */

body #page #idanny-home
.idanny-home-products
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.add_to_cart_button.added,

body.woocommerce-shop #page
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.add_to_cart_button.added,

body.tax-product_cat #page
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.add_to_cart_button.added,

body.single-product #page
section.related.products
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.add_to_cart_button.added {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E")
		center / 24px 24px no-repeat,
		linear-gradient(135deg, #4368ff 0%, #7139ef 100%) !important;
}

/* Убираем отдельную ссылку «Просмотреть корзину». */

body #page #idanny-home
.idanny-home-products
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.added_to_cart.wc-forward,

body.woocommerce-shop #page
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.added_to_cart.wc-forward,

body.tax-product_cat #page
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.added_to_cart.wc-forward,

body.single-product #page
section.related.products
.cmsmasters_product_add_inner
> a.cmsmasters_product_button.added_to_cart.wc-forward {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}
/* =========================================================
   iDanny: окончательное восстановление мини-корзины
   ========================================================= */

/* Внешние контейнеры не должны обрезать выпадающее окно. */
html body #page #header .cmsmasters_dynamic_cart_wrap,
html body #page #header .cmsmasters_dynamic_cart {
	overflow: visible !important;
}

/* Открытие при наведении или фокусе. */
html body #page #header
.cmsmasters_dynamic_cart:hover
.widget_shopping_cart_content,

html body #page #header
.cmsmasters_dynamic_cart:focus-within
.widget_shopping_cart_content {
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

/* Прокрутка применяется непосредственно к настоящему списку товаров. */
html body #page #header
.cmsmasters_dynamic_cart_wrap
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> ul.woocommerce-mini-cart.cart_list.product_list_widget {
	display: block !important;
	box-sizing: border-box !important;

	width: 100% !important;
	max-height: 350px !important;

	margin: 0 !important;
	padding-right: 7px !important;

	overflow-x: hidden !important;
	overflow-y: auto !important;

	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;

	scrollbar-width: thin;
	scrollbar-color: #8e96aa #eef0f5;
}

html body #page #header
.cmsmasters_dynamic_cart_wrap
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> ul.woocommerce-mini-cart.cart_list.product_list_widget::-webkit-scrollbar {
	width: 7px;
}

html body #page #header
.cmsmasters_dynamic_cart_wrap
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> ul.woocommerce-mini-cart.cart_list.product_list_widget::-webkit-scrollbar-track {
	border-radius: 999px;
	background: #eef0f5;
}

html body #page #header
.cmsmasters_dynamic_cart_wrap
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> ul.woocommerce-mini-cart.cart_list.product_list_widget::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #8e96aa;
}

/* Итог и оформление всегда находятся под прокручиваемым списком. */
html body #page #header
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> .woocommerce-mini-cart__total,

html body #page #header
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> .woocommerce-mini-cart__buttons {
	position: static !important;
	inset: auto !important;

	box-sizing: border-box !important;
	width: 100% !important;

	margin-right: 0 !important;
	margin-left: 0 !important;

	background: #ffffff !important;
	z-index: 5 !important;
}

html body #page #header
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> .woocommerce-mini-cart__buttons
.button.checkout {
	display: block !important;
	float: none !important;

	box-sizing: border-box !important;
	width: 100% !important;

	margin-right: 0 !important;
	margin-left: 0 !important;
}


/* =========================================================
   МИНИ-КОРЗИНА: ТЕКСТ СТРОГО ПО ЦЕНТРУ КНОПКИ
   ========================================================= */

html body #page #header
.cmsmasters_dynamic_cart_wrap
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> p.woocommerce-mini-cart__buttons.buttons
> a.button.checkout.wc-forward {
	display: block !important;
	float: none !important;

	box-sizing: border-box !important;
	width: 100% !important;
	height: 52px !important;
	min-height: 52px !important;

	margin: 0 !important;
	padding: 0 !important;

	line-height: 52px !important;
	text-align: center !important;
	text-indent: 0 !important;
	white-space: nowrap !important;
	vertical-align: middle !important;
}

html body #page #header
.cmsmasters_dynamic_cart_wrap
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> p.woocommerce-mini-cart__buttons.buttons
> a.button.checkout.wc-forward::before,

html body #page #header
.cmsmasters_dynamic_cart_wrap
.cmsmasters_dynamic_cart
.widget_shopping_cart_content
> p.woocommerce-mini-cart__buttons.buttons
> a.button.checkout.wc-forward::after {
	display: none !important;
	content: none !important;
}
/* Мобильный блог: фирменные границы без теней */
@media only screen and (max-width: 767px) {

	/* Главная большая статья */
	html body #page #idanny-home
	.idanny-home-blog__featured {
		box-sizing: border-box !important;
		border: 1px solid transparent !important;

		background:
			linear-gradient(#071426, #071426) padding-box,
			linear-gradient(
				135deg,
				#2992ff 0%,
				#586cff 48%,
				#8058ff 100%
			) border-box !important;

		box-shadow: 0 10px 26px rgba(67, 82, 190, 0.10) !important;
	}

	/* Две нижние карточки */
	html body #page #idanny-home
	.idanny-home-blog-card {
		box-sizing: border-box !important;
		border: 1px solid transparent !important;

		background:
			linear-gradient(#ffffff, #ffffff) padding-box,
			linear-gradient(
				135deg,
				#2992ff 0%,
				#586cff 48%,
				#8058ff 100%
			) border-box !important;

		box-shadow: none !important;
		filter: none !important;
	}

	/* Убираем возможную тень со ссылок внутри карточек */
	html body #page #idanny-home
	.idanny-home-blog-card > a {
		box-shadow: none !important;
		filter: none !important;
	}
}
/* =========================================================
   ВЕРХНИЕ КАТЕГОРИИ — ОКОНЧАТЕЛЬНЫЙ ВАРИАНТ
   ========================================================= */

@media only screen and (min-width: 1025px) {

	/* Все категории находятся строго в одной строке */
	html body #page #header
	.header_bot
	ul#navigation.bot_nav {
		display: flex !important;
		align-items: center !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
	}

	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li {
		display: block !important;
		flex: 0 0 auto !important;
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		white-space: nowrap !important;
	}

	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li
	> a {
		position: relative !important;
		box-sizing: border-box !important;
		width: auto !important;
		white-space: nowrap !important;
	}

	/* Отдельное место справа для стрелок */
	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li.menu-item-has-children
	> a {
		padding-right: 12px !important;
	}

	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li.menu-item-has-children
	> a::before {
		position: absolute !important;
		top: 50% !important;
		right: 1px !important;
		width: 8px !important;
		height: 12px !important;
		margin: -6px 0 0 !important;
		padding: 0 !important;
		line-height: 12px !important;
		text-align: center !important;
		pointer-events: none !important;
	}

	/* Защита стрелки пункта «Все категории» */
	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li.idanny-mega-desktop-v2.menu-item-has-children:last-child
	> a.idanny-mega-desktop-v2__trigger {
		position: relative !important;
		padding-right: 12px !important;
	}

	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li.idanny-mega-desktop-v2.menu-item-has-children:last-child
	> a.idanny-mega-desktop-v2__trigger::before {
		right: 1px !important;
		width: 8px !important;
	}
}


/* Экраны ноутбуков до 1440px */
@media only screen and (min-width: 1025px) and (max-width: 1440px) {

	/* Совмещаем ряд категорий с краями баннера */
	html body #page #header
	.header_bot
	ul#navigation.bot_nav {
		box-sizing: border-box !important;
		width: calc(100% - 68px) !important;
		margin-right: 40px !important;
		margin-left: 28px !important;

		justify-content: space-between !important;
		column-gap: 0 !important;
	}

	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li
	> a {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Сохраняем место под стрелками */
	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li.menu-item-has-children
	> a {
		padding-left: 0 !important;
		padding-right: 12px !important;
	}

	/* «Все категории» у правого края */
	html body #page #header
	.header_bot
	ul#navigation.bot_nav
	> li.idanny-mega-desktop-v2.menu-item-has-children:last-child
	> a.idanny-mega-desktop-v2__trigger {
		padding-left: 0 !important;
		padding-right: 12px !important;
	}
}
/* =========================================================
   iDANNY — ФИНАЛЬНАЯ АДАПТАЦИЯ
   1. Компьютерная шапка
   2. Адаптивные цены
   3. Мобильные рекомендации в корзине
   ========================================================= */


/* =========================================================
   КОМПЬЮТЕРНАЯ ВЕРСИЯ — ШАПКА И ЦЕНЫ
   Мобильную версию не затрагивает
   ========================================================= */

@media only screen and (min-width: 1025px) {

	/* Независимое размещение элементов шапки */

	html body #page #header
	.header_mid
	.header_mid_inner {
		position: relative !important;
		box-sizing: border-box !important;
		height: 110px !important;
		min-height: 110px !important;
	}


	/* Логотип совпадает с левым краем баннера */

	html body #page #header
	.header_mid
	.header_mid_inner
	.logo_wrap {
		position: absolute !important;
		float: none !important;

		left: 48px !important;
		right: auto !important;
		top: 0 !important;
		bottom: auto !important;

		width: clamp(124px, 9.4vw, 132px) !important;
		height: 110px !important;

		margin: 0 !important;
		padding: 0 !important;

		z-index: 3 !important;
	}

	html body #page #header
	.header_mid
	.logo_wrap
	.logo
	img {
		position: absolute !important;

		left: 0 !important;
		right: auto !important;
		top: 0 !important;
		bottom: 0 !important;

		width: 100% !important;
		height: auto !important;
		max-width: none !important;
		max-height: calc(100% - 16px) !important;

		margin: auto 0 !important;

		object-fit: contain !important;
		object-position: left center !important;
	}


	/* Поиск всегда находится по центру */

	html body #page #header
	.header_mid
	.header_mid_inner
	.mid_search_but_wrap {
		position: absolute !important;
		float: none !important;

		left: 50% !important;
		right: auto !important;
		top: 0 !important;
		bottom: auto !important;

		width: min(540px, calc(100% - 390px)) !important;
		height: 110px !important;

		margin: 0 !important;
		padding: 0 !important;

		transform: translateX(-50%) !important;

		z-index: 2 !important;
	}


	/* Корзина закреплена справа */

	html body #page #header
	.header_mid
	.header_mid_inner
	.cmsmasters_dynamic_cart_wrap {
		position: absolute !important;
		float: none !important;

		left: auto !important;
		right: 20px !important;
		top: 0 !important;
		bottom: auto !important;

		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;

		width: 150px !important;
		max-width: 150px !important;
		height: 110px !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: visible !important;

		z-index: 10 !important;
	}

	html body #page #header
	.cmsmasters_dynamic_cart_wrap::after {
		display: none !important;
		content: none !important;
	}

	html body #page #header
	.cmsmasters_dynamic_cart_wrap
	.cmsmasters_dynamic_cart {
		position: relative !important;

		display: flex !important;
		align-items: center !important;

		width: 145px !important;
		height: 46px !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: visible !important;
	}


	/* Уменьшенная иконка корзины */

	html body #page #header
	.cmsmasters_dynamic_cart
	.cmsmasters_dynamic_cart_button {
		display: block !important;
		flex: 0 0 42px !important;
		float: none !important;

		width: 42px !important;
		height: 42px !important;

		margin: 0 8px 0 0 !important;
		padding: 0 !important;
	}

	html body #page #header
	.cmsmasters_dynamic_cart
	.cmsmasters_dynamic_cart_button
	.count_wrap {
		width: 42px !important;
		height: 42px !important;

		font-size: 42px !important;
		line-height: 42px !important;
	}

	html body #page #header
	.cmsmasters_dynamic_cart
	.cmsmasters_dynamic_cart_button
	.count {
		width: 18px !important;
		height: 18px !important;

		right: -4px !important;
		top: 0 !important;

		font-size: 9px !important;
		line-height: 18px !important;
	}


	/* Текст и сумма корзины */

	html body #page #header
	.cmsmasters_dynamic_cart
	.cmsmasters_cart_info {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: center !important;
		float: none !important;

		width: 95px !important;
		min-width: 0 !important;
		height: 46px !important;

		margin: 0 !important;
		padding: 0 !important;
	}

	html body #page #header
	.cmsmasters_dynamic_cart
	.cmsmasters_cart_info
	p {
		width: 100% !important;

		margin: 0 !important;
		padding: 0 !important;

		font-size: 11px !important;
		line-height: 16px !important;
		white-space: nowrap !important;
	}

	html body #page #header
	.cmsmasters_dynamic_cart
	.cmsmasters_subtotal_shop,

	html body #page #header
	.cmsmasters_dynamic_cart
	.cmsmasters_subtotal_shop
	.woocommerce-Price-amount {
		font-size: clamp(12px, 1vw, 14px) !important;
		font-weight: 500 !important;
		line-height: 17px !important;
		white-space: nowrap !important;
	}


	/* Выпадающую мини-корзину не обрезаем */

	html body #page #header
	.cmsmasters_dynamic_cart_wrap,

	html body #page #header
	.cmsmasters_dynamic_cart {
		overflow: visible !important;
	}


	/* Адаптивные цены в обычных карточках товаров */

	html body #page
	.cmsmasters_product
	.price,

	html body #page
	.cmsmasters_product
	.price
	.woocommerce-Price-amount {
		max-width: 100% !important;

		font-size: clamp(14px, 1.15vw, 18px) !important;
		font-weight: 700 !important;
		line-height: 1.12 !important;
		letter-spacing: -0.015em !important;

		white-space: nowrap !important;
	}

	html body #page
	.cmsmasters_product
	.price
	del,

	html body #page
	.cmsmasters_product
	.price
	del
	.woocommerce-Price-amount {
		font-size: clamp(10px, 0.76vw, 12px) !important;
		line-height: 1.05 !important;
	}

	html body #page
	.cmsmasters_product
	.price
	ins,

	html body #page
	.cmsmasters_product
	.price
	ins
	.woocommerce-Price-amount {
		font-size: clamp(14px, 1.15vw, 18px) !important;
		line-height: 1.12 !important;
		text-decoration: none !important;
	}
}


/* =========================================================
   МОБИЛЬНАЯ КОРЗИНА — РЕКОМЕНДУЕМЫЕ ТОВАРЫ
   Компьютерную версию не затрагивает
   ========================================================= */

@media only screen and (max-width: 767px) {

	/* Блок рекомендаций */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"] {
		box-sizing: border-box !important;

		width: 100% !important;
		max-width: 100% !important;

		margin: 20px 0 10px !important;
		padding: 0 !important;

		overflow: hidden !important;
	}


	/* Заголовок */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	> h2.wp-block-heading {
		margin: 0 14px 14px !important;
		padding: 0 !important;

		color: #17171c !important;
		font-size: 20px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		text-align: left !important;
	}


	/* Горизонтальная лента */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	ul.wc-block-product-template {
		display: flex !important;
		grid-template-columns: none !important;
		flex-flow: row nowrap !important;
		align-items: stretch !important;

		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;

		gap: 10px !important;

		margin: 0 !important;
		padding: 2px 14px 12px !important;

		list-style: none !important;

		overflow-x: auto !important;
		overflow-y: hidden !important;

		scroll-snap-type: x proximity !important;
		scroll-padding-left: 14px !important;
		scrollbar-width: none !important;

		-webkit-overflow-scrolling: touch !important;
		overscroll-behavior-x: contain !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	ul.wc-block-product-template::-webkit-scrollbar {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
	}


	/* Убираем серые точки */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	ul.wc-block-product-template::before,

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	ul.wc-block-product-template::after,

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	li.wc-block-product::before,

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	li.wc-block-product::after {
		display: none !important;
		content: none !important;
	}


	/* Отдельная карточка */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	li.wc-block-product {
		display: grid !important;

		grid-template-columns: minmax(0, 1fr) 36px !important;
		grid-template-rows: 128px 64px 38px !important;

		flex: 0 0 clamp(158px, calc((100vw - 38px) / 2), 184px) !important;
		float: none !important;

		box-sizing: border-box !important;

		width: clamp(158px, calc((100vw - 38px) / 2), 184px) !important;
		min-width: clamp(158px, calc((100vw - 38px) / 2), 184px) !important;
		max-width: clamp(158px, calc((100vw - 38px) / 2), 184px) !important;
		min-height: 264px !important;

		gap: 7px 6px !important;

		margin: 0 !important;
		padding: 10px !important;

		list-style: none !important;

		background: #ffffff !important;
		border: 1px solid #dfe2ea !important;
		border-radius: 14px !important;
		box-shadow: none !important;

		overflow: hidden !important;
		scroll-snap-align: start !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	li.wc-block-product::marker {
		display: none !important;
		content: "" !important;
	}


	/* Убираем «Распродажа» */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wp-block-woocommerce-product-sale-badge,

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-sale-badge,

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-sale-badge__text {
		display: none !important;
	}


	/* Изображение */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-image {
		display: flex !important;

		grid-column: 1 / -1 !important;
		grid-row: 1 !important;

		align-items: center !important;
		justify-content: center !important;

		width: 100% !important;
		height: 128px !important;

		margin: 0 !important;
		padding: 2px !important;

		background: #ffffff !important;
		border: 0 !important;

		overflow: hidden !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-image
	> a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		width: 100% !important;
		height: 100% !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-image
	img {
		display: block !important;

		width: 100% !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;

		margin: 0 !important;

		object-fit: contain !important;
		object-position: center !important;
	}


	/* Название — максимум четыре строки */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	h2.wp-block-post-title {
		display: block !important;

		grid-column: 1 / -1 !important;
		grid-row: 2 !important;

		width: 100% !important;
		height: 64px !important;

		margin: 0 !important;
		padding: 0 !important;

		font-size: 12px !important;
		font-weight: 500 !important;
		line-height: 16px !important;
		text-align: left !important;

		overflow: hidden !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	h2.wp-block-post-title
	a {
		display: -webkit-box !important;

		color: #17171c !important;
		font-size: 12px !important;
		font-weight: 500 !important;
		line-height: 16px !important;
		text-decoration: none !important;

		overflow: hidden !important;

		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 4 !important;
	}


	/* Цена */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wp-block-woocommerce-product-price {
		display: flex !important;

		grid-column: 1 !important;
		grid-row: 3 !important;

		align-items: flex-end !important;

		min-width: 0 !important;

		margin: 0 !important;
		padding: 0 !important;

		text-align: left !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-price {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-end !important;

		width: 100% !important;
		height: 38px !important;

		margin: 0 !important;
		padding: 0 !important;

		color: #17171c !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		line-height: 14px !important;
		text-align: left !important;
		white-space: nowrap !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-price
	del {
		display: block !important;

		margin: 0 0 2px !important;

		color: #8c8f98 !important;
		font-size: 9px !important;
		font-weight: 400 !important;
		line-height: 10px !important;
		white-space: nowrap !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-price
	ins {
		display: block !important;

		margin: 0 !important;

		color: #17171c !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		line-height: 14px !important;
		text-decoration: none !important;
		white-space: nowrap !important;
	}


	/* Фирменная кнопка корзины */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wp-block-woocommerce-product-button {
		display: block !important;

		grid-column: 2 !important;
		grid-row: 3 !important;
		align-self: end !important;

		width: 36px !important;
		height: 36px !important;

		margin: 0 !important;
		padding: 0 !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-button__button {
		position: relative !important;

		display: block !important;

		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;

		margin: 0 !important;
		padding: 0 !important;

		background: linear-gradient(
			135deg,
			#4368ff 0%,
			#7139ef 100%
		) !important;

		border: 0 !important;
		border-radius: 11px !important;

		box-shadow: 0 5px 12px rgba(91, 77, 245, 0.20) !important;

		font-size: 0 !important;
		line-height: 0 !important;

		overflow: hidden !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-button__button
	span {
		display: none !important;
	}


	/* Рисуем значок корзины без длинного SVG-кода */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-button__button::before {
		position: absolute !important;

		left: 9px !important;
		top: 9px !important;

		display: block !important;
		content: "" !important;

		width: 16px !important;
		height: 11px !important;

		border: 2px solid #ffffff !important;
		border-top: 0 !important;
		border-radius: 2px !important;

		transform: skew(-7deg) !important;
	}

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.wc-block-components-product-button__button::after {
		position: absolute !important;

		left: 9px !important;
		bottom: 4px !important;

		display: block !important;
		content: "••" !important;

		color: #ffffff !important;
		font-size: 10px !important;
		font-weight: 700 !important;
		line-height: 10px !important;
		letter-spacing: 5px !important;
	}


	/* Лишняя ссылка после добавления не показывается */

	html body.woocommerce-cart #page
	[data-collection="woocommerce/product-collection/cross-sells"]
	.added_to_cart.wc_forward {
		display: none !important;
	}
}
/* =========================================================
   DESKTOP: шапка строго в границах главного баннера
   ========================================================= */
@media screen and (min-width: 1025px) {

	/* Корзина — правая граница совпадает с границей баннера */
	html body #page #header
	.header_mid .header_mid_inner
	.cmsmasters_dynamic_cart_wrap {
		right: 48px !important;
	}

	/* Категории — от левой до правой границы баннера */
	html body #page #header
	.header_bot .header_bot_inner
	ul#navigation.bot_nav {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		flex-wrap: nowrap !important;

		width: calc(100% - 56px) !important;
		max-width: calc(100% - 56px) !important;

		margin-left: 28px !important;
		margin-right: 28px !important;
		padding: 0 !important;

		column-gap: 0 !important;
		box-sizing: border-box !important;
	}

	html body #page #header
	.header_bot .header_bot_inner
	ul#navigation.bot_nav > li {
		flex: 0 0 auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body #page #header
	.header_bot .header_bot_inner
	ul#navigation.bot_nav > li > a {
		display: flex !important;
		align-items: center !important;
		white-space: nowrap !important;
	}
}
/* =========================================================
   iDanny — контакты на странице
   ========================================================= */

.idanny-contact-lines {
	margin: 20px 0 42px;
}

.idanny-contact-lines p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.5;
}

.idanny-contact-lines strong {
	display: inline-block;
	min-width: 100px;
	color: #303039;
	font-weight: 700;
	font-style: italic;
}

.idanny-contact-lines em {
	font-weight: 700;
	font-style: italic;
}

.idanny-contact-lines a {
	color: #5264ff;
	font-weight: 600;
	text-decoration: none;
}

.idanny-contact-lines a:hover {
	color: #7439f3;
	text-decoration: underline;
}


/* =========================================================
   iDanny — подвал
   Старые ссылки слева, контакты справа
   ========================================================= */

@media screen and (min-width: 768px) {
	.bottom_inner {
		position: relative;
	}

	.bottom_inner #text-12 {
		float: left !important;
	}

	.bottom_inner .idanny-footer-contact-widget {
		float: right !important;
		width: 260px !important;
		margin-right: 12px !important;
		margin-left: auto !important;
		padding-bottom: 40px !important;
	}
}

.idanny-footer-contact-widget__title {
	margin: 0 0 13px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
	line-height: 1.4;
}

.idanny-footer-contact-widget__icons {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 13px;
}

.idanny-footer-contact-widget__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.idanny-footer-contact-widget__icon:hover {
	color: #ffffff;
	background: #6255ff;
	border-color: #6255ff;
}

.idanny-footer-contact-widget__icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.idanny-footer-contact-widget__phone {
	display: inline-block;
	color: rgba(255, 255, 255, 0.65);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
}

.idanny-footer-contact-widget__phone:hover {
	color: #ffffff;
}


/* =========================================================
   Мобильный подвал:
   навигация слева, блок связи справа внизу
   ========================================================= */

.idanny-footer-contact-widget__messengers {
	display: none !important;
}

@media screen and (max-width: 767px) {
	.bottom_bg .bottom_outer {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.bottom_bg .bottom_inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		align-items: end !important;
		gap: 20px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 30px 0 34px !important;
		box-sizing: border-box !important;
	}

	.bottom_inner #text-12 {
		grid-column: 1 !important;
		grid-row: 1 !important;
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.bottom_inner .idanny-footer-contact-widget {
		grid-column: 2 !important;
		grid-row: 1 !important;
		align-self: start !important;
		justify-self: end !important;
		float: none !important;
		width: auto !important;
		max-width: 170px !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: right !important;
		border: 0 !important;
	}

	/* На телефоне заголовок связи начинается на уровне «О компании». */
	.bottom_inner.idanny-footer-legal-host .idanny-footer-contact-widget {
		align-self: start !important;
	}

	/* Правовая строка находится непосредственно над копирайтом. */
	.bottom_inner.idanny-footer-legal-host .idanny-footer-legal-wrap {
		margin-top: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.idanny-footer-contact-widget__title {
		margin: 0 0 11px !important;
		text-align: right !important;
		font-size: 12px !important;
		white-space: nowrap !important;
	}

	.idanny-footer-contact-widget__icons {
		justify-content: flex-end !important;
		margin: 0 0 11px !important;
	}

	.idanny-footer-contact-widget__phone {
		font-size: 13px !important;
		white-space: nowrap !important;
	}
}
/* =========================================================
   iDanny — корзина только на мобильной версии
   ========================================================= */

@media screen and (max-width: 767px) {

	/* Основной контейнер корзины */
	body.woocommerce-cart .middle_inner,
	body.woocommerce-cart .content_wrap,
	body.woocommerce-cart .middle_content {
		box-sizing: border-box !important;
		max-width: 100% !important;
	}

	/*
	 * Пустая корзина:
	 * убираем грустную мордочку и точки.
	 */
	body.woocommerce-cart
	.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
		display: none !important;
	}

	body.woocommerce-cart
	.wp-block-woocommerce-empty-cart-block
	.wp-block-separator.is-style-dots {
		display: none !important;
	}

	body.idanny-cart-is-empty
	.headline_text .entry-title {
		font-size: 27px !important;
		line-height: 1.2 !important;
	}

	/* Кнопка «Вернуться на главную» */
	body.woocommerce-cart .idanny-empty-cart-home {
		margin: 24px 0 42px !important;
		padding: 0 18px !important;
	}

	body.woocommerce-cart .idanny-empty-cart-home a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 54px !important;
		box-sizing: border-box !important;
		color: #ffffff !important;
		font-size: 16px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		text-align: center !important;
		text-decoration: none !important;
		background: linear-gradient(
			135deg,
			#4168ff 0%,
			#7438f4 100%
		) !important;
		border: 0 !important;
		border-radius: 15px !important;
		box-shadow: 0 12px 28px rgba(91, 76, 255, 0.2) !important;
	}

	/* Заголовки рекомендаций */
	body.woocommerce-cart
	.wp-block-woocommerce-product-collection
	> .wp-block-heading,
	body.woocommerce-cart
	.wp-block-woocommerce-empty-cart-block
	> .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
		margin: 26px 0 18px !important;
		padding: 0 4px !important;
		color: #17171d !important;
		font-size: 23px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		text-align: left !important;
	}

	/*
	 * Карточки рекомендаций:
	 * строго по две в ряд.
	 */
	body.woocommerce-cart
	ul.wp-block-woocommerce-product-template,
	body.woocommerce-cart
	ul.wc-block-product-template {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
	}

	body.woocommerce-cart
	ul.wp-block-woocommerce-product-template
	> li.wc-block-product,
	body.woocommerce-cart
	ul.wc-block-product-template
	> li.wc-block-product {
		position: relative !important;
		display: flex !important;
		flex-direction: column !important;
		min-width: 0 !important;
		min-height: 338px !important;
		margin: 0 !important;
		padding: 10px 10px 62px !important;
		overflow: hidden !important;
		background: #ffffff !important;
		border: 1px solid #e0e2ec !important;
		border-radius: 17px !important;
		box-shadow: none !important;
	}

	/* Убираем «Распродажа» */
	body.woocommerce-cart
	.wp-block-woocommerce-product-sale-badge,
	body.woocommerce-cart
	.wc-block-components-product-sale-badge,
	body.woocommerce-cart
	.wc-block-grid__product-onsale,
	body.woocommerce-cart span.onsale {
		display: none !important;
	}

	/* Изображение */
	body.woocommerce-cart
	.wc-block-product
	.wp-block-woocommerce-product-image {
		width: 100% !important;
		margin: 0 0 9px !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wp-block-woocommerce-product-image a {
		display: block !important;
		width: 100% !important;
		aspect-ratio: 1 / 1 !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wp-block-woocommerce-product-image img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		object-fit: contain !important;
	}

	/* Название товара */
	body.woocommerce-cart
	.wc-block-product
	.wp-block-post-title {
		display: -webkit-box !important;
		min-height: 57px !important;
		margin: 0 !important;
		overflow: hidden !important;
		color: #16161c !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1.45 !important;
		text-align: left !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 3 !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wp-block-post-title a {
		color: inherit !important;
		font: inherit !important;
		text-decoration: none !important;
	}

	/* Цена */
	body.woocommerce-cart
	.wc-block-product
	.wp-block-woocommerce-product-price {
		position: absolute !important;
		right: 62px !important;
		bottom: 15px !important;
		left: 10px !important;
		margin: 0 !important;
		text-align: left !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wc-block-components-product-price {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 1px !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wc-block-components-product-price del {
		color: #9799a3 !important;
		font-size: 10px !important;
		font-weight: 400 !important;
		line-height: 1.1 !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wc-block-components-product-price ins {
		color: #15151b !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		text-decoration: none !important;
	}

	/* Кнопка-корзина как у стандартных карточек iDanny */
	body.woocommerce-cart
	.wc-block-product
	.wp-block-woocommerce-product-button {
		position: absolute !important;
		right: 10px !important;
		bottom: 10px !important;
		width: 44px !important;
		height: 44px !important;
		margin: 0 !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wc-block-components-product-button__button {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		color: #ffffff !important;
		background: linear-gradient(
			135deg,
			#4168ff 0%,
			#7438f4 100%
		) !important;
		border: 0 !important;
		border-radius: 13px !important;
		box-shadow: 0 8px 18px rgba(91, 76, 255, 0.2) !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wc-block-components-product-button__button > span {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0) !important;
		white-space: nowrap !important;
	}

	body.woocommerce-cart
	.wc-block-product
	.wc-block-components-product-button__button::before {
		content: "" !important;
		display: block !important;
		width: 23px !important;
		height: 23px !important;
		background-color: #ffffff !important;
		-webkit-mask:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.4 10.2a2 2 0 0 0 2 1.5h7.8a2 2 0 0 0 1.9-1.4L21 7H7M10 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2M18 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2M14 8v4M12 10h4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
			center / contain no-repeat !important;
		mask:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.4 10.2a2 2 0 0 0 2 1.5h7.8a2 2 0 0 0 1.9-1.4L21 7H7M10 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2M18 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2M14 8v4M12 10h4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
			center / contain no-repeat !important;
	}
}
/* Контакты: WhatsApp и Telegram — обычные фиолетовые ссылки */

body.page-id-15789 .idanny-contact-lines {
	display: block;
	margin: 28px 0 34px;
}

body.page-id-15789 .idanny-contact-lines .idanny-contact-line {
	margin: 0 0 18px;
}

body.page-id-15789 .idanny-contact-lines .idanny-contact-line--phone,
body.page-id-15789 .idanny-contact-lines .idanny-contact-line--email {
	display: flex;
	align-items: baseline;
	gap: 26px;
}

body.page-id-15789 .idanny-contact-lines .idanny-contact-line--phone strong,
body.page-id-15789 .idanny-contact-lines .idanny-contact-line--email strong {
	min-width: 78px;
}

/* WhatsApp и Telegram */
body.page-id-15789 .idanny-contact-lines a.idanny-contact-messenger-button {
	display: inline !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #654cff !important;
	font-size: inherit !important;
	font-weight: 700 !important;
	line-height: inherit !important;
	text-decoration: none !important;
	transform: none !important;
}

body.page-id-15789 .idanny-contact-lines a.idanny-contact-messenger-button:hover {
	color: #7b3ff2 !important;
	text-decoration: underline !important;
	background: none !important;
	box-shadow: none !important;
	transform: none !important;
}

body.page-id-15789 .idanny-contact-lines a.idanny-contact-messenger-button:focus-visible {
	outline: 2px solid #654cff !important;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	body.page-id-15789 .idanny-contact-lines .idanny-contact-line--phone,
	body.page-id-15789 .idanny-contact-lines .idanny-contact-line--email {
		gap: 12px;
	}
}
/* =========================================================
   ПУСТАЯ КОРЗИНА — МОБИЛЬНАЯ ВЕРСИЯ
   Новинки стандартными карточками по две в ряд
   ========================================================= */

@media only screen and (max-width: 767px) {

	/* Убираем декоративные точки и разделители */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wp-block-separator,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	hr,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.is-style-dots {
		display: none !important;
		visibility: hidden !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wp-block-separator::before,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wp-block-separator::after,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.is-style-dots::before,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.is-style-dots::after {
		display: none !important;
		content: none !important;
	}


	/* Заголовок «Новинки» */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	h2 {
		margin: 28px 0 16px !important;
		padding: 0 14px !important;

		color: #17171c !important;
		font-size: 21px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		text-align: left !important;
	}


	/* Сетка товаров — строго две карточки в ряд */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;

		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;

		margin: 0 !important;
		padding: 0 14px 20px !important;

		list-style: none !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__products::before,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__products::after {
		display: none !important;
		content: none !important;
	}


	/* Карточка товара */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 38px !important;
		grid-template-rows: 132px 68px 40px !important;
		gap: 8px 6px !important;

		float: none !important;
		clear: none !important;

		box-sizing: border-box !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		min-height: 270px !important;

		margin: 0 !important;
		padding: 10px !important;

		overflow: hidden !important;

		background: #ffffff !important;
		border: 1px solid #dfe2ea !important;
		border-radius: 14px !important;
		box-shadow: none !important;

		list-style: none !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product::before,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product::after {
		display: none !important;
		content: none !important;
	}


	/* Изображение */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-image {
		display: flex !important;
		grid-column: 1 / -1 !important;
		grid-row: 1 !important;

		align-items: center !important;
		justify-content: center !important;

		width: 100% !important;
		height: 132px !important;

		margin: 0 !important;
		padding: 3px !important;

		overflow: hidden !important;
		background: #ffffff !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-image a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		width: 100% !important;
		height: 100% !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-image img {
		display: block !important;

		width: 100% !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;

		margin: 0 !important;

		object-fit: contain !important;
		object-position: center !important;
	}


	/* Полностью убираем «Распродажа» */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-onsale,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-components-product-sale-badge,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wp-block-woocommerce-product-sale-badge {
		display: none !important;
		visibility: hidden !important;
	}


	/* Название товара */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-title {
		display: -webkit-box !important;
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;

		width: 100% !important;
		height: 68px !important;
		max-height: 68px !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: hidden !important;

		color: #17171c !important;
		font-size: 12px !important;
		font-weight: 500 !important;
		line-height: 16px !important;
		text-align: left !important;
		text-decoration: none !important;

		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 4 !important;
	}


	/* Цена */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-price {
		display: flex !important;
		grid-column: 1 !important;
		grid-row: 3 !important;

		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-end !important;
		align-self: end !important;

		min-width: 0 !important;
		height: 40px !important;

		margin: 0 !important;
		padding: 0 !important;

		color: #17171c !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		line-height: 14px !important;
		text-align: left !important;
		white-space: nowrap !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-price del {
		display: block !important;
		margin: 0 0 2px !important;

		color: #8c8f98 !important;
		font-size: 9px !important;
		font-weight: 400 !important;
		line-height: 11px !important;
		white-space: nowrap !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-price ins {
		display: block !important;
		margin: 0 !important;

		color: #17171c !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		line-height: 14px !important;
		text-decoration: none !important;
		white-space: nowrap !important;
	}


	/* Контейнер кнопки корзины */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-add-to-cart {
		display: block !important;
		grid-column: 2 !important;
		grid-row: 3 !important;

		align-self: end !important;

		width: 38px !important;
		height: 38px !important;

		margin: 0 !important;
		padding: 0 !important;
	}


	/* Фирменная квадратная кнопка корзины */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-add-to-cart
	.wp-block-button__link,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-add-to-cart
	.add_to_cart_button {
		display: block !important;

		box-sizing: border-box !important;
		width: 38px !important;
		min-width: 38px !important;
		max-width: 38px !important;
		height: 38px !important;
		min-height: 38px !important;
		max-height: 38px !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: hidden !important;

		border: 0 !important;
		border-radius: 11px !important;

		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.1a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E")
			center / 21px 21px no-repeat,
			linear-gradient(135deg, #436cff 0%, #7139f4 100%) !important;

		color: transparent !important;
		font-size: 0 !important;
		line-height: 0 !important;
		text-indent: -9999px !important;

		box-shadow: 0 7px 16px rgba(91, 72, 246, 0.2) !important;
	}


	/* Служебные сообщения кнопки не должны занимать место */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.added_to_cart {
		display: none !important;
	}
}
/* =========================================================
   МОБИЛЬНЫЕ ИСПРАВЛЕНИЯ
   1. Новинки как стандартные карточки
   2. Шапка всегда остаётся на экране
   3. Сине-фиолетовые ссылки блога
   ========================================================= */

@media only screen and (max-width: 767px) {

	/* =====================================================
	   1. ПУСТАЯ КОРЗИНА — НОВИНКИ ПО ДВЕ КАРТОЧКИ
	   ===================================================== */

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: stretch !important;
		gap: 12px 10px !important;

		box-sizing: border-box !important;
		width: calc(100vw - 28px) !important;
		max-width: calc(100vw - 28px) !important;

		margin: 0 0 20px 50% !important;
		padding: 0 !important;

		transform: translateX(-50%) !important;

		overflow: visible !important;
		list-style: none !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__products::before,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__products::after {
		display: none !important;
		content: none !important;
	}


	/* Карточка */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 36px !important;
		grid-template-rows: 150px minmax(0, 1fr) 36px !important;
		align-self: stretch !important;
		gap: 8px 6px !important;

		float: none !important;
		clear: none !important;

		box-sizing: border-box !important;

		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;

		height: 330px !important;
		min-height: 330px !important;
		max-height: 330px !important;

		margin: 0 !important;
		padding: 10px !important;

		overflow: hidden !important;

		background: #ffffff !important;
		border: 1px solid #c8cdd9 !important;
		border-radius: 12px !important;

		box-shadow:
			inset 0 0 0 1px rgba(200, 205, 217, 0.25) !important;

		list-style: none !important;
		transform: none !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product::before,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product::after {
		display: none !important;
		content: none !important;
	}


	/* Изображение */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-image {
		display: flex !important;
		grid-column: 1 / -1 !important;
		grid-row: 1 !important;

		align-items: center !important;
		justify-content: center !important;

		box-sizing: border-box !important;

		width: 100% !important;
		height: 150px !important;
		min-height: 150px !important;

		margin: 0 !important;
		padding: 10px 8px 5px !important;

		overflow: hidden !important;
		background: #ffffff !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-image a {
		display: flex !important;

		align-items: center !important;
		justify-content: center !important;

		width: 100% !important;
		height: 100% !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-image img {
		display: block !important;

		width: 100% !important;
		height: 100% !important;

		max-width: 100% !important;
		max-height: 100% !important;

		margin: 0 !important;

		object-fit: contain !important;
		object-position: center !important;
	}


	/* Название товара */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-title {
		display: -webkit-box !important;

		grid-column: 1 / -1 !important;
		grid-row: 2 !important;

		align-self: start !important;

		box-sizing: border-box !important;

		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		max-height: 80px !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: hidden !important;

		color: #17171c !important;

		font-size: 16px !important;
		font-weight: 500 !important;
		line-height: 20px !important;

		text-align: left !important;
		text-decoration: none !important;

		white-space: normal !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 4 !important;
		line-clamp: 4 !important;
	}


	/* Цена */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-price {
		display: flex !important;

		grid-column: 1 !important;
		grid-row: 3 !important;

		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: center !important;
		align-self: center !important;

		width: 100% !important;
		min-width: 0 !important;
		height: 36px !important;

		margin: 0 !important;
		padding: 0 !important;

		color: #17171c !important;

		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 15px !important;

		text-align: left !important;
		white-space: nowrap !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-price del {
		display: block !important;

		margin: 0 0 2px !important;

		color: #8c8f98 !important;

		font-size: 9px !important;
		font-weight: 400 !important;
		line-height: 11px !important;

		white-space: nowrap !important;
	}

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-price ins {
		display: block !important;

		margin: 0 !important;

		color: #17171c !important;

		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 15px !important;

		text-decoration: none !important;
		white-space: nowrap !important;
	}


	/* Контейнер кнопки корзины */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-add-to-cart {
		display: block !important;

		grid-column: 2 !important;
		grid-row: 3 !important;

		align-self: center !important;

		width: 36px !important;
		height: 36px !important;

		margin: 0 !important;
		padding: 0 !important;
	}


	/* Кнопка корзины как на стандартных карточках */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-add-to-cart
	.wp-block-button__link,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-add-to-cart
	.add_to_cart_button {
		display: block !important;

		box-sizing: border-box !important;

		width: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;

		height: 36px !important;
		min-height: 36px !important;
		max-height: 36px !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: hidden !important;

		border: 0 !important;
		border-radius: 10px !important;

		background-color: #625cff !important;

		background-image:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5h2l1.9 8.2a2 2 0 0 0 2 1.6h7.5a2 2 0 0 0 2-1.6L20 7.2H7'/%3E%3Cpath d='M11.8 8.2v4M9.8 10.2h4'/%3E%3Ccircle cx='10' cy='18.5' r='1.25'/%3E%3Ccircle cx='17' cy='18.5' r='1.25'/%3E%3C/svg%3E") !important;

		background-repeat: no-repeat !important;
		background-position: center !important;
		background-size: 23px 23px !important;

		color: transparent !important;

		font-size: 0 !important;
		line-height: 0 !important;

		text-indent: -9999px !important;

		box-shadow: none !important;
		transform: none !important;
	}


	/* Убираем «Распродажа», точки и разделители */
	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-grid__product-onsale,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wc-block-components-product-sale-badge,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wp-block-woocommerce-product-sale-badge,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.wp-block-separator,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.is-style-dots,

	html body.woocommerce-cart #page
	.wp-block-woocommerce-empty-cart-block
	.added_to_cart {
		display: none !important;
		visibility: hidden !important;

		width: 0 !important;
		height: 0 !important;

		margin: 0 !important;
		padding: 0 !important;
	}


	/* =====================================================
	   2. МОБИЛЬНАЯ ШАПКА — ВСЕГДА НА ЭКРАНЕ
	   ===================================================== */

	/* Освобождаем место под фиксированную шапку */
	html body #page {
		padding-top: 78px !important;
	}


	/* Фиксируем шапку относительно экрана */
	html body #header {
		display: block !important;

		position: fixed !important;

		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: auto !important;

		width: 100% !important;
		max-width: 100vw !important;

		height: 78px !important;
		min-height: 78px !important;
		max-height: 78px !important;

		margin: 0 !important;
		padding: 0 !important;

		z-index: 99999 !important;

		transform: none !important;
		transition: none !important;
	}


	/* Фон и тень фиксированной шапки */
	html body #header .header_mid,
	html body #header .header_mid_outer {
		width: 100% !important;

		height: 78px !important;
		min-height: 78px !important;
		max-height: 78px !important;

		margin: 0 !important;
		padding: 0 !important;

		background: rgba(255, 255, 255, 0.97) !important;

		box-shadow:
			0 7px 22px rgba(21, 25, 40, 0.08) !important;

		-webkit-backdrop-filter: blur(12px) !important;
		backdrop-filter: blur(12px) !important;
	}


	/* Внутренняя строка шапки */
	html body #header .header_mid_inner {
		height: 78px !important;
		min-height: 78px !important;
		max-height: 78px !important;
	}


	/* Убираем любые изменения шапки при прокрутке */
	html body #header.fixed_header,
	html body #header.navi_scrolled,
	html body #header.small_header {
		position: fixed !important;

		top: 0 !important;

		height: 78px !important;
		min-height: 78px !important;
		max-height: 78px !important;

		transform: none !important;
	}


	/* Сайт с открытой панелью администратора */
	html body.admin-bar #header,
	html body.admin-bar #header.fixed_header,
	html body.admin-bar #header.navi_scrolled,
	html body.admin-bar #header.small_header {
		top: 46px !important;
	}


	/* Мобильное меню открывается под шапкой */
	html body #header
	.mid_nav_wrap:has(nav[style*="display: block"]),

	html body #header
	.mid_nav_wrap:has(nav[style*="display:block"]) {
		position: fixed !important;

		top: 78px !important;
		left: 0 !important;
		right: 0 !important;

		width: 100% !important;
		height: auto !important;
		max-height: calc(100dvh - 78px) !important;

		overflow-x: hidden !important;
		overflow-y: auto !important;

		background: #ffffff !important;

		z-index: 100000 !important;
	}


	/* Меню с открытой админ-панелью */
	html body.admin-bar #header
	.mid_nav_wrap:has(nav[style*="display: block"]),

	html body.admin-bar #header
	.mid_nav_wrap:has(nav[style*="display:block"]) {
		top: 124px !important;
		max-height: calc(100dvh - 124px) !important;
	}


	/* =====================================================
	   3. ССЫЛКИ БЛОГА — СИНЕ-ФИОЛЕТОВЫЕ
	   ===================================================== */

	/* Верхняя ссылка «Все статьи →» */
	#idanny-home .idanny-home-blog__heading > a {
		color: #625cff !important;

		background-image:
			linear-gradient(
				100deg,
				#1689ff 0%,
				#7139f4 100%
			) !important;

		background-clip: text !important;
		-webkit-background-clip: text !important;
		-webkit-text-fill-color: transparent !important;

		font-weight: 700 !important;
		text-decoration: none !important;
	}


	/* Нижняя кнопка «Смотреть все статьи» */
	#idanny-home .idanny-home-blog__all {
		box-sizing: border-box !important;

		border: 1px solid transparent !important;
		border-radius: 13px !important;

		background:
			linear-gradient(
				#ffffff,
				#ffffff
			) padding-box,

			linear-gradient(
				100deg,
				#1689ff 0%,
				#7139f4 100%
			) border-box !important;

		color: #625cff !important;

		font-weight: 700 !important;
		text-decoration: none !important;

		box-shadow: none !important;
	}


	#idanny-home .idanny-home-blog__all:hover,
	#idanny-home .idanny-home-blog__all:focus {
		color: #7139f4 !important;

		background:
			linear-gradient(
				#f9f8ff,
				#f9f8ff
			) padding-box,

			linear-gradient(
				100deg,
				#1689ff 0%,
				#7139f4 100%
			) border-box !important;
	}
}
/* =========================================================
   iDanny — восстановление полного мобильного каталога
   Добавить в самый конец style.css.
   ========================================================= */

@media only screen and (max-width: 768px) {
	/* Блокируем страницу, но разрешаем прокрутку самого каталога. */
	html.idanny-mobile-menu-open,
	body.idanny-mobile-menu-open {
		overflow: hidden !important;
	}

	/*
	 * Шапка остаётся высотой 78px, но больше не обрезает каталог,
	 * который расположен внутри неё.
	 */
	body.idanny-mobile-menu-open #header,
	body.idanny-mobile-menu-open #header .header_mid,
	body.idanny-mobile-menu-open #header .header_mid_outer,
	body.idanny-mobile-menu-open #header .header_mid_inner {
		overflow: visible !important;
	}

	/* Полноценная белая панель каталога под закреплённой шапкой. */
	body.idanny-mobile-menu-open #header .mid_nav_wrap,
	body.home.idanny-mobile-menu-open #header .mid_nav_wrap {
		display: block !important;
		position: absolute !important;
		top: 78px !important;
		left: 0 !important;
		right: auto !important;
		bottom: auto !important;
		z-index: 2147483646 !important;

		box-sizing: border-box !important;
		width: 100vw !important;
		min-width: 100vw !important;
		max-width: 100vw !important;
		height: calc(100dvh - 78px) !important;
		min-height: calc(100dvh - 78px) !important;
		max-height: calc(100dvh - 78px) !important;

		margin: 0 !important;
		padding: 14px 18px 34px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;

		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		background: #ffffff !important;
		box-shadow: 0 12px 28px rgba(24, 24, 35, 0.14) !important;
	}

	/* Devicer не должен оставлять внутренний nav свёрнутым. */
	body.idanny-mobile-menu-open #header .mid_nav_wrap > nav,
	body.idanny-mobile-menu-open #header .mid_nav_wrap .navigation,
	body.idanny-mobile-menu-open #header .mid_nav_wrap #navigation_mid {
		display: block !important;
		box-sizing: border-box !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Показываем все пункты первого уровня, а не только первый. */
	body.idanny-mobile-menu-open #header #navigation_mid > li {
		display: block !important;
		position: relative !important;
		float: none !important;
		clear: both !important;
		box-sizing: border-box !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Обычная ровная строка категории. */
	body.idanny-mobile-menu-open #header #navigation_mid > li > a {
		display: flex !important;
		position: relative !important;
		box-sizing: border-box !important;
		width: 100% !important;
		height: auto !important;
		min-height: 48px !important;
		margin: 0 !important;
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		align-items: center !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Админ-панель уже сдвигает саму шапку; каталог остаётся под ней. */
	body.admin-bar.idanny-mobile-menu-open #header .mid_nav_wrap {
		top: 78px !important;
		height: calc(100dvh - 124px) !important;
		min-height: calc(100dvh - 124px) !important;
		max-height: calc(100dvh - 124px) !important;
	}
}
/* Мобильное меню — все стрелки на одной вертикали */
@media only screen and (max-width: 768px) {

	body.idanny-mobile-menu-open #header
	#navigation_mid > li > a,
	body.idanny-mobile-menu-open #header
	#navigation_mid > li > a > .nav_item_wrap {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.idanny-mobile-menu-open #header
	#navigation_mid > li.menu-item-has-children > a {
		position: relative !important;
		padding-right: 42px !important;
	}

	/* Стрелки обычных категорий */
	body.idanny-mobile-menu-open #header
	#navigation_mid > li.menu-item-has-children > a::before {
		position: absolute !important;
		top: 50% !important;
		right: 14px !important;
		left: auto !important;
		margin: 0 !important;
		transform: translateY(-50%) !important;
		pointer-events: none !important;
	}

	/* Стрелка «Все категории» */
	body.idanny-mobile-menu-open #header
	#navigation_mid > li.idanny-mega-desktop-v2
	> a.idanny-mega-desktop-v2__trigger {
		position: relative !important;
		padding-right: 42px !important;
	}

	body.idanny-mobile-menu-open #header
	#navigation_mid > li.idanny-mega-desktop-v2
	> a.idanny-mega-desktop-v2__trigger::after {
		position: absolute !important;
		top: 50% !important;
		right: 14px !important;
		left: auto !important;
		margin: 0 !important;
		transform: translateY(-50%) rotate(45deg) !important;
		pointer-events: none !important;
	}

	body.idanny-mobile-menu-open #header
	#navigation_mid > li.idanny-mega-desktop-v2.is-open
	> a.idanny-mega-desktop-v2__trigger::after {
		transform: translateY(-50%) rotate(-135deg) !important;
	}
}
/* Мобильное меню: стрелка «Все категории» на линии остальных */
@media only screen and (max-width: 768px) {
	html body #page #header
	.mid_nav_wrap
	li.idanny-mega-desktop-v2
	> a.idanny-mega-desktop-v2__trigger::after {
		left: auto !important;
		right: 48px !important;
	}
}
/* =========================================================
   МОБИЛЬНАЯ КАРТОЧКА ТОВАРА:
   скругление главного изображения + 4 миниатюры в один ряд
   ========================================================= */

@media only screen and (max-width: 767px) {

	/* Вся область главного изображения */
	html body.single-product
	.woocommerce-product-gallery {
		overflow: visible !important;
	}

	html body.single-product
	.woocommerce-product-gallery__wrapper {
		overflow: hidden !important;
		border-radius: 20px !important;
		-webkit-border-radius: 20px !important;
	}

	/* Каждый слайд главной галереи */
	html body.single-product
	.woocommerce-product-gallery__image {
		overflow: hidden !important;
		border-radius: 20px !important;
		-webkit-border-radius: 20px !important;
		background: #ffffff !important;
	}

	/* Само главное изображение */
	html body.single-product
	.woocommerce-product-gallery__image > a,
	html body.single-product
	.woocommerce-product-gallery__image > a > img,
	html body.single-product
	.woocommerce-product-gallery__image > img {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: hidden !important;
		border-radius: 20px !important;
		-webkit-border-radius: 20px !important;
	}


}
/* =========================================================
   МОБИЛЬНАЯ КАРТОЧКА ТОВАРА — ФИНАЛЬНЫЕ ИСПРАВЛЕНИЯ
   ========================================================= */
@media only screen and (max-width: 767px) {

	/* Полностью скрываем блок:
	   Доставка / Гарантия / Возврат */
	html body.single-product #page
	.idanny-product-infobar {
		display: none !important;
		visibility: hidden !important;
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		overflow: hidden !important;
	}

	/* Уменьшаем пустоту между шапкой и хлебными крошками */
	html body.single-product #page #middle,
	html body.single-product #page #middle .middle_inner,
	html body.single-product #page #middle .content_wrap,
	html body.single-product #page #middle .content {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	/* Небольшой аккуратный отступ после шапки */
	html body.single-product #page
	.cmsmasters_single_product {
		margin-top: 0 !important;
		padding-top: 12px !important;
	}

	/* Убираем лишние отступы самих хлебных крошек */
	html body.single-product #page
	.cmsmasters_single_product
	> .cmsmasters_breadcrumbs {
		margin: 0 0 14px !important;
		padding: 0 !important;
	}
}
/* МОБИЛЬНАЯ ГАЛЕРЕЯ: 4 МИНИАТЮРЫ В ОДИН РЯД */
@media only screen and (max-width: 767px) {

    html body.single-product #page
    .woocommerce-product-gallery
    ol.flex-control-nav.flex-control-thumbs {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 20px !important;
        padding: 0 !important;
        overflow: visible !important;
        list-style: none !important;
    }

    html body.single-product #page
    .woocommerce-product-gallery
    ol.flex-control-nav.flex-control-thumbs > li {
        display: block !important;
        float: none !important;
        clear: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    html body.single-product #page
    .woocommerce-product-gallery
    ol.flex-control-nav.flex-control-thumbs > li img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
        border: 1px solid #d9dbe4 !important;
        border-radius: 12px !important;
    }
}
/* МОБИЛЬНАЯ ГАЛЕРЕЯ YITH: 4 ДОПОЛНИТЕЛЬНЫЕ МИНИАТЮРЫ В ОДИН РЯД */
@media only screen and (max-width: 767px) {

	html body.single-product
	.cmsmasters_product_left_column
	.images
	.thumbnails.slider {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		margin: 10px 0 0 !important;
		padding: 0 !important;
		overflow: visible !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images
	.thumbnails.slider
	.caroufredsel_wrapper {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		position: static !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images
	ul.yith_magnifier_gallery {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 8px !important;
		position: static !important;
		inset: auto !important;
		transform: none !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
	}

	/* Первая миниатюра повторяет главное изображение — скрываем её */
	html body.single-product
	.cmsmasters_product_left_column
	.images
	ul.yith_magnifier_gallery
	> li:first-child {
		display: none !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images
	ul.yith_magnifier_gallery
	> li:not(:first-child) {
		display: block !important;
		float: none !important;
		position: static !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images
	ul.yith_magnifier_gallery
	> li:not(:first-child)
	> a {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 1 / 1 !important;
		margin: 0 !important;
		padding: 4px !important;
		border: 1px solid #d9dce5 !important;
		border-radius: 12px !important;
		background: #fff !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images
	ul.yith_magnifier_gallery
	> li:not(:first-child)
	img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		object-fit: contain !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images
	#slider-prev,

	html body.single-product
	.cmsmasters_product_left_column
	.images
	#slider-next {
		display: none !important;
	}
}
/* МОБИЛЬНАЯ ГАЛЕРЕЯ CMSMASTERS: 4 МИНИАТЮРЫ В ОДИН РЯД */
@media only screen and (max-width: 767px) {

	html body.single-product
	.cmsmasters_product_left_column
	.images.cmsmasters_product_images
	> .thumbnails.cmsmasters_product_thumbs {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 10px 0 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		box-sizing: border-box !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images.cmsmasters_product_images
	> .thumbnails.cmsmasters_product_thumbs
	> a.cmsmasters_product_thumb {
		display: block !important;
		float: none !important;
		clear: none !important;
		position: static !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: auto !important;
		aspect-ratio: 1 / 1 !important;
		margin: 0 !important;
		padding: 4px !important;
		border: 1px solid #d9dce5 !important;
		border-radius: 12px !important;
		background: #fff !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	html body.single-product
	.cmsmasters_product_left_column
	.images.cmsmasters_product_images
	> .thumbnails.cmsmasters_product_thumbs
	> a.cmsmasters_product_thumb
	> img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		object-fit: contain !important;
		box-sizing: border-box !important;
	}
}
/* =========================================================
   ЕДИНОЕ ОФОРМЛЕНИЕ ОПЦИЙ ВСЕХ ТОВАРОВ — КАК У iMAC 24
   ========================================================= */

body.single-product .wpclv-attributes-single,
body.single-product .idanny-imac-variants,
body.single-product .idanny-oura-variants {
	display: block !important;
	width: 100% !important;
	margin: 14px 0 12px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Варианты Oura идут после названия и короткого описания. */
body.single-product
.summary.entry-summary.cmsmasters_product_right_column
> .idanny-oura-variants {
	order: 3 !important;
}

/* Один блок параметра */
body.single-product .wpclv-attribute,
body.single-product .idanny-imac-variant,
body.single-product .idanny-oura-variant {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

/* Названия параметров */
body.single-product .wpclv-attribute-label,
body.single-product .idanny-imac-variant-label,
body.single-product .idanny-oura-variant-label {
	display: block !important;
	height: auto !important;
	margin: 0 0 7px !important;
	padding: 0 !important;
	color: #29292d !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 20px !important;
}

/* Контейнеры кнопок */
body.single-product .wpclv-terms,
body.single-product .idanny-imac-variant-options,
body.single-product .idanny-oura-variant-options,
body.single-product .sim-radio-options {
	display: flex !important;
	flex-flow: row wrap !important;
	align-items: center !important;
	gap: 7px !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

/* Обычные кнопки WPCLV: память, размер, SIM, процессор и прочие */
body.single-product
.wpclv-attribute:not(.wpclv-attribute-pa_color)
.wpclv-term-button,

body.single-product .idanny-imac-option,
body.single-product .idanny-oura-size-option,
body.single-product .sim-radio-options label {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 48px !important;
	max-width: 100% !important;
	height: 36px !important;
	min-height: 36px !important;
	margin: 0 !important;
	padding: 0 11px !important;
	border: 1px solid #d9dce3 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #29292d !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	transform: none !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition:
		border-color .15s,
		box-shadow .15s,
		color .15s,
		background .15s !important;
}

/* Текст или ссылка внутри кнопки */
body.single-product
.wpclv-attribute:not(.wpclv-attribute-pa_color)
.wpclv-term-button > a,

body.single-product
.wpclv-attribute:not(.wpclv-attribute-pa_color)
.wpclv-term-button > span {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font: inherit !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

/* Наведение */
body.single-product
.wpclv-attribute:not(.wpclv-attribute-pa_color)
.wpclv-term-button:not(.active):hover,

body.single-product a.idanny-imac-option:hover,
body.single-product a.idanny-oura-size-option:hover,
body.single-product .sim-radio-options label:hover {
	border-color: #7457ff !important;
	color: #7457ff !important;
	background: #fff !important;
}

/* Выбранная обычная опция */
body.single-product
.wpclv-attribute:not(.wpclv-attribute-pa_color)
.wpclv-term-button.active,

body.single-product .idanny-imac-option.active,
body.single-product .idanny-oura-size-option.active,
body.single-product
.sim-radio-options input:checked + label {
	border: 2px solid #5f58ef !important;
	background: #fff !important;
	color: #302e74 !important;
	box-shadow: 0 0 0 1px rgba(95, 88, 239, .08) !important;
	font-weight: 700 !important;
}

/* Скрываем стандартные radio в SIM, оставляем красивые кнопки */
body.single-product .sim-radio-options input[type="radio"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Контейнер цветовых значков */
body.single-product
.wpclv-attribute-pa_color
.wpclv-terms,

body.single-product
.idanny-imac-variant-color
.idanny-imac-variant-options,

body.single-product
.idanny-oura-variant-color
.idanny-oura-variant-options {
	gap: 12px !important;
}

/* Круглые цветовые значки */
body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button,

body.single-product .idanny-imac-color-option,
body.single-product .idanny-oura-color-option {
	display: block !important;
	flex: 0 0 32px !important;
	width: 32px !important;
	min-width: 32px !important;
	max-width: 32px !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 3px solid #fff !important;
	border-radius: 50% !important;
	background-color: var(--swatch-color, #8b8b8b) !important;
	background-image: none !important;
	box-shadow: 0 0 0 1px #bfc2c9 !important;
	text-decoration: none !important;
	transform: none !important;
	overflow: hidden !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition: transform .15s, box-shadow .15s !important;
}

/* Цвет iMac */
body.single-product .idanny-imac-color-option {
	background-color:
		var(--idanny-imac-swatch, #8b8b8b) !important;
}

/* Цвет Oura */
body.single-product .idanny-oura-color-option {
	background-color:
		var(--idanny-oura-swatch, #8b8b8b) !important;
}

/* Внутренний элемент WPCLV полностью заполняет кружок */
body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button > a,

body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button > span {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background-color: var(--swatch-color, #8b8b8b) !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: -9999px !important;
	overflow: hidden !important;
}

/* Наведение и выбранный цвет */
body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button:hover,

body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button.active,

body.single-product .idanny-imac-color-option:hover,
body.single-product .idanny-imac-color-option.active,
body.single-product .idanny-oura-color-option:hover,
body.single-product .idanny-oura-color-option.active {
	border: 3px solid #fff !important;
	box-shadow: 0 0 0 2px #7457ff !important;
	transform: scale(1.06) !important;
}

/* =========================================================
   OURA — ФИЛЬТР В ЛЕВОЙ КОЛОНКЕ КАК У IPHONE
   ========================================================= */
body.idanny-oura-archive #idanny-oura-filter,
body.idanny-oura-archive #idanny-oura-filter * {
	box-sizing: border-box !important;
}

body.idanny-oura-archive #idanny-oura-filter {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__field {
	width: 100% !important;
	margin: 0 0 28px !important;
	padding: 0 !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__label {
	display: block !important;
	margin: 0 0 14px !important;
	padding: 0 0 12px !important;
	border-bottom: 1px solid #ededed !important;
	color: #222 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__links {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__model {
	display: block !important;
	padding: 7px 0 !important;
	color: #252525 !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__model:hover,
body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__model.is-active {
	color: #5146d9 !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__model.is-active {
	font-weight: 600 !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__buttons {
	display: flex !important;
	flex-flow: row wrap !important;
	gap: 8px !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 58px !important;
	height: 38px !important;
	padding: 0 14px !important;
	border: 1px solid #d9d9df !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: #252525 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__button:hover {
	border-color: #6254e8 !important;
	color: #5146d9 !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__button.is-active {
	border-color: transparent !important;
	background: linear-gradient(135deg, #1769ff 0%, #4548f5 48%, #7b35e8 100%) !important;
	color: #fff !important;
	box-shadow: 0 5px 14px rgba(69, 72, 245, .24) !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__colors {
	display: flex !important;
	flex-flow: row wrap !important;
	gap: 12px !important;
	padding: 2px 0 4px !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__color {
	display: block !important;
	width: 27px !important;
	height: 27px !important;
	border: 1px solid rgba(0, 0, 0, .16) !important;
	border-radius: 50% !important;
	background: var(--idanny-oura-swatch, #d0d0d0) !important;
	box-shadow: none !important;
}

body.idanny-oura-archive #idanny-oura-filter .idanny-oura-filter__color.is-active {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6254e8 !important;
}

/* Цвет без назначенного HEX — заметная нейтральная заглушка */
body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button.ics-no-color,
body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button.ics-no-color > a,
body.single-product
.wpclv-attribute-pa_color
.wpclv-term-button.ics-no-color > span {
	background:
		repeating-linear-gradient(
			45deg,
			#eeeeee,
			#eeeeee 4px,
			#ffffff 4px,
			#ffffff 8px
		) !important;
}

/* На телефоне опции не обрезаются */
@media only screen and (max-width: 767px) {

	body.single-product .summary,
	body.single-product .wpclv-attributes,
	body.single-product .wpclv-attribute,
	body.single-product .wpclv-terms,
	body.single-product .idanny-imac-variants,
	body.single-product .idanny-imac-variant-options,
	body.single-product .idanny-oura-variants,
	body.single-product .idanny-oura-variant-options {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	body.single-product
	.wpclv-attribute:not(.wpclv-attribute-pa_color)
	.wpclv-term-button,

	body.single-product .idanny-imac-option,
	body.single-product .idanny-oura-size-option,
	body.single-product .sim-radio-options label {
		min-width: 48px !important;
		height: 36px !important;
		padding: 0 10px !important;
		font-size: 14px !important;
	}
}
/* КРАТКОЕ ОПИСАНИЕ: 2 СТРОКИ, ПОСЛЕ "ПОДРОБНЕЕ" — ВЕСЬ ТЕКСТ */
@media only screen and (max-width: 767px) {

	/* Свёрнутое состояние — ровно первые две строки */
	html body.single-product
	.summary.entry-summary
	.woocommerce-product-details__short-description.idanny-compact-description:not(.is-expanded) {
		display: -webkit-box !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		width: 100% !important;
		height: auto !important;
		max-height: 42px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		font-size: 14px !important;
		line-height: 21px !important;
	}

	html body.single-product
	.summary.entry-summary
	.woocommerce-product-details__short-description.idanny-compact-description:not(.is-expanded)
	> * {
		margin: 0 !important;
		padding: 0 !important;
		font-size: inherit !important;
		line-height: inherit !important;
	}

	/* Развёрнутое состояние — полностью весь текст */
	html body.single-product
	.summary.entry-summary
	.woocommerce-product-details__short-description.idanny-compact-description.is-expanded {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		-webkit-box-orient: initial !important;
		-webkit-line-clamp: unset !important;
		line-clamp: unset !important;
		font-size: 14px !important;
		line-height: 21px !important;
	}

	html body.single-product
	.summary.entry-summary
	.woocommerce-product-details__short-description.idanny-compact-description.is-expanded
	> * {
		display: block !important;
		height: auto !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		-webkit-line-clamp: unset !important;
		line-clamp: unset !important;
		font-size: inherit !important;
		line-height: inherit !important;
	}
}
/* MacBook: переименовываем только отображение внутри опций */

/* «Модель Macbook» → «Диагональ» */
body.single-product
.wpclv-attribute-pa_model-macbook
> .wpclv-attribute-label {
	font-size: 0 !important;
}

body.single-product
.wpclv-attribute-pa_model-macbook
> .wpclv-attribute-label::after {
	content: "Диагональ" !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 20px !important;
	color: #29292d !important;
}

/* Скрываем исходный текст только внутри двух кнопок */
body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 14"']
> a,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 14"']
> span,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 16"']
> a,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 16"']
> span {
	font-size: 0 !important;
}

/* MacBook Pro 14" → 14″ */
body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 14"']
> a::after,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 14"']
> span::after {
	content: "14″" !important;
	font-size: 14px !important;
	font-weight: inherit !important;
	line-height: 1 !important;
	color: inherit !important;
}

/* MacBook Pro 16" → 16″ */
body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 16"']
> a::after,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-attribute
.wpclv-term-button[aria-label='Macbook Pro 16"']
> span::after {
	content: "16″" !important;
	font-size: 14px !important;
	font-weight: inherit !important;
	line-height: 1 !important;
	color: inherit !important;
}
/* MacBook: на компьютере и телефоне показываем только «Диагональ» */
html body.single-product
.summary.entry-summary
.wpclv-attribute.wpclv-attribute-pa_model-macbook
> .wpclv-attribute-label {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: 20px !important;
	margin: 0 0 7px !important;
	padding: 0 !important;
	overflow: hidden !important;
	text-indent: -9999px !important;
	white-space: nowrap !important;
}

html body.single-product
.summary.entry-summary
.wpclv-attribute.wpclv-attribute-pa_model-macbook
> .wpclv-attribute-label::after {
	content: "Диагональ" !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #29292d !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 20px !important;
	text-indent: 0 !important;
	white-space: nowrap !important;
}
/* MacBook: принудительно заменяем текст первой и второй кнопки */

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(1)
> a,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(1)
> span,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(2)
> a,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(2)
> span {
	font-size: 0 !important;
}

/* Первая кнопка */
body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(1)
> a::after,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(1)
> span::after {
	content: "14″" !important;
	display: block !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: inherit !important;
}

/* Вторая кнопка */
body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(2)
> a::after,

body.single-product
.wpclv-attribute-pa_model-macbook
.wpclv-terms
> .wpclv-term-button:nth-child(2)
> span::after {
	content: "16″" !important;
	display: block !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: inherit !important;
}
/* =========================================================
   МОБИЛЬНЫЕ «ПОХОЖИЕ»: ДВЕ КАРТОЧКИ В РЯД
   ========================================================= */
@media only screen and (max-width: 767px) {

	/* Сам блок */
	html body.single-product #page
	section.related.products {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 40px 0 0 !important;
		padding: 0 !important;
		overflow: visible !important;
	}

	html body.single-product #page
	section.related.products > h2 {
		display: block !important;
		width: 100% !important;
		margin: 0 0 24px !important;
		padding: 0 !important;
		font-size: 30px !important;
		font-weight: 700 !important;
		line-height: 1.15 !important;
	}

	/* Строго две колонки */
	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		overflow: visible !important;
	}

	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products::before,

	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products::after {
		display: none !important;
		content: none !important;
	}

	/* Убираем штатную ширину Devicer */
	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products
	> li.product,

	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products
	> li.product:nth-child(n) {
		display: flex !important;
		align-self: stretch !important;
		float: none !important;
		clear: none !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	/* Карточка */
	html body.single-product #page
	section.related.products
	.cmsmasters_product {
		display: flex !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_wrapper_border,

	html body.single-product #page
	section.related.products
	.cmsmasters_product:hover
	.cmsmasters_product_wrapper_border {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 330px !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		border: 1px solid #c8cdd9 !important;
		border-radius: 12px !important;
		background: #fff !important;
		box-shadow:
			inset 0 0 0 1px rgba(200, 205, 217, .25) !important;
		transform: none !important;
		box-sizing: border-box !important;
	}

	/* Изображение */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_img {
		display: flex !important;
		flex: 0 0 145px !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 145px !important;
		min-height: 145px !important;
		margin: 0 !important;
		padding: 10px 8px 5px !important;
		overflow: hidden !important;
		background: #fff !important;
		box-sizing: border-box !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_img > a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 100% !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_img img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		object-fit: contain !important;
		object-position: center !important;
	}

	/* Текстовая часть */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_inner {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 10px 10px 11px !important;
		text-align: left !important;
		box-sizing: border-box !important;
	}

	/* Категории над названием скрываем */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_cat {
		display: none !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_header {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Название товара */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_title {
		display: block !important;
		width: 100% !important;
		min-height: 0 !important;
		max-height: 80px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		font-size: 16px !important;
		font-weight: 500 !important;
		line-height: 20px !important;
		text-align: left !important;
		overflow-wrap: anywhere !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_title > a {
		display: -webkit-box !important;
		max-height: 80px !important;
		overflow: hidden !important;
		color: #17171c !important;
		font: inherit !important;
		text-decoration: none !important;
		white-space: normal !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 4 !important;
		line-clamp: 4 !important;
	}

	/* Нижняя строка: цена и корзина */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_info_wrap {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 36px !important;
		align-items: center !important;
		gap: 6px !important;
		width: 100% !important;
		height: 36px !important;
		min-height: 36px !important;
		margin: auto 0 0 !important;
		padding: 0 !important;
		position: static !important;
		overflow: visible !important;
		box-sizing: border-box !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_info {
		display: flex !important;
		align-items: center !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.single-product #page
	section.related.products
	.price,

	html body.single-product #page
	section.related.products
	.price .amount {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: center !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		color: #17171c !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 1.15 !important;
		text-align: left !important;
		white-space: nowrap !important;
	}

	/* Скрываем рейтинг и отдельную кнопку «Купить сейчас» */
	html body.single-product #page
	section.related.products
	.cmsmasters_star_rating,

	html body.single-product #page
	section.related.products
	.wpcbn-btn-archive {
		display: none !important;
	}

	/* Корзина */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_add_wrap,

	html body.single-product #page
	section.related.products
	.cmsmasters_product_add_inner {
		display: block !important;
		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
		position: static !important;
		overflow: visible !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_button.add_to_cart_button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 10px !important;
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5h2l1.9 8.2a2 2 0 0 0 2 1.6h7.5a2 2 0 0 0 2-1.6L20 7.2H7'/%3E%3Cpath d='M11.8 8.2v4M9.8 10.2h4'/%3E%3Ccircle cx='10' cy='18.5' r='1.25'/%3E%3Ccircle cx='17' cy='18.5' r='1.25'/%3E%3C/svg%3E")
			center / 23px 23px no-repeat,
			linear-gradient(135deg, #4368ff, #7139ef) !important;
		color: transparent !important;
		font-size: 0 !important;
		line-height: 0 !important;
		text-indent: -9999px !important;
		overflow: hidden !important;
		box-shadow: none !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_button.add_to_cart_button > span,

	html body.single-product #page
	section.related.products
	.cmsmasters_product_button.added_to_cart {
		display: none !important;
	}
}
/* Похожие: точные мобильные размеры как у карточек на главной */
@media only screen and (max-width: 767px) {

	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products {
		align-items: stretch !important;
		gap: 12px 10px !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
	}

	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products
	> li.product,

	html body.single-product #page
	section.related.products
	> ul.products.cmsmasters_products
	> li.product:nth-child(n) {
		align-self: stretch !important;
		height: 330px !important;
		min-height: 330px !important;
		max-height: 330px !important;
	}

	/* Строго такая же высота карточки */
	html body.single-product #page
	section.related.products
	.cmsmasters_product,

	html body.single-product #page
	section.related.products
	.cmsmasters_product_wrapper_border,

	html body.single-product #page
	section.related.products
	.cmsmasters_product:hover
	.cmsmasters_product_wrapper_border {
		height: 330px !important;
		min-height: 330px !important;
		max-height: 330px !important;
	}

	/* Такая же область изображения */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_img,

	html body.single-product #page
	section.related.products
	.cmsmasters_product:hover
	.cmsmasters_product_img {
		flex: 0 0 150px !important;
		width: 100% !important;
		height: 150px !important;
		min-height: 150px !important;
		max-height: 150px !important;
		padding: 10px 8px 5px !important;
	}

	/* Такие же внутренние отступы */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_inner {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		padding: 10px 10px 11px !important;
	}

	/* Та же высота строки цены */
	html body.single-product #page
	section.related.products
	.cmsmasters_product_info_wrap {
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		margin: auto 0 0 !important;
	}

	html body.single-product #page
	section.related.products
	.cmsmasters_product_info {
		height: 40px !important;
		min-height: 40px !important;
		overflow: visible !important;
	}

	/* Акционная и обычная цена — как на главной */
	html body.single-product #page
	section.related.products
	.price {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: center !important;
		gap: 1px !important;
		height: 40px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		line-height: 1 !important;
		white-space: nowrap !important;
	}

	html body.single-product #page
	section.related.products
	.price del,

	html body.single-product #page
	section.related.products
	.price del .amount {
		display: block !important;
		margin: 0 !important;
		color: #92949c !important;
		font-size: 10px !important;
		font-weight: 500 !important;
		line-height: 12px !important;
	}

	html body.single-product #page
	section.related.products
	.price ins,

	html body.single-product #page
	section.related.products
	.price ins .amount,

	html body.single-product #page
	section.related.products
	.price > .amount {
		display: block !important;
		margin: 0 !important;
		color: #17171c !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 16px !important;
		text-decoration: none !important;
	}
}
/* iDanny: кнопки товара на всех телефонах строго друг под другом */
@media only screen and (max-width: 767px) {
	body.single-product form.cart button.single_add_to_cart_button,
	body.single-product form.cart .wpcbn-btn-single,
	body.single-product form.cart button[name="add-to-cart"],
	body.single-product form.cart button[name="buy-now"] {
		display: block !important;
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	body.single-product form.cart {
		gap: 12px !important;
	}
}
/* Расширенное выпадающее меню Apple Watch */
@media only screen and (min-width: 1025px) {
	.idanny-watch-menu > ul.sub-menu {
		width: 260px !important;
		min-width: 260px !important;
	}

	.idanny-watch-menu > ul.sub-menu > li > a {
		white-space: nowrap !important;
	}
}

/* =========================================================
   МОБИЛЬНЫЕ «ВАМ ТАКЖЕ БУДЕТ ИНТЕРЕСНО»
   Тот же шаблон карточки, что и у блока «Похожие».
   ========================================================= */
@media only screen and (max-width: 767px) {
	html body.single-product #page section.upsells.products {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 40px 0 0 !important;
		padding: 0 !important;
		overflow: visible !important;
	}

	html body.single-product #page section.upsells.products > h2 {
		display: block !important;
		width: 100% !important;
		margin: 0 0 24px !important;
		padding: 0 !important;
		font-size: 30px !important;
		font-weight: 700 !important;
		line-height: 1.15 !important;
	}

	html body.single-product #page section.upsells.products > ul.products.cmsmasters_products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: stretch !important;
		gap: 12px 10px !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		overflow: visible !important;
	}

	html body.single-product #page section.upsells.products > ul.products::before,
	html body.single-product #page section.upsells.products > ul.products::after {
		display: none !important;
		content: none !important;
	}

	html body.single-product #page section.upsells.products > ul.products.cmsmasters_products > li.product,
	html body.single-product #page section.upsells.products > ul.products.cmsmasters_products > li.product:nth-child(n) {
		display: flex !important;
		align-self: stretch !important;
		float: none !important;
		clear: none !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: 330px !important;
		min-height: 330px !important;
		max-height: 330px !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product {
		display: flex !important;
		width: 100% !important;
		height: 330px !important;
		min-height: 330px !important;
		max-height: 330px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_wrapper_border,
	html body.single-product #page section.upsells.products .cmsmasters_product:hover .cmsmasters_product_wrapper_border {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		width: 100% !important;
		height: 330px !important;
		min-height: 330px !important;
		max-height: 330px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		border: 1px solid #c8cdd9 !important;
		border-radius: 12px !important;
		background: #fff !important;
		box-shadow: inset 0 0 0 1px rgba(200, 205, 217, .25) !important;
		transform: none !important;
		box-sizing: border-box !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_img,
	html body.single-product #page section.upsells.products .cmsmasters_product:hover .cmsmasters_product_img {
		display: flex !important;
		flex: 0 0 150px !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 150px !important;
		min-height: 150px !important;
		max-height: 150px !important;
		margin: 0 !important;
		padding: 10px 8px 5px !important;
		overflow: hidden !important;
		background: #fff !important;
		box-sizing: border-box !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_img > a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 100% !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_img img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		object-fit: contain !important;
		object-position: center !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_inner {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 10px 10px 11px !important;
		text-align: left !important;
		box-sizing: border-box !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_cat,
	html body.single-product #page section.upsells.products .cmsmasters_star_rating,
	html body.single-product #page section.upsells.products .wpcbn-btn-archive,
	html body.single-product #page section.upsells.products .added_to_cart {
		display: none !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_header {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_title,
	html body.single-product #page section.upsells.products .cmsmasters_product_title > a {
		display: -webkit-box !important;
		width: 100% !important;
		min-height: 0 !important;
		max-height: 80px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		color: #17171c !important;
		font-size: 16px !important;
		font-weight: 500 !important;
		line-height: 20px !important;
		text-align: left !important;
		text-decoration: none !important;
		white-space: normal !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 4 !important;
		line-clamp: 4 !important;
		overflow-wrap: anywhere !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_info_wrap {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 36px !important;
		align-items: center !important;
		gap: 6px !important;
		width: 100% !important;
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		margin: auto 0 0 !important;
		padding: 0 !important;
		position: static !important;
		overflow: visible !important;
		box-sizing: border-box !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_info,
	html body.single-product #page section.upsells.products .price {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: center !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 40px !important;
		margin: 0 !important;
		padding: 0 !important;
		color: #17171c !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 1.15 !important;
		text-align: left !important;
		white-space: nowrap !important;
	}

	html body.single-product #page section.upsells.products .price del,
	html body.single-product #page section.upsells.products .price del .amount {
		display: block !important;
		margin: 0 !important;
		color: #92949c !important;
		font-size: 10px !important;
		font-weight: 500 !important;
		line-height: 12px !important;
	}

	html body.single-product #page section.upsells.products .price ins,
	html body.single-product #page section.upsells.products .price ins .amount,
	html body.single-product #page section.upsells.products .price > .amount {
		display: block !important;
		margin: 0 !important;
		color: #17171c !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 16px !important;
		text-decoration: none !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_product_add_wrap,
	html body.single-product #page section.upsells.products .cmsmasters_product_add_inner {
		display: block !important;
		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
		position: static !important;
		overflow: visible !important;
	}

	html body.single-product #page section.upsells.products .cmsmasters_add_to_cart_button,
	html body.single-product #page section.upsells.products .cmsmasters_product_button.add_to_cart_button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 10px !important;
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5h2l1.9 8.2a2 2 0 0 0 2 1.6h7.5a2 2 0 0 0 2-1.6L20 7.2H7'/%3E%3Cpath d='M11.8 8.2v4M9.8 10.2h4'/%3E%3Ccircle cx='10' cy='18.5' r='1.25'/%3E%3Ccircle cx='17' cy='18.5' r='1.25'/%3E%3C/svg%3E") center / 23px 23px no-repeat,
			linear-gradient(135deg, #4368ff, #7139ef) !important;
		color: transparent !important;
		font-size: 0 !important;
		line-height: 0 !important;
		text-indent: -9999px !important;
		overflow: hidden !important;
		box-shadow: none !important;
	}
}

/* =========================================================
   КАТАЛОГ: ЕДИНАЯ СЕТКА ДЛЯ НОУТБУКОВ И ПЛАНШЕТОВ
   Фильтр занимает отдельную колонку, карточки никогда на него
   не наезжают. Работает во всех категориях и в общем магазине.
   ========================================================= */
@media only screen and (min-width: 768px) and (max-width: 1600px) {
	/* Шапка использует доступную ширину экрана, без пустых полей. */
	html body #page #header .header_mid .header_mid_inner,
	html body #page #header .header_bot .header_bot_inner {
		width: calc(100% - 56px) !important;
		max-width: 1264px !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	/* Категории в шапке растягиваются внутри той же ширины. */
	html body #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	/* Общая двухколоночная сетка каталога. */
	html body.woocommerce-shop #middle .content_wrap,
	html body.tax-product_cat #middle .content_wrap {
		display: grid !important;
		grid-template-columns: 190px minmax(0, 1fr) !important;
		column-gap: 32px !important;
		align-items: start !important;
		width: calc(100% - 56px) !important;
		max-width: 1500px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .sidebar,
	html body.tax-product_cat #middle .content_wrap > .sidebar {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 30px 0 !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content,
	html body.tax-product_cat #middle .content_wrap > .content {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	/* Карточки строго остаются в своей колонке. */
	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 20px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products::before,
	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products::after,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products::before,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products::after {
		display: none !important;
		content: none !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products > li.product,
	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products > li.product:nth-child(n),
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products > li.product,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products > li.product:nth-child(n) {
		float: none !important;
		clear: none !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}
}

/* iPad 13″ и компактные ноутбуки: три удобные карточки, без сжатия. */
@media only screen and (min-width: 901px) and (max-width: 1024px) {
	html body.woocommerce-shop #middle .content_wrap,
	html body.tax-product_cat #middle .content_wrap {
		grid-template-columns: 170px minmax(0, 1fr) !important;
		column-gap: 24px !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}
}

/* iPad 11″: две нормальные карточки лучше трёх сжатых. */
@media only screen and (min-width: 768px) and (max-width: 900px) {
	html body.woocommerce-shop #middle .content_wrap,
	html body.tax-product_cat #middle .content_wrap {
		grid-template-columns: 160px minmax(0, 1fr) !important;
		column-gap: 20px !important;
		width: calc(100% - 40px) !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}
}

/* Широкие мониторы: товарная сетка совпадает с границами шапки.
   Левая колонка фильтра вынесена в свободное место слева. */
@media only screen and (min-width: 1601px) {
	html body.woocommerce-shop #middle .content_wrap,
	html body.tax-product_cat #middle .content_wrap {
		display: grid !important;
		grid-template-columns: 200px minmax(0, 1160px) !important;
		column-gap: 22px !important;
		align-items: start !important;
		width: 1382px !important;
		max-width: calc(100% - 48px) !important;
		margin-top: 0 !important;
		margin-right: 0 !important;
		margin-bottom: 0 !important;
		margin-left: max(24px, calc((100vw - 1620px) / 2)) !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .sidebar,
	html body.tax-product_cat #middle .content_wrap > .sidebar {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 30px 0 !important;
		float: none !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content,
	html body.tax-product_cat #middle .content_wrap > .content {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		float: none !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 20px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products > li.product,
	html body.woocommerce-shop #middle .content_wrap > .content ul.products.cmsmasters_products > li.product:nth-child(n),
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products > li.product,
	html body.tax-product_cat #middle .content_wrap > .content ul.products.cmsmasters_products > li.product:nth-child(n) {
		float: none !important;
		clear: none !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}
}

/* =========================================================
   МОБИЛЬНЫЕ КАРТОЧКИ: заголовок занимает ровно четыре строки.
   Фиксированная кратность line-height исключает обрезанную полустроку.
   ========================================================= */
@media only screen and (max-width: 767px) {
	body.woocommerce-shop #page .cmsmasters_product_header,
	body.tax-product_cat #page .cmsmasters_product_header,
	body.single-product #page section.related.products .cmsmasters_product_header,
	body.single-product #page section.upsells.products .cmsmasters_product_header {
		flex: 0 0 80px !important;
		height: 80px !important;
		min-height: 80px !important;
		max-height: 80px !important;
		overflow: hidden !important;
	}

	body.woocommerce-shop #page .cmsmasters_product_title,
	body.tax-product_cat #page .cmsmasters_product_title,
	body.single-product #page section.related.products .cmsmasters_product_title,
	body.single-product #page section.upsells.products .cmsmasters_product_title,
	body.woocommerce-cart #page .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
		height: 80px !important;
		min-height: 80px !important;
		max-height: 80px !important;
		line-height: 20px !important;
		overflow: hidden !important;
	}

	body.woocommerce-shop #page .cmsmasters_product_title > a,
	body.tax-product_cat #page .cmsmasters_product_title > a,
	body.single-product #page section.related.products .cmsmasters_product_title > a,
	body.single-product #page section.upsells.products .cmsmasters_product_title > a {
		display: -webkit-box !important;
		height: 80px !important;
		max-height: 80px !important;
		overflow: hidden !important;
		font-size: 16px !important;
		line-height: 20px !important;
		text-overflow: ellipsis !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 4 !important;
		line-clamp: 4 !important;
	}
}

/* =========================================================
   НОУТБУКИ: ЕДИНАЯ ГЕОМЕТРИЯ ШАПКИ, ГЛАВНОЙ И КАТАЛОГА
   На ширине MacBook используется всё полезное место экрана,
   но размеры самих карточек не меняются.
   ========================================================= */
@media only screen and (min-width: 1025px) and (max-width: 1600px) {
	html body #page #header .header_mid .header_mid_inner,
	html body #page #header .header_bot .header_bot_inner,
	html body.home #page #middle .middle_inner,
	html body.home #page #middle .content_wrap {
		width: calc(100% - 56px) !important;
		max-width: 1500px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
	}

	/* На главной баннер и плитки используют всю общую рабочую ширину. */
	html body.home #page #middle .content_wrap > .content {
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.home #page #middle .ls-wp-container,
	html body.home #page #middle .ls-wp-fullwidth-container {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	/* Элементы шапки стоят на границах того же контейнера. */
	html body #page #header .header_mid .header_mid_inner .logo_wrap {
		left: 0 !important;
	}

	html body #page #header .header_mid .header_mid_inner .cmsmasters_dynamic_cart_wrap {
		right: 0 !important;
	}

	html body #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}

/* =========================================================
   DESKTOP: ШАПКА И ПОДВАЛ В ГРАНИЦАХ ОБЩЕЙ СЕТКИ
   ========================================================= */
@media only screen and (min-width: 1025px) {
	/* Все элементы шапки позиционируются от её внутреннего контейнера. */
	html body #page #header .header_mid .header_mid_inner,
	html body #page #header .header_bot .header_bot_inner {
		position: relative !important;
		width: calc(100% - 56px) !important;
		max-width: 1264px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
	}

	html body #page #header .header_mid .header_mid_inner .logo_wrap {
		left: 0 !important;
		right: auto !important;
		margin: 0 !important;
		transform: none !important;
	}

	html body #page #header .header_mid .header_mid_inner .logo_wrap .logo,
	html body #page #header .header_mid .header_mid_inner .logo_wrap .logo img {
		margin-left: 0 !important;
		transform: none !important;
	}

	html body #page #header .header_mid .header_mid_inner .cmsmasters_dynamic_cart_wrap {
		left: auto !important;
		right: 0 !important;
		margin: 0 !important;
		transform: none !important;
	}

	html body #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		transform: none !important;
	}

	/* Подвал использует те же левую и правую границы. */
	html body #page .bottom_bg .bottom_inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 180px !important;
		align-items: start !important;
		column-gap: 40px !important;
		width: calc(100% - 56px) !important;
		max-width: 1264px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding: 54px 0 44px !important;
		box-sizing: border-box !important;
	}

	html body #page .bottom_bg .bottom_inner #text-12 {
		grid-column: 1 !important;
		grid-row: 1 !important;
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body #page .bottom_bg .bottom_inner .idanny-footer-contact-widget {
		grid-column: 2 !important;
		grid-row: 1 !important;
		justify-self: end !important;
		float: none !important;
		width: 180px !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}
}

/* =========================================================
   ФИНАЛЬНАЯ СЕТКА MACBOOK / IPAD: применяется после всех
   прежних правил child-темы и выравнивает только шапку/подвал.
   ========================================================= */
@media only screen and (min-width: 769px) {
	html body #page #header .header_mid .header_mid_inner,
	html body #page #header .header_bot .header_bot_inner {
		width: calc(100% - 168px) !important;
		max-width: 1388px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
	}

	html body #page .bottom_bg .bottom_outer {
		width: calc(100% - 168px) !important;
		max-width: 1388px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner {
		display: grid !important;
		grid-template-columns: 180px minmax(0, 1fr) 180px !important;
		align-items: start !important;
		column-gap: 0 !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 54px 0 44px !important;
		box-sizing: border-box !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner #text-12 {
		grid-column: 1 !important;
		grid-row: 1 !important;
		float: none !important;
		width: 180px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner .idanny-footer-contact-widget {
		grid-column: 3 !important;
		grid-row: 1 !important;
		justify-self: end !important;
		float: none !important;
		width: 180px !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}
}

/* =========================================================
   ГЛАВНАЯ: ВЕРХНИЕ КАТЕГОРИИ И УГЛЫ ПОПУЛЯРНЫХ ТОВАРОВ
   Не влияет на каталог, фильтры, баннер или карточки в иных местах.
   ========================================================= */
@media only screen and (min-width: 769px) {
	/* Меню занимает всю ширину баннера, а расстояние создаётся между пунктами. */
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		display: flex !important;
		justify-content: space-between !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Опускаем ряд ближе к баннеру, не меняя высоту шапки и её сетку. */
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li {
		transform: translateY(16px) !important;
	}

	/* На MacBook и больших дисплеях возвращаем более читаемый размер. */
	@media only screen and (min-width: 1100px) {
		html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li > a {
			font-size: 16px !important;
			line-height: 22px !important;
		}
	}

	/* Единый радиус внешнего контура: без разрывов по углам первой карточки. */
	html body.home #idanny-home .idanny-home-products .cmsmasters_product,
	html body.home #idanny-home .idanny-home-products .cmsmasters_product_wrapper_border {
		border-radius: 16px !important;
		overflow: hidden !important;
	}

	html body.home #idanny-home .idanny-home-products .cmsmasters_product_img {
		border-radius: 16px 16px 0 0 !important;
	}

	html body.home #idanny-home .idanny-home-products .cmsmasters_product_inner {
		border-radius: 0 0 16px 16px !important;
	}
}

/* Стрелка каждого пункта: справа от названия, по центру строки. */
@media only screen and (min-width: 769px) {
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a {
		padding-right: 16px !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a::before {
		left: auto !important;
		right: 1px !important;
		top: 50% !important;
		bottom: auto !important;
		margin: 0 !important;
		transform: translateY(-50%) !important;
	}
}

/* Верхнее меню главной: десять пунктов строго от края до края баннера. */
@media only screen and (min-width: 769px) {
	html body.home #page #header .header_bot .header_bot_inner {
		position: relative !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		top: 0 !important;
		display: grid !important;
		grid-template-columns: repeat(10, max-content) !important;
		justify-content: space-between !important;
		align-items: start !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li {
		width: auto !important;
		margin: 0 !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li > a {
		padding-right: 0 !important;
	}
}

/* Исправление обнулённой ширины обёрток меню. */
@media only screen and (min-width: 769px) {
	html body.home #page #header .header_bot .header_bot_inner .bot_nav_wrap,
	html body.home #page #header .header_bot .header_bot_inner .bot_nav_wrap > nav,
	html body.home #page #header .header_bot .header_bot_inner .menu-category-navigation-container {
		width: 100% !important;
		max-width: none !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		display: flex !important;
		width: 100% !important;
		min-width: 100% !important;
		grid-template-columns: none !important;
		justify-content: space-between !important;
		align-items: flex-start !important;
	}
}

/* Финальное положение штатных стрелок после всех правил меню. */
@media only screen and (min-width: 769px) {
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a {
		padding-right: 16px !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a::before {
		left: auto !important;
		right: 1px !important;
		top: 50% !important;
		bottom: auto !important;
		margin: 0 !important;
		transform: translateY(-50%) !important;
	}
}
/* =========================================================
   iDANNY — ТОЛЬКО ШИРОКИЕ МОНИТОРЫ (от 1601px)
   Категории и содержимое подвала в точных границах баннера.
   Не влияет на мобильные, iPad и MacBook 13–16".
   ========================================================= */
@media only screen and (min-width: 1601px) {

	/* Ряд категорий: от левого до правого края баннера. */
	html body #page #header .header_bot .header_bot_inner {
		width: 1104px !important;
		max-width: calc(100% - 48px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
	}

	html body #page #header .header_bot .header_bot_inner .bot_nav_wrap,
	html body #page #header .header_bot .header_bot_inner .bot_nav_wrap > nav,
	html body #page #header .header_bot .header_bot_inner .menu-category-navigation-container,
	html body #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	/* Подвал использует те же границы и не выходит за них. */
	html body #page .bottom_bg .bottom_outer {
		width: 1104px !important;
		max-width: calc(100% - 48px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner {
		grid-template-columns: 180px minmax(0, 1fr) max-content !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner .idanny-footer-contact-widget {
		width: auto !important;
		max-width: 180px !important;
		text-align: right !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner .idanny-footer-contact-widget__icons {
		justify-content: flex-end !important;
	}
}
/* Добавить ПОСЛЕ предыдущего desktop-21in-alignment-fix.css */
@media only screen and (min-width: 1601px) {
	/* Десять пунктов помещаются строго в ширину баннера.
	   Размер текста не меняется; сокращается только технический
	   отступ между названием и штатной стрелкой. */
	html body #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a {
		padding-right: 10px !important;
	}

	html body #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a::before {
		right: 0 !important;
	}
}

/* =========================================================
   iDANNY — 21"+: шапка и подвал в границах баннера
   Только финальная коррекция для широких экранов.
   Баннер, мобильный вид и диапазон 769–1600px не затрагиваются.
   ========================================================= */
@media only screen and (min-width: 1601px) {
	/* Одна сетка для логотипа, поиска, корзины и категорий. */
	html body #page #header .header_mid .header_mid_inner,
	html body #page #header .header_bot .header_bot_inner,
	html body #page .bottom_bg .bottom_outer {
		width: 1104px !important;
		max-width: calc(100% - 48px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
	}

	/* Логотип и корзина привязаны к тем же левому и правому краям. */
	html body #page #header .header_mid .header_mid_inner {
		position: relative !important;
	}

	html body #page #header .header_mid .header_mid_inner .logo_wrap {
		left: 0 !important;
		right: auto !important;
	}

	html body #page #header .header_mid .header_mid_inner .cmsmasters_dynamic_cart_wrap {
		left: auto !important;
		right: 0 !important;
	}

	/* Меню распределяется строго между краями, без выхода за контейнер. */
	html body.home #page #header .header_bot .header_bot_inner .bot_nav_wrap,
	html body.home #page #header .header_bot .header_bot_inner .bot_nav_wrap > nav,
	html body.home #page #header .header_bot .header_bot_inner .menu-category-navigation-container,
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav {
		display: flex !important;
		justify-content: space-between !important;
	}

	/* Оставляем штатную стрелку сразу после названия и убираем только лишний технический отступ. */
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a {
		padding-right: 4px !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a::before {
		right: 0 !important;
	}

	/* В подвале оба информационных блока не выходят за те же края. */
	html body #page .bottom_bg .bottom_outer .bottom_inner {
		grid-template-columns: 180px minmax(0, 1fr) 180px !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner .idanny-footer-contact-widget {
		width: 180px !important;
		max-width: 180px !important;
		text-align: right !important;
	}
}

/* =========================================================
   iDANNY — 21"+: расстояние до стрелок и выравнивание связи
   Только широкий экран; баннер и меньшие брейкпоинты не меняются.
   ========================================================= */
@media only screen and (min-width: 1601px) {
	/* 8px занимает стрелка, ещё 4px — видимый зазор после названия. */
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li > a {
		font-size: 14px !important;
		line-height: 22px !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a,
	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.idanny-mega-desktop-v2.menu-item-has-children:last-child > a.idanny-mega-desktop-v2__trigger {
		padding-right: 12px !important;
	}

	html body.home #page #header .header_bot .header_bot_inner ul#navigation.bot_nav > li.menu-item-has-children > a::before {
		right: 0 !important;
		width: 8px !important;
	}

	/* Текст «Всегда на связи» заканчивается на правой границе Telegram. */
	html body #page .bottom_bg .bottom_outer .bottom_inner .idanny-footer-contact-widget {
		width: 180px !important;
		max-width: 180px !important;
		justify-self: end !important;
		text-align: right !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner .idanny-footer-contact-widget__title {
		display: block !important;
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		text-align: right !important;
		box-sizing: border-box !important;
	}

	html body #page .bottom_bg .bottom_outer .bottom_inner .idanny-footer-contact-widget__icons {
		width: 100% !important;
		justify-content: flex-end !important;
	}
}
