/* Version 1-5  */

/* TYPOGRAPHY ----------------------------------------------------------------------------------*/
/* DEFAULT SETTINGS ----------------------------------------------------------------------------*/

/* HEADER --------------------------------------------------------------------------------------*/
/* SEARCH FIELD --------------------------------------------------------------------------------*/
/* BTN BOX STYLE -------------------------------------------------------------------------------*/

/* BOX -----------------------------------------------------------------------------------------*/
/* CART ----------------------------------------------------------------------------------------*/

/* OFFCANVAS -----------------------------------------------------------------------------------*/

/* ACCORDION -----------------------------------------------------------------------------------*/

/* ITEM BOX - CATEGORY BRAND BOX ---------------------------------------------------------------*/
/* SERVICE BOX ---------------------------------------------------------------------------------*/

/* VERTICAL MENU -------------------------------------------------------------------------------*/

/* STICKY SIDE BANNER --------------------------------------------------------------------------*/

/* HORIZONTAL LIST, BEFORE/AFTER SHOP LOOP, BREADCRUMBS, PAGINATION ----------------------------*/

/* ACCOUNT -------------------------------------------------------------------------------------*/

/* THE SWITCH - THE BOX AROUND THE SLIDER ------------------------------------------------------*/

/* FOOTER --------------------------------------------------------------------------------------*/


#category-list label {
    display: inline-flex;
    width: 100%;
    align-items: center;
    gap: 5px;
    margin: 0px 0px 5px 0px;
    padding: 5px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-select {
    /* ✅ Скрыть скроллбар ВЕЗДЕ */
    -ms-overflow-style: none;  /* IE/Edge  */
    scrollbar-width: none;     /* Firefox */
}

.form-select::-webkit-scrollbar {
    display: none;             /* Chrome/Safari */
    width: 0 !important;
}


.form-select:focus {
     border-color: #cbddf6 !important;
     outline: 0;
     box-shadow: 0 0 0 .10rem rgba(182, 186, 183, 0.25) !important;
}

[data-theme="dark"] .form-select:focus {
     border-color: rgb(18 25 20)!important;
     outline: 0;
     box-shadow: 0 0 0 .10rem rgba(182, 186, 183, 0.25) !important;
}

#category-list label:hover {
    background-color: #e2e6ea;
    border-color: #adb5bd;
}

#category-list input[type="checkbox"]:checked + span {
    font-weight: bold;
    color: #0d6efd;
}


:root {
    --primary-color: #0044ff;
}


/* TYPOGRAPHY ----------------------------------------------------------------------------------*/
h1 {
    font-size: 1.8rem; /* 40px */
    font-weight: 600;
}

h2 {
    font-size: 1.6rem; /* 32px */
    font-weight: 400;
}

h3 {
    font-size: 1.4rem; /* 28px */
    font-weight: 400;
}

h4 {
    font-size: 1.2rem; /* 24px */
    font-weight: 400;
}

h5 {
    font-size: 1rem; /* 20px */
    font-weight: 300;
}

h6 {
    font-size: 1rem; /* 16px */
    font-weight: 300;
}

/* DEFAULT SETTINGS ----------------------------------------------------------------------------*/

/* Сброс стандартных стилей браузера */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Добавляет плавную прокрутку */
}

body {
    background-color: #F4F6F9;
    color: #333;
}

[data-theme="dark"] body {
    background-color: #121212;
    color: #f0f0f0;
}

html {
    scroll-behavior: smooth;
    background-color: #f4f6f9;
    color: #333;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.d-flex.overflow-auto {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
}

.d-flex.overflow-auto::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* HEADER --------------------------------------------------------------------------------------*/
.header {
    background: #fff; /* Фон белый */
    z-index: 1000;

}

[data-theme="dark"] .header {
    background: #121212; /* Тёмный фон */
}

/* top-bar Верхняя часть с акцией */
.top-bar {
    position: relative;
    z-index: 1200;
    background: #00BA44;
    color: white;
    font-size: 14px;
    height: 40px;
    border-radius: 0!important;
}

.menu-button {
    font-size: 24px;
    cursor: pointer;
}

.cart-box {
    display: flex;
    align-items: center;
}


.icon-reg {
    display: inline-block;
    padding: 3px 5px 5px;
    border-radius: 50%;
    background: linear-gradient(to bottom left, #a6d785, green, #a6d785);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    margin-top: 7px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/*Кнопка зактыть*/
.btn-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer; /* Удобство клика */
}

[data-theme="dark"] .top-bar {
    background: #000000;
    color: #ffffff;
}

/*Mobile bottom bar*/
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
}

[data-theme="dark"] .mobile-bottom-bar {
    background-color: #121212;
}

.mobile-header {
    position: relative;
    z-index: 1200;
}

#overlay-dropdown {
    position: fixed;
    inset: 0;
    background: rgb(255, 255, 255);
    z-index: 1150;
    display: none;
}

#overlay-dropdown.active {
    display: block;
}

[data-theme="dark"] #overlay-dropdown {
    background: rgb(0, 0, 0);
}

/* Отступ от хедера */
.header-offset {
    height: 120px; /* По умолчанию */
}

@media (max-width: 1200px) {
    .header-offset {
        height: 170px;
    }
}

@media (max-width: 576px) {
    .header-offset {
        height: 100px;
    }
}


/* SEARCH FIELD --------------------------------------------------------------------------------*/
.search-box {
    /*background: #f5f5f5;*/
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    max-width: 570px;
}


.category-select {
    width: 50%;
    /*background: #E9E9E9;*/
    padding: 8.11px;
    /*border-radius: 10px 4px 4px 10px;*/
    border: 1px solid #ced4da;
    margin: 5px;
    border-radius: 7px;
    height: 42px;
    /*width: auto;*/
}

[data-theme="dark"] .category-select {
    background: rgb(18 25 20);
    /*color: #fff;*/
}

.search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
}

.search-btn {
    /*background: #00ba44;*/
    color: white;
    border-radius: 0 7px 7px 0;
    padding: 8px;
    border: none;
    white-space: nowrap;
    height: 40px;
    background: linear-gradient(to bottom left, #a6d785, #198754, #a6d785);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    position: relative;
    /*right: 83px;*/
    /*width: 80px;*/
    z-index: 10;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


[data-theme="dark"] .search-input,
[data-theme="dark"] .search-input::placeholder {
    color: #777;
}


/* BTN BOX STYLE -------------------------------------------------------------------------------*/
.btn-box {
    position: relative;
    cursor: pointer;
    background: none;
    padding: 6px 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    height: auto;
    transition: background 0.3s ease-in-out;
    width: max-content;
    gap: 2px;
    border: 0.2px solid #cacaca;
}

.btn-box:hover {
    background-color: #e9ecef;
}

[data-theme="dark"] .btn-box {
    color: white;
    border: 0.2px solid #555555;
    position: relative;
    cursor: pointer;
    background: none;
    padding: 6px 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    height: auto;
    transition: background 0.3s ease-in-out;
    width: max-content;
    gap: 2px;
}


[data-theme="dark"] .btn-box:hover {
    background: #3a3a3c;
    border: 0.2px solid #555755;
}
.social-links-contact {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.position-relative {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.fixed-size-img {
    display: block;
    width: 309px;
    height: 250px;
    object-fit: cover;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    color: white;
    pointer-events: none; /* чтобы клики проходили к кнопке */
    text-shadow: 0 0 6px rgba(0,0,0,0.7);
}

.overlay-name {
    font-size: 1.25rem;
    margin: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 8px;
    max-width: 100%;
}

.overlay-button {
    pointer-events: auto;
    background-color: rgb(1 186 68);
    border-radius: 8px;
    padding: 10px 20px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 140px;
}

.overlay-button:hover {
    background-color: rgb(16 126 62 / 90%);
}

/* Адаптивность */
@media (max-width: 992px) {
    .flex-column {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .flex-column {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .category-img {
        width: 50px !important;
        height: 50px !important;
    }

    .item-title {
        font-size: 13px;
    }
}

/* CATEGORY SLIDER */
.category-slider {
    padding: 9px 0;
}


.swiper-slide {
    height: auto!important; /* Чуть выше для пропорций */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7px;
    box-sizing: border-box;
}

.swiper-slide-recom {
    height: 180px!important; /* Чуть выше для пропорций */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7px;
    box-sizing: border-box;
}

.item-box {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 160px;
}

.item-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-img {
    width: 44px !important;  /* Чуть меньше для баланса */
    height: 44px !important;
    object-fit: contain;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.item-title {
    display: block;
    font-size: 14px; /* Немного меньше шрифт */
    font-weight: 600;
    /*color: #333;*/
    text-decoration: none;
    line-height: 1;
    /* Одну строку - убираем многострочность */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px; /* Ширина под 2 слова */
    padding: 0 5px;
    margin: 0;
    height: 20px; /* Фиксированная высота для одной строки */
}


/* Адаптивность */
@media (max-width: 768px) {
    .category-slider .swiper-slide {
        width: 130px !important;
    }

    .item-box {
        min-width: 120px;
    }

    .item-title {
        font-size: 12px;
        max-width: 110px;
    }
}

@media (max-width: 480px) {
    .category-slider .swiper-slide {
        width: 110px !important;
    }
}


.wp-block-cover.alignfull {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 350px;
    margin-bottom: 44px;
}

.fixed-size-img-index {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.wp-block-cover__background.has-background-dim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.wp-block-cover__inner-container.overlay-text-button {
    position: absolute;
    top: 70px;
    left: 100px;
    bottom: 20px;
    right: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;
}

/*.wp-block-heading.has-text-align-left {*/
/*    color: white;*/
/*    margin: 0;*/
/*    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);*/
/*}*/

.wp-block-button__link {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    max-width: fit-content;
}

.wp-block-button__link:hover {
    background-color: #0056b3;
}



.social-link-contact {
  display: flex;
  align-items: center;
  border-radius: 50px;
  /* Фон задаётся динамически inline, border-radius должен быть здесь */
  padding: 0;
  /* Уберём анимацию transform отсюда, чтобы не дёргался элемент li */
}

.social-link-contact a {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: 50px;
  height: 35px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Hover — слегка увеличиваем */
.social-link-contact a:hover,
.social-link-contact a:focus {
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  outline: none;
}

/* Active — немного уменьшаем масштаб для нажатия */
.social-link-contact a:active {
  transform: scale(0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Изображение и текст */
.social-link-contact img {
  margin-right: 8px;
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-link-contact span {
  white-space: nowrap;
}

.emoji{
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
    font-size: 2.8rem;
}

.wp-block-social-links {
    list-style-type: none; /* Убирает маркеры списка (точки) */
    padding-left: 0; /* Убирает встроенный отступ слева у ul */
    margin-left: 0; /* Можно сбросить отступ */
    box-sizing: content-box;
    display: flex;
    gap: 0.4rem;
}

/* Контейнер иконки */
.wp-block-social-link-anchor img {
  width: 34px;           /* фиксированный размер ширины */
  height: 34px;          /* фиксированный размер высоты */
  vertical-align: middle;
  cursor: pointer;
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* При наведении меняем цвет (синюю заливку) и немного растягиваем */
.wp-block-social-link-anchor img:hover,
.wp-block-social-link-anchor img:focus {
  filter: brightness(0.85) saturate(1.5);
  transform: scale(1.1);
  outline: none;
}


/* Button icon style */
.btn-box__icon {
    font-size: 20px;
    line-height: 1;
}

/* Box Badge style */
.btn-box__badge {
    font-size: 12px;
    font-weight: 300;
    text-align: center;
    z-index: 10;
    color: #a1a1a1;
}

/* Title style inside buttons */
.btn-box__title {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 300;
    color: #000;
}

[data-theme="dark"] .btn-box__title--price,
[data-theme="dark"] .btn-title {
    color: #fff;
}

/* Cart price style */
.btn-box__title--price {
    font-weight: 600;
    color: #212529;
}

/*Dropdown menu*/
.dropdown-menu.show {
    z-index: 1020;
}

[data-theme="dark"] .dropdown-item {
    color: #eee;
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: #000;
}

/* Dropdown menu Обёртка collapse */
#mobileAccountDropdown {
    background-color: transparent;
}

/* Сами пункты */
#mobileAccountDropdown .list-group-item {
    padding: 0.75rem 1rem;
    font-size: 15px;
    border: none;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

/* Наведение */
#mobileAccountDropdown .list-group-item:hover {
    background-color: #24d43c;
}

[data-theme="dark"] #mobileAccountDropdown .list-group-item {
    color: #dee2e6;
}


/* Location Currency Language BTN */
.your-city,
.language-select,
.currency-select {
    appearance: none;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 300;
    padding: 4px 4px;
    cursor: pointer;
    outline: none;
}

[data-theme="dark"] .language-select,
[data-theme="dark"] .currency-select {
    background-color: transparent;
    color: #eee;
    border: none;
}

[data-theme="dark"] .dropdown-menu.show,
[data-theme="dark"] .language-select option,
[data-theme="dark"] .currency-select option {
    background-color: #222; /* фон выпадающих пунктов */
    color: #eee; /* текст */
}

/* BOX -----------------------------------------------------------------------------------------*/
.box {
    /*background: #fff;*/
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid #dcdcdc;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 10px;
    width: 100%;
}

[data-theme="dark"] .box {
    background: #000000!important;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
    border: 1px solid #292d29;
}

/* CART ----------------------------------------------------------------------------------------*/
.card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-sizing: border-box;
    border-radius: 5px;
    width: 100%;
    border: none;
    overflow: hidden;
}

.card-header {
    background-color: #e9e9e9;
    border-bottom: none;
    font-size: 1rem;
}

/* Темная тема */
[data-theme="dark"] .card {
    background-color: #1e1e1e;
    border-color: #333;
    color: #ddd;
}

[data-theme="dark"] .card-header {
    background-color: #2a2a2a;
    border-bottom-color: #444;
    color: #fff;
}

[data-theme="dark"] .card li {
    color: #fff;
}

/*прайсинг табл хедел калар на стр оплаты*/
.ems {
    background-color: #ff8843;
}

.indpost {
    background-color: #fd6667;
}

.dhl {
    background-color: #ffd75a;
}

.fed {
    background-color: #721dcf;
}


/* OFFCANVAS -----------------------------------------------------------------------------------*/

/*SIDE MENU*/
.side-menu {
    position: fixed;
    left: -350px;
    top: 0;
    width: 320px;
    height: 100%;
    background-color: #fff;
    color: #333;
    overflow-y: auto; /* Прокрутка работает */
    -ms-overflow-style: none; /* IE и Edge */
    scrollbar-width: none; /* Firefox */
    transition: left 0.4s ease;
    z-index: 1300;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

/* Chrome, Safari, Opera */
.side-menu::-webkit-scrollbar {
    display: none;
}

.side-menu.active {
    left: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.menu-list li a:hover {
    background-color: #00BA44;
}

.has-submenu > a::after {
    float: right;
    transition: transform 0.3s;
}

.has-submenu ul {
    list-style-type: none;
    padding-left: 0;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    background: #E9E9E9;
    transition: max-height 0.4s ease;
}

.has-submenu.active .submenu {
    max-height: 500px;
}

/* Тёмная тема для бокового меню */
[data-theme="dark"] .side-menu {
    background-color: #000;
    color: #f0f0f0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .side-menu .close-btn {
    color: #ccc;
}

[data-theme="dark"] .menu-list li a {
    color: #eee;
}

[data-theme="dark"] .menu-list li a:hover {
    background-color: #2e7d32; /* Темнее зелёного */
}

[data-theme="dark"] .submenu {
    background: #121212;
}

/* SIDE MENUS */
.cart-menu {
    width: 350px;
    max-width: 90%;
    height: 100vh;
    background: #ededed;
    position: fixed;
    right: -400px; /* скрыта по умолчанию */
    top: 0;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1300;
    transition: right 0.3s ease;
}

.cart-menu.active {
    right: 0; /* показываем корзину */
}

/* Кнопка закрытия справа */
.close-side-btn {
    border: none;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    align-self: flex-end;
}

/* Список товаров с прокруткой, но без полосы прокрутки */
.cart-menu__items {
    padding: 5px;
    flex-grow: 1;
    overflow-y: auto;
    -ms-overflow-style: none; /* IE и Edge */
    scrollbar-width: none; /* Firefox */
}

.cart-menu__items::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/*Оверлей меню и корзины*/
.overlay, #cartOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* по умолчанию */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1250;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active,
#cartOverlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/*темная тема*/
[data-theme="dark"] .cart-menu {
    background: #1e1e1e;
    color: #f0f0f0;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .cart-menu__items {
    background-color: #121212; /* на случай, если фон будет прозрачным */
}


/* ACCORDION -----------------------------------------------------------------------------------*/
.accordion-button:not(.collapsed) {
    background-color: #00ba44;
    color: #fff;
}

/* Темная тема для сектора FAQ */
[data-theme="dark"] #faqAccordion {
    background-color: #1f1f1f;
    color: #fff;
}

[data-theme="dark"] .accordion-button {
    background-color: #1f1f1f;
    color: #fff;
    border: none;
    box-shadow: none;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: #00ba44;
    color: #fff;
    border: none;
}

[data-theme="dark"] .accordion-body {
    background-color: #1f1f1f;
    color: #bbb;
    border: none;
}

[data-theme="dark"] .accordion-body a {
    color: #56c5ff;
}

[data-theme="dark"] .accordion-item {
    background-color: #1f1f1f;
    border-color: #000 !important;
    border-radius: 0 !important;
    margin-bottom: 1px; /* тонкая граница между элементами, опционально */
}


/* ITEM BOX - CATEGORY BRAND BOX ---------------------------------------------------------------*/
.brands-container ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    justify-content: flex-start;
    margin-bottom: 44px;
}

.brand-box {
    flex: 0 0 calc(12.5% - 1rem); /* 8 элементов в ряд */
    box-sizing: border-box;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    /* Чтобы элемент не перекрывался соседними при увеличении */
    position: relative;
    z-index: 0;
    /*background: linear-gradient(145deg, #ffffff, #f5f5f5);*/
    border: 1px solid #dcdcdc;
}



.container, input[type="text-find"] {
    transition: all 0.4s ease;
}

input[type="text-find"] {
    width: auto;
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
    /* border: 2px solid #66bb6a; */
    border-radius: 8px;
    /* background-color: #f1f8e9; */
    color: #1b5e20;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-box:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.brand-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

.brand-thumbnail {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: filter 0.3s ease;
}

.brand-box:hover .brand-thumbnail {
    filter: brightness(1.2);
}

.brand-name {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.3s ease;
}

.brand-box:hover .brand-name {
    color: #007bff;
}


.item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    border: 1px solid #cacaca;
}

[data-theme="dark"] .item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    border: 1px solid #555555;
}

.item-box img {
    max-height: 100px;
    max-width: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.item-title {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-weight: 400;
    text-decoration: none;
}

.item-box:hover {
    transform: translateY(-5px);
}

/* 🌙 Тёмная тема */
[data-theme="dark"] .item-box {
    background: #1f1f1f;
}

[data-theme="dark"] .item-title {
    color: var(--primary-color, #0044ff);
}

[data-theme="dark"] .item-box img {
    filter: brightness(0.7);
}


/* SERVICE BOX ---------------------------------------------------------------------------------*/
.service-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 7px;
    min-height: 160px; /* минимальная высота */
    max-width: 600px;
    height: auto; /* высота будет зависеть от контента */
    transition: transform 0.3s ease;
    border: 0.2px solid #cacaca;

    /* Чтобы блоки не прыгали, выровнять элементы по верхнему краю */
    align-items: flex-start;

    /* Чтобы блоки равномерно распределялись по ширине, при необходимости */
    /* flex-shrink: 0; */ /* отключит сжатие, если нужно */
}

[data-theme="dark"] .service-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 7px;
    min-height: 160px; /* минимальная высота */
    max-width: 600px;
    height: auto; /* высота будет зависеть от контента */
    transition: transform 0.3s ease;
    border: 0.2px solid #555555;

    /* Чтобы блоки не прыгали, выровнять элементы по верхнему краю */
    align-items: flex-start;

    /* Чтобы блоки равномерно распределялись по ширине, при необходимости */
    /* flex-shrink: 0; */ /* отключит сжатие, если нужно */
}


.service-box:hover {
    transform: translateY(-5px);
}

.box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;            /* фиксированная ширина иконки */
  height: 60px;           /* фиксированная высота иконки */
  background-color: #f0f0f0; /* светлый фон */
  border-radius: 8px;     /* скругленные углы */
  font-size: 30px;        /* размер текста (если иконка через emoji или шрифт) */
  color: #ff6600;         /* цвет иконки */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* лёгкая тень */
  overflow: hidden;       /* обрезать пиксели выходящие за рамки */
}

.box-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;    /* чтобы иконка вписывалась без искажения */
}


.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
    text-align: left;
}

.description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    flex-grow: 1;
    text-align: left;
}

.catalog-link {
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}

.catalog-link:hover {
    text-decoration: underline;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .service-box {
        min-height: 180px;
    }

    .box-icon {
        font-size: 50px;
    }

    .swiper-wrapper {
        align-items: stretch; /* Растягиваем карточки */
    }

    .icon-reg {
        display: inline-block;
        padding: 3px 5px 5px;
        border-radius: 50%;
        background: linear-gradient(to bottom left, #a6d785, green, #a6d785);
        background-size: 200% 200%;
        animation: gradientShift 5s ease infinite;
        margin-top: 0;
    }
}

/* 🌙 Темная тема */
[data-theme="dark"] .service-box {
    background: #1f1f1f; /* Тёмный фон для карточки */
}

[data-theme="dark"] .service-title {
    color: #fff;
}

[data-theme="dark"] .description {
    color: #ccc; /* Светлый цвет текста в темной теме */
}

[data-theme="dark"] .catalog-link {
    color: #00ba44; /* Изменение цвета ссылки в темной теме */
}

.text-md-end {
    text-align: right !important;
}
/* VERTICAL MENU -------------------------------------------------------------------------------*/
.vertical-menu {
    background: #fff;
    border-radius: 10px;
    margin-top: 4px;
}

.v-menu-title {
    background: linear-gradient(to bottom left, #a6d785, #198754, #a6d785);
    color: #fff;
    font-size: 14px;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.vertical-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.vertical-menu a:hover {
    background: #00ba44;
}

/* 🌙 DARK THEME vertical-men */
[data-theme="dark"] .vertical-menu {
    background: #1e1e1e;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .v-menu-title {
    color: #fff;
}

[data-theme="dark"] .vertical-menu a {
    color: #ddd; /* Светлый текст */
}

/* СТИЛЬ СКРРОЛЛБАРА -----------------------------------------------------*/
.scrollable-filter {
    max-height: 80vh; /* Можно отрегулировать: 80% от высоты экрана */
    overflow-y: auto;
    padding-right: 5px; /* немного отступа для скролла */
}

/* Необязательное улучшение: стилизация скроллбара (для WebKit) */
.scrollable-filter::-webkit-scrollbar {
    width: 6px;
}

.scrollable-filter::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-filter::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}


/* STICKY SIDE BANNER --------------------------------------------------------------------------*/
.side-banner {
    z-index: 900;
}

.side-banner .banner-container {
    height: 420px;
    border-radius: 10px;
}

.side-banner .banner-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 10px;
}

.side-banner .banner-content {
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-radius: 10px;
}

.side-banner .banner-content:hover {
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease-in-out; /* плавность */
}

.banner-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
}

.side-banner p {
    font-size: 0.8rem;
    font-weight: 400;
    color: #000000;
}

/* HORIZONTAL LIST, BEFORE/AFTER SHOP LOOP, BREADCRUMBS, PAGINATION ----------------------------*/

/*контейнер*/
.before-shop-loop,
.after-shop-loop,
.h-list-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.shop-loop-title, .breadcrumbs-title, .h2-title {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
}

/*Лист*/
.pagination-container,
.shop-loop-controls,
.horizontal-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: transparent transparent; /* Для Firefox */
}

.shop-loop-controls::-webkit-scrollbar,
.breadcrumbs::-webkit-scrollbar,
.horizontal-list::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/*кнопки*/
.pagination-btn,
.shop-loop-item,
.h-list-item-often {
    /*background: #fff;*/
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--primary-color, #0044ff);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cacaca;
}


[data-theme="dark"] .pagination-btn,
[data-theme="dark"] .shop-loop-item,
[data-theme="dark"] .h-list-item-often {
    /*background: #fff;*/
    padding: 8px 10px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.2px solid #198754;
    color: #198754;
}

.pagination-btn:hover,
.shop-loop-item:hover,
.h-list-item-often:hover {
    background: #198754;
    color: azure;
}

.pagination-btn,
.shop-loop-item,
.h-list-item {
    /*background: #fff;*/
    padding: 8px 25px;
    border-radius: 4px;
    color: var(--primary-color, #0044ff);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #198754;
}

.pagination-btn:hover,
.shop-loop-item:hover,
.h-list-item:hover {
    background: #198754;
    color: azure;
}

.shop-loop-view {
    font-size: 14px;
    color: #333;
    font-weight: 300;
    padding: 10px;
}

.pagination-btn.active {
    background-color: var(--primary-color, #0044ff);
    color: #fff;
    font-weight: 600;
}


/*LOAD MORE Pagination  BTN */
.load-more-btn {
    display: inline-block;
    background-color: var(--primary-color, #0044ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .after-shop-loop,
    .breadcrumbs-container,
    .before-shop-loop
        /* .h-list-container */
    {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination-container,
    .breadcrumbs,
    .shop-loop-controls,
    .horizontal-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
    }

    .sidebar-column {
        background: #f9f9f9;
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 0 12px rgb(0 0 0 / 0.05);
        height: 100%;
        position: sticky;
        top: 90px;
        font-weight: 600;
        color: #2e7d32; /* Акцентный зеленый */
        background: linear-gradient(135deg, #ffffff 0%, #47c760 100%);
        box-shadow: 0 0 10px rgba(86, 171, 47, 0.4),
        inset 0 0 15px rgba(86, 171, 47, 0.15);
        transition: background 0.5s ease;
    }

    .dashboard-upper-info .row {
        display: flex;
        flex-wrap: wrap!important;
        justify-content: start !important;
        line-height: 1.7;
    }
}

/* Отступ 120px на десктопе, 90px на мобильных */
.custom-spacer {
    height: 120px;
}

/* Мобильные - 90px */
@media (max-width: 768px) {
    .custom-spacer {
        height: 90px;
    }
}

/* Очень маленькие экраны - еще меньше */
@media (max-width: 480px) {
    .custom-spacer {
        height: 90px;
    }
}


/* 🌙 Тёмная тема HORIZONTAL LIST, BEFORE/AFTER SHOP LOOP, BREADCRUMBS, PAGINATION */
[data-theme="dark"] .shop-loop-title,
[data-theme="dark"] .shop-loop-view,
[data-theme="dark"] .h2-title {
    color: #fff; /* Белый текст */
}

[data-theme="dark"] .pagination-btn,
[data-theme="dark"] .shop-loop-item,
[data-theme="dark"] .h-list-item {
    background: #000; /* Тёмный фон для кнопок */
    color: #198754;
}

[data-theme="dark"] .pagination-btn:hover,
[data-theme="dark"] .shop-loop-item:hover,
[data-theme="dark"] .h-list-item:hover {
    background: #198754;
    color: azure;
}

[data-theme="dark"] .pagination-btn.active {
    background-color: var(--primary-color, #0044ff);
    color: #fff;
}

[data-theme="dark"] .breadcrumb-item.active {
    color: #aaa; /* Светло-серый цвет для активных элементов */
}

[data-theme="dark"] .load-more-btn {
    background-color: var(--primary-color, #0044ff);
}

/* ACCOUNT -------------------------------------------------------------------------------------*/
/* === Общие стили для страницы "Мой аккаунт" === */
/* === Светлая тема === */

.my-account {
    color: #333;
    background: #fff;
}

.account-dashboard .dashboard-upper-info {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;
}

.account-dashboard .dashboard-upper-info .d-single-info p {
    margin: 0 0 6px;
    font-size: 14px;
    color: #555;
}

.account-dashboard .dashboard-upper-info .d-single-info p span {
    font-weight: 600;
    color: #222;
}

.account-dashboard .dashboard-upper-info .view-cart {
    font-weight: 600;
    color: #2ea44f; /* Зеленый основной */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.account-dashboard-margin p {
    margin-top: 0;
    margin-bottom: 0!important;
}

.account-dashboard-margin {
    margin-top: 13px;
    margin-bottom: 40px;
}

.account-dashboard .dashboard-upper-info .view-cart i {
    margin-right: 6px;
    transition: color 0.3s ease;
}

.account-dashboard .dashboard-upper-info .view-cart:hover {
    text-decoration: underline;
    color: #22863a; /* Темный зеленый при ховере */
}

/* Sidebar */
.sidebar-column {
    background: #f9f9f9;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgb(0 0 0 / 0.05);
    height: 100%;
    position: sticky;
    top: 90px;
    font-weight: 600;
    color: #2e7d32; /* Акцентный зеленый */
    background: linear-gradient(135deg, #ffffff 0%, #47c760 100%);
    box-shadow: 0 0 10px rgba(86, 171, 47, 0.4),
    inset 0 0 15px rgba(86, 171, 47, 0.15);
    transition: background 0.5s ease;
}

.sidebar-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #114b05;
    text-shadow: 0 1px 2px rgba(47, 79, 15, 0.3);
}

.sidebar-menu .nav-link {
    font-weight: 600;
    color: #163f19;
    padding: 10px 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.sidebar-menu .nav-link i {
    margin-right: 12px;
    font-size: 1.2rem;
    color: #2e7d32;
    transition: color 0.3s ease;
}

[data-theme="dark"] .sidebar-menu .nav-link i {
    margin-right: 12px;
    font-size: 1.2rem;
    color: #afdcd7;
    transition: color 0.3s ease;
}

.sidebar-menu .nav-link:hover {
    color: #4caf50;
    border-bottom: 1px solid #4caf50;
    background: rgba(76, 175, 80, 0.15);
    padding: 10px;
}

.sidebar-menu .nav-link.text-danger {
    color: #d32f2f;
}

.sidebar-menu .nav-link.text-danger:hover {
    color: #9a0007;
    border-bottom: 1px solid #9a0007;
}

/* ═══════════════════════════════════════════════════════════════
   🎨 АВАТАР - КРУЖОК С ТЕНЯМИ + HOVER ЭФФЕКТЫ
   ═══════════════════════════════════════════════════════════════ */

/* Основной контейнер аватара */
.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Настоящее фото аватара */
.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.avatar-circle:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

/* Плейсхолдер (нет аватара) */
.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        #e9ecef 0%,
        #dee2e6 50%,
        #ced4da 100%);
    border: 4px solid #ffffff;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 2px 8px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.avatar-placeholder::before {
    content: '👤';
    font-size: 2.2rem;
    line-height: 1;
}

.avatar-placeholder:hover {
    background: linear-gradient(135deg,
        #007bff 0%,
        #0056b3 100%);
    transform: scale(1.05);
    box-shadow:
        0 12px 30px rgba(0, 123, 255, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

.avatar-placeholder:hover::before {
    content: '✏️';
    font-size: 1.8rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Контейнер профиля */
[data-theme="dark"] .profile-widget {
    border: 1px solid rgb(98 131 86);
    border-radius: 8px !important;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(87deg, #2b4d0f 0%, #4caf50 100%);
    box-shadow: 0 0 20px rgb(102 187 106 / 0.8), inset 0 0 20px rgb(76 175 80 / 0.9) !important;
}

/* Контейнер профиля */
.profile-widget {
    /*border: 1px solid rgb(209, 220, 205);*/
    border-radius: 10px !important;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #47c760 100%);
}

[data-theme="dark"] .sidebar-title-acc {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(47, 79, 15, 0.3);
    position: absolute;
    left: 130px;
    bottom: 110px;
}

.sidebar-title-acc {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(47, 79, 15, 0.3);
    position: absolute;
    left: 130px;
    bottom: 110px;
    color: aliceblue;
}

.profile-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgb(117 117 117 / 69%);
}

/* Имя пользователя */
.profile-username {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Био */
.profile-bio {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 1rem!important;
}

[data-theme="dark"] .profile-bio {
    font-size: 0.9rem;
    color: #e0e3e6!important;
    line-height: 1.5;
    margin-bottom: 1rem!important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .avatar-circle,
    .avatar-placeholder {
        width: 70px;
        height: 70px;
    }

    .avatar-placeholder::before {
        font-size: 2rem;
    }

    .sidebar-title-acc {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        text-shadow: 0 1px 2px rgba(47, 79, 15, 0.3);
        position: absolute;
        left: 180px;
        bottom: 100px;
        color: #525252;
        font-weight: 400 !important;
    }

    .before-shop-loop, .after-shop-loop, .h-list-container {
        display: contents;
        align-items: center;
        gap: 20px;
    }

    [data-theme="dark"] .sidebar-title-acc {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        text-shadow: 0 1px 2px rgba(47, 79, 15, 0.3);
        position: absolute;
        left: 180px;
        bottom: 144px;
        color: #d0ffae;
    }

    .text-muted {
        --bs-text-opacity: 1;
        color: #525252 !important;
    }

    [data-theme="dark"] .text-muted {
        --bs-text-opacity: 1;
        color: #d0ffae !important;
    }

    .profile-widget {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .profile-widget {
        border: 1px solid rgb(209, 220, 205);
        border-radius: 10px !important;
        margin-bottom: 2rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        background: none;
    }

     [data-theme="dark"] .my-account {
         max-width: 390px;
        background-color: #121914;
        color: #cdffa6;
        position: relative;
        margin-left: auto;
        margin-right: auto;
         overflow: hidden;
    }

    .container-account {
        max-width: 350px;
        width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 576px) {
    .avatar-circle,
    .avatar-placeholder {
        width: 60px;
        height: 60px;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .profile-widget {
        background: linear-gradient(135deg,
            #2d3748 0%,
            #4a5568 50%,
            #718096 100%);
        border-color: #4a5568;
    }

    .avatar-placeholder {
        background: linear-gradient(135deg, #4a5568, #2d3748);
        border-color: #4a5568;
    }

    .profile-username {
        color: #e2e8f0;
        background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .profile-bio {
        color: #a0aec0;
    }
}
.form-check-inline .form-check-input {
    margin-right: 0.5rem;
    margin-top: 0;
}

.form-check-inline .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    padding: 0.375rem 0;
}

.form-check-inline .form-check-input:checked + .form-check-label {
    color: #007bff;
    font-weight: 600;
}

.d-flex.gap-3 {
    gap: 1.5rem;
}


/* Widget Погоды */
#goa-widget {
    margin-top: 2rem;
    background: #e8f5e9;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgb(46 125 50 / 0.2);
    font-size: 0.9rem;
    color: #2e7d32;
}

/* Центр: таблица с данными пользователя */
.user-info-table {
    width: 100%;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: #f1f8e9;
    box-shadow: 0 0 15px rgb(46 125 50 / 0.1);
    color: #1b5e20;
    font-weight: 600;
    font-size: 15px;
}

.user-info-table tbody tr {
    background: #dcedc8;
    border-radius: 10px;
    height: 54px;
    transition: background 0.3s ease;
}

.user-info-table tbody tr:hover {
    background: #c5e1a5;
}

.user-info-table tbody tr td {
    vertical-align: middle;
    padding: 0.75rem 1.25rem;
    color: #2e7d32;
}

.user-info-table tbody tr td:first-child {
    display: flex;
    align-items: center;
    color: #4caf50;
    font-weight: 700;
}

.user-info-table tbody tr td:first-child i {
    margin-right: 10px;
    color: #388e3c;
}

/* Кнопки "Изменить профиль" и "Настройки" */
.main-column .btn {
    min-width: 140px;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.4s ease;
}

.main-column .btn-primary {
    background: linear-gradient(45deg, #0ebb49, #66bb6a);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgb(102 187 106 / 0.5);
}

.main-column .btn-primary:hover {
    background: linear-gradient(45deg, #2e7d32, #388e3c);
}

.main-column .btn-outline-primary {
    border: 2px solid #388e3c;
    color: #388e3c;
    background: transparent;
    transition: background 0.4s ease, color 0.4s ease;
}

.main-column .btn-outline-primary:hover {
    background: #a5d6a7;
    color: #1b5e20;
}

/* Справа - корзина */
.cart-column {
    background: #f9fbe7;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 12px rgb(76 175 80 / 0.2);
    height: 100%;
    position: sticky;
    top: 90px;
    text-align: center;
    color: #2e7d32;
    background: linear-gradient(135deg, #ffffff 0%, #47c760 100%);
}

.cart-column h5 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: #388e3c;
}

.cart-quantity {
    font-size: 2rem;
    font-weight: 700;
    background: #66bb6a;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgb(102 187 106 / 0.8);
}

.cart-column .btn {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 7px;
    margin-bottom: 1rem;
    transition: background 0.4s ease;
}

.cart-column .btn-outline-secondary {
    color: #4caf50;
    border-color: #81c784;
}

.cart-column .btn-outline-secondary:hover {
    background: #c8e6c9;
    color: #2e7d32;
}

.cart-column .btn-primary {
    background: linear-gradient(45deg, #00ba44, #66bb6a);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgb(76 175 80 / 0.6);
}

.cart-column .btn-primary:hover {
    background: linear-gradient(45deg, #2e7d32, #4caf50);
}

/* Адаптивность */
@media (max-width: 991.98px) {
    .sidebar-column,
    .cart-column {
        position: relative;
        top: auto;
        height: auto;
        margin-bottom: 24px;
        max-width: 388px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 767.98px) {
    .main-column {
        max-height: 450px; /* Больше места */
        overflow-y: auto;
        overflow-x: visible !important; /* ✅ Важно! */
        -webkit-overflow-scrolling: touch;
        padding: 20px;
        border-radius: 16px;
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
        margin-bottom: 33px;
    }

    .main-column .user-info-table td:first-child {
        padding: 18px 20px !important;
        min-width: 160px;
        max-width: 160px;
        /* ✅ УБИРАЕМ эти строки для переноса текста */
        /* white-space: nowrap; */
        /* overflow: visible !important; */

        /* ✅ ДОБАВЛЯЕМ перенос текста */
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;

        background: rgba(46, 164, 79, 0.1);
        border-radius: 10px 0 0 10px;
        font-weight: 700;
        color: #2ea44f;
        font-size: 15px;
        display: table-cell !important;
        line-height: 1.4 !important; /* ✅ Улучшенная читаемость */
        vertical-align: middle !important;
    }


    /* ✅ ТАБЛИЦА - БЕЗ overflow hidden */
    .main-column .user-info-table {
        width: 100%;
        table-layout: auto; /* ✅ По содержимому */
        margin-bottom: 25px;
        border-spacing: 0;
        border-collapse: separate;
        border-radius: 12px;
        overflow: visible !important; /* ✅ Видим весь контент */
    }

    /* ✅ СТРОКИ - полный размер */
    .main-column .user-info-table tbody tr {
        display: table-row !important; /* ✅ Обычная таблица */
        height: auto !important; /* ✅ Авто высота */
        min-height: 60px;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        border-radius: 10px;
        margin-bottom: 8px;
        border: 1px solid rgba(46, 164, 79, 0.15);
        overflow: visible !important; /* ✅ Не обрезаем */
    }

    /* ✅ ПЕРВАЯ ЯЧЕЙКА - иконка + название */
    .main-column .user-info-table td:first-child {
        padding: 18px 20px !important;
        min-width: 160px;
        max-width: 160px;
        white-space: nowrap; /* ✅ Не переносим */
        overflow: visible !important;
        background: rgba(46, 164, 79, 0.1);
        border-radius: 10px 0 0 10px;
        font-weight: 700;
        color: #2ea44f;
        font-size: 15px;
        display: table-cell !important;
    }

    /* ✅ ВТОРАЯ ЯЧЕЙКА - значение (длинный email) */
    .main-column .user-info-table td:last-child {
        padding: 18px 20px !important;
        min-width: 200px;
        word-break: break-word; /* ✅ Перенос длинных email */
        overflow-wrap: break-word;
        hyphens: auto;
        text-align: left;
        background: white;
        border-radius: 0 10px 10px 0;
        font-size: 14px;
        line-height: 1.4;
        overflow: visible !important;
    }

    /* ✅ Иконки не обрезаются */
    .main-column .user-info-table i {
        min-width: 18px;
        width: 18px;
        text-align: center;
    }
}


@media (max-width: 767.98px) {
    .user-info-table tbody tr {
        display: block;
        background: transparent !important;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .avatar-initial {
        width: 40px;
        height: 40px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        user-select: none;
        text-transform: uppercase;
        font-family: Arial, sans-serif;
        background: linear-gradient(to bottom left, #a6d785, green, #a6d785);
        background-size: 200% 200%;
        animation: gradientShift 5s ease infinite;
        padding: 5px;
    }

    .user-info-table tbody tr td {
        display: flex;
        justify-content: space-between;
        padding: 12px 8px;
        background: #dcedc8;
        margin-bottom: 10px;
        border-radius: 8px;
        color: #2e7d32;
    }

    .shop-loop-title, .breadcrumbs-title, .h2-title {
    flex-shrink: 0;
    font-size: 18px!important;
    font-weight: 500!important;
    white-space: nowrap;
    margin: 0;
    margin-bottom: 1rem !important;
}

    .user-info-table tbody tr:hover td {
        background: #c5e1a5;
    }

    .user-info-table tbody tr td:first-child {
        flex: 1;
        font-weight: 600;
        color: #388e3c;
        background: transparent;
        padding-left: 0;
    }
}

/* === Тёмная тема === */

[data-theme="dark"] .my-account {
    background-color: #121914;
    color: #cdffa6;
}

[data-theme="dark"] .account-dashboard .dashboard-upper-info {
    border-bottom: 1px solid #245624;
}

[data-theme="dark"] .account-dashboard .dashboard-upper-info .d-single-info p {
    color: #a7d986;
}

[data-theme="dark"] .account-dashboard .dashboard-upper-info .d-single-info p span {
    color: #cfffb5;
}

[data-theme="dark"] .account-dashboard .dashboard-upper-info .view-cart {
    color: #a3d366;
}

[data-theme="dark"] .account-dashboard .dashboard-upper-info .view-cart:hover {
    color: #7aaa1e;
}

[data-theme="dark"] .sidebar-column {
    background: linear-gradient(135deg, #2b4d0f 0%, #4caf50 100%);
    box-shadow: 0 0 20px rgb(102 187 106 / 0.8),
    inset 0 0 20px rgb(76 175 80 / 0.9);
    color: #b9f6ca;
    height: fit-content;
}

.dashboard-upper-info .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}


/* ОЧИСТКА и ПЕРЕОПРЕДЕЛЕНИЕ Bootstrap */
.account-dashboard .dashboard-upper-info {
    padding: 20px 0;
    overflow: hidden; /* Убираем лишние отступы */
}

.account-dashboard .dashboard-upper-info .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 15px !important;
    margin: 0 !important; /* Убираем Bootstrap margin */
}

/* ПЕРЕОПРЕДЕЛЯЕМ КОЛОНКИ */
.account-dashboard .dashboard-upper-info [class*="col-"] {
    padding: 0 8px !important; /* Фиксируем padding */
    flex: 1 !important;
    min-width: 250px !important;
    max-width: 300px !important;
    flex-grow: 0 !important;
}

/* КАРТОЧКИ */
.account-dashboard .dashboard-upper-info .d-single-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 140px !important;
    padding: 20px 15px !important;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border-radius: 12px !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.account-dashboard .dashboard-upper-info .d-single-info:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* ТЕКСТ */
.account-dashboard .dashboard-upper-info .d-single-info p {
    margin: 0 0 10px 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    color: #495057 !important;
}

.account-dashboard .dashboard-upper-info .user-name span {
    font-weight: 700 !important;
    color: #212529 !important;
    font-size: 14px !important;
    display: block !important;
}

/* EMAIL - ПЕРЕОПРЕДЕЛЯЕМ INLINE */
.account-dashboard .dashboard-upper-info .email-container {
    font-size: 14px !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border: 2px solid #2ea44f !important;
    border-radius: 8px !important;
    color: #2ea44f !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    margin-top: auto !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.account-dashboard .dashboard-upper-info .email-container:hover {
    background: #2ea44f !important;
    color: white !important;
    transform: scale(1.02) !important;
}

/* DOWNLOAD КНОПКА */
.account-dashboard .dashboard-upper-info .view-cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #2ea44f, #22863a) !important;
    color: white !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(46,164,79,0.3) !important;
    margin-top: auto !important;
    justify-content: center !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.account-dashboard .dashboard-upper-info .view-cart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(46,164,79,0.4) !important;
}

/* МОБИЛЬНАЯ ПРОКРУТКА */
@media (max-width: 1200px) {
    .account-dashboard .dashboard-upper-info {
        padding: 20px 5px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-dashboard .dashboard-upper-info .row {
        min-width: 1050px; /* Сумма всех блоков */
        padding: 0 10px;
    }
}


[data-theme="dark"] .sidebar-title {
    color: #d0ffae;
    text-shadow: 0 0 1px #7cbb1f;
}

[data-theme="dark"] .sidebar-menu .nav-link {
    color: #b2dfdb;
    border: none;
}

[data-theme="dark"] .sidebar-menu .nav-link:hover {
    color: #d0ffae;
    background: rgba(158, 255, 111, 0.2);
    border-bottom: 1px solid rgba(158, 255, 111, 0.6);
}

[data-theme="dark"] .sidebar-menu .nav-link.text-danger {
    color: #f6675e;
}

[data-theme="dark"] .sidebar-menu .nav-link.text-danger:hover {
    color: #ff8473;
}

[data-theme="dark"] #goa-widget {
    background: #1a2a0b;
    box-shadow: 0 0 20px #64dd17aa;
    color: #cfff91;
}

[data-theme="dark"] .user-info-table {
    background: #1f2c12;
    box-shadow: 0 0 20px rgba(158, 255, 111, 0.3);
    color: #d0ffae;
}

[data-theme="dark"] .user-info-table tbody tr {
    background: #285108;
}

[data-theme="dark"] .user-info-table tbody tr:hover {
    background: #3c7512;
}

[data-theme="dark"] .user-info-table tbody tr td:first-child {
    color: #a1d06b;
}

[data-theme="dark"] .main-column .btn-primary {
    background: linear-gradient(45deg, #7cb342, #aed581);
    box-shadow: 0 5px 18px rgba(174, 213, 129, 0.75);
    color: #1b3708;
}

[data-theme="dark"] .main-column .btn-primary:hover {
    background: linear-gradient(45deg, #558b2f, #8bc34a);
    color: #f1f9e7;
    box-shadow: 0 0 16px #9ada58;
}

[data-theme="dark"] .main-column .btn-outline-primary {
    border-color: #9acd32;
    color: #9acd32;
}

[data-theme="dark"] .main-column .btn-outline-primary:hover {
    background: #8bc34a33;
    color: #d1ff7c;
}

[data-theme="dark"] .cart-column {
    background: linear-gradient(135deg, #2b4d0f 0%, #4caf50 100%);
    box-shadow: 0 0 20px rgb(102 187 106 / 0.8),
    inset 0 0 20px rgb(76 175 80 / 0.9);
    color: #b4f18c;
    height: fit-content;
}

[data-theme="dark"] .cart-column h5 {
    color: #9ccc65;
}

[data-theme="dark"] .cart-quantity {
    background: #a0d468;
    color: #22330e;
    box-shadow: 0 0 18px #a0d468bb;
}

[data-theme="dark"] .cart-column .btn-outline-secondary {
    color: #c5e1a5;
    border-color: #9caf88;
}

[data-theme="dark"] .cart-column .btn-outline-secondary:hover {
    background: #a5d68f33;
    color: #8caf53;
}

[data-theme="dark"] .cart-column .btn-primary {
    background: linear-gradient(45deg, #80d66e, #358b31);
    box-shadow: 0 0 25px rgba(158, 255, 111, 0.8);
    color: #334115;
}

[data-theme="dark"] .cart-column .btn-primary:hover {
    background: linear-gradient(45deg, #7ea32f, #8bc34a);
    color: #f4ffe1;
    box-shadow: 0 0 32px #a8db58;
}

/* Адаптивность для темной темы совпадает с общей */

/* Плавные переходы для всей страницы */
.my-account,
.sidebar-column,
.account-dashboard .dashboard-upper-info,
.user-info-table,
.cart-column,
.main-column .btn,
.sidebar-menu .nav-link {
    transition: background-color 0.5s ease, color 0.3s ease, box-shadow 0.5s ease;
}

/*edit account*/
/* --- Базовые стили страницы и шрифты --- */
.container-edit {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
    padding: 40px;
    padding-bottom: 40px !important;
    padding-top: 40px !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2e7d32; /* основной зеленый цвет */
    background-color: #f9faf7;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(102, 187, 106, 0.15),
    inset 0 0 12px rgba(86, 171, 47, 0.05);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.cancel-settings {
    position: relative;
    bottom: 60px;
    left: 88%;
}

.container-account {
    max-width: 1450px;
    width: 100%;
    padding: 10px 0;
    margin: 0 auto; /* Центрирование контейнера */
    box-sizing: border-box; /* на всякий случай, чтобы padding не влиял на ширину */
}


.account-edit-form {
    margin-top: 40px;
}


/* Заголовок */
h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #004100;
    text-shadow: 0 1px 2px rgba(56, 139, 60, 0.2);
}

/* --- Формы и поля --- */
form {
    width: 100%;
}

.mb-3 {
    margin-bottom: 1.25rem;
}

/* Метки формы */
label,
.form-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #0c3b0e;
}

/* Инпуты, селекты, textarea */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
    /*border: 2px solid #66bb6a;*/
    border-radius: 8px;
    /*background-color: #f1f8e9;*/
    color: #2b661f;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #aed581;
    box-shadow: 0 0 8px #9ccc6580;
    background-color: #e8f5e9;
}

/* Текстовые области */
textarea {
    min-height: 100px;
    resize: vertical;
}

/* Ошибки валидации */
.text-danger {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 0.3rem;
    font-weight: 600;
}

/* --- Чекбоксы и радиокнопки --- */
.form-check {
    margin-bottom: 1rem;
    user-select: none;
}

.form-check-input {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    accent-color: #4caf50;
    cursor: pointer;
}

.form-check-label {
    font-size: 1rem;
    color: #343b34;
    cursor: pointer;
    font-weight: 400;
}

/* Радиокнопки для Social Title */
input[type="radio"] {
    accent-color: #4caf50;
    margin-right: 0.4rem;
    cursor: pointer;
}

.custom-radio label {
    cursor: pointer;
    font-size: 1rem;
    color: #2e7d32;
    font-weight: 600;
    margin-right: 1.5rem;
}

/* --- Кнопка Сохранить --- */

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    box-shadow: 0 0 20px rgba(56, 139, 60, 0.8);
    outline: none;
    border-color: rgba(56, 139, 60, 0.8)!important;
}

/* Изображение аватара */
img[alt="Avatar"] {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5ede5;
    box-shadow: 0 0 10px #66bb6a99;
    margin-bottom: 0.75rem;
}

/* Горизонтальная линия */
hr {
    border: none;
    border-top: 1.8px solid #a5d6a7;
    margin: 2rem 0;
    border-radius: 2px;
}

/* --- Тёмная тема --- */
[data-theme="dark"] .container {
    background-color: #121914;
    color: #b9f6ca;
    /*box-shadow:*/
    /*    0 0 30px rgba(158, 255, 111, 0.4),*/
    /*    inset 0 0 25px rgba(102, 187, 106, 0.6);*/
    /*margin-bottom: 40px;*/
}


[data-theme="dark"] .container-edit {
    background-color: #121914;
    color: #b9f6ca;
    box-shadow: 0 0 30px rgba(158, 255, 111, 0.4), inset 0 0 25px rgba(102, 187, 106, 0.6);
    margin-bottom: 40px;
    padding: 40px;
    padding-bottom: 40px !important;
    padding-top: 40px !important;
}

[data-theme="dark"] h2 {
    color: #a4d55d;
    text-shadow: 0 0 2px #6a9a09;
}

[data-theme="dark"] label,
[data-theme="dark"] .form-label,
[data-theme="dark"] .form-check-label,
[data-theme="dark"] .custom-radio label {
    color: #a5d97e;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    border: 2px solid #2b661f;
    color: #d0f3a0;
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] input[type="url"]:focus,
[data-theme="dark"] input[type="date"]:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    background-color: #283521;
    border-color: #b1ee87;
    box-shadow: 0 0 10px #a8db5880;
    color: #e1f9be;
    outline: none;
}

[data-theme="dark"] .text-danger {
    color: #ff6e6e;
}

/* Чекбоксы и радиокнопки в темной теме */
[data-theme="dark"] .form-check-input,
[data-theme="dark"] input[type="radio"] {
    accent-color: #a4d55d;
}

/* Кнопка сохранять */
[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #0f9045 0%, #05682c 100%);
    color: #cdebb3;
    border-color: green;
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-primary:focus {
    background: linear-gradient(135deg, #0f9045 0%, #579400 100%);
    box-shadow: 0 0 32px #93c54bbc;
    color: #f1ffd6;
}

/* Аватар в темной теме */
[data-theme="dark"] img[alt="Avatar"] {
    border: 3px solid #7c7c7c;
    box-shadow: 0 0 14px #b6de56cc;
}

/* Горизонтальная линия */
[data-theme="dark"] hr {
    border-top-color: #547d2f;
}

/* Плавные переходы: */
.container,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="date"],
textarea,
select,
label,
.btn-primary,
img[alt="Avatar"] {
    transition: all 0.4s ease;
}

/* --- Responsive --- */
@media (max-width: 576px) {
    .container {
        padding: 1rem;
        border-radius: 8px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .mb-3 {
        margin-bottom: 1rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 10px;
        margin-left: 4px;
    }

    .avatar-initial {
        width: 35px !important;
        height: 35px !important;
        color: white;
        font-weight: bold;
        font-size: 22px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        user-select: none;
        text-transform: uppercase;
        font-family: Arial, sans-serif;
        background: linear-gradient(to bottom left, #a6d785, green, #a6d785);
        background-size: 200% 200%;
        animation: gradientShift 5s ease infinite;
        padding: 5px !important;
    }
}


/*end edit account*/

/* THE SWITCH - THE BOX AROUND THE SLIDER ------------------------------------------------------*/

/* Контейнер переключателя */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

/* Скрываем стандартный checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Стиль ползунка */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

/* Круглая ручка переключателя */
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* Состояние включено */
.switch input:checked + .slider {
    background-color: #4caf50;
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}


/* FOOTER --------------------------------------------------------------------------------------*/
.footer {
    background: #fff;
}

[data-theme="dark"] .footer {
    background: #000;
}

/* СОЦИКОНКИ */
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-links i {
    transition: color 0.3s ease;
}

/* Стиль для иконок */
.social-icon {
    padding: 10px; /* Отступы вокруг иконок */
    /*background-color: #6c757d; !* Основной цвет фона (серый) *!*/
}

/* Индивидуальные цвета для каждой соцсети */
/*.social-icon:nth-child(1) { background-color: #3b5998; } !* Facebook *!*/
/*.social-icon:nth-child(2) { background-color: #1da1f2; } !* Twitter *!*/
/*.social-icon:nth-child(3) { background-color: #ff0000; } !* YouTube *!*/
/*.social-icon:nth-child(4) { background-color: #4c75a3; } !* VK *!*/
/*.social-icon:nth-child(5) { background-color: #e4405f; } !* Instagram *!*/
/*.social-icon:nth-child(6) { background-color: #f2a900; } !* Odnoklassniki *!*/
/*.social-icon:nth-child(7) { background-color: #0088cc; } !* Telegram *!*/

.footer .social-links {
    justify-content: end;
}

/* Стиль для мобильной и планшетной версии ---------------------------------*/
@media (max-width: 767px) {
    .footer .container-fluid {
        padding-bottom: 40px;
    }

    .shop-loop-title, .breadcrumbs-title, .h2-title {
        flex-shrink: 0;
        font-size: 15px;
        font-weight: 400;
        white-space: nowrap;
        margin: 0;
    }

    .footer .row {
        text-align: center; /* Центрируем контент */
    }

    .footer .col-12 {
        margin-bottom: 20px; /* Отступы между колонками на мобильных */
    }

    .footer .social-links {
        justify-content: center; /* Центрируем социальные иконки */
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav a {
        font-size: 0.9rem; /* Уменьшаем шрифт на мобильных */
        padding: 5px 10px; /* Увеличиваем отступы между пунктами */
    }

    .footer .col-12.col-md-4 {
        text-align: center; /* Центрируем контент в каждой колонке */
    }

}

/* Стиль для планшетов */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer .container-fluid {
        padding: 0 30px; /* Отступы по бокам для планшетов */
    }

    .footer-nav a {
        font-size: 1rem;
        padding: 10px;
    }

    .footer .social-links {
        justify-content: center;
        gap: 20px; /* Увеличиваем отступы между иконками */
    }

    .footer .social-icon {
        font-size: 2rem; /* Размер иконок */
    }
}

/* НАВЕРХ Скрыть на телефонах */
@media (max-width: 767.98px) {
    #backToTop {
        display: none !important;
    }
}

/* register.css */

/* Общие контейнеры */
.register-account {
    padding-bottom: 60px;
    padding-top: 30px;
    border-radius: 6px;
    margin-top: 20px;
}

[data-theme="dark"] .register-account {
    padding-bottom: 60px;
    padding-top: 30px;
    border-radius: 6px;
    margin-top: 20px;
}

/* Заголовок */
.register-title h3 {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #222;
    margin-top: 10px;
}

[data-theme="dark"] .register-title h3 {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 700;
    color: whitesmoke;
    margin-top: 10px;
}

.register-title p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

[data-theme="dark"] .register-title p {
    margin: 0;
    color: whitesmoke;
    font-size: 14px;
}

/* Поля формы */
.form-horizontal .form-group {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.form-horizontal .control-label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

[data-theme="dark"] .form-horizontal .control-label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 6px;
    color: whitesmoke;
}

.col-sm-10 {
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: 0 0 6px rgba(102, 175, 233, 0.15);
}

/* required mark */
.require {
    color: #d9534f;
    margin-right: 6px;
    font-weight: 700;
}

/* Линии между секциями */
fieldset {
    border: 0;
    margin: 18px 0 18px 0;
    padding: 0;
}

legend {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #222;
}

[data-theme="dark"] legend {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    color: whitesmoke;
}

/* Ошибки формы и общее сообщение */
.form-error {
    color: #d9534f;
    margin-top: 6px;
    font-size: 13px;
}

.alert {
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.alert-info {
    background-color: #d9edf7;
    color: #31708f;
    border: 1px solid #bce8f1;
}

.alert-warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.alert-danger, .alert-error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Newsletter / Radio */
.newsletter-input .radio-inline {
    margin-right: 12px;
    font-size: 14px;
    color: #333;
}

.newsletter-input .control-label {
    margin-bottom: 8px;
}

/* Кнопка */
.newsletter-btn {
    background: linear-gradient(#3b7bd8, #2a62b4);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s ease, transform .05s ease;
}

.newsletter-btn:hover,
.newsletter-btn:focus {
    background: linear-gradient(#2f6fc6, #245ea6);
    transform: translateY(-1px);
    outline: none;
}

/* Правый блок с соглашением */
.buttons .pull-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.agree {
    color: #337ab7;
    text-decoration: none;
}

.agree:hover {
    text-decoration: underline;
}

/* Поля с ошибкой */
.form-control.error, .has-error .form-control {
    border-color: #d9534f;
    box-shadow: none;
}

/* Checkbox styling немного */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

/* Мелкие вспомогательные стили */
.field-row {
    margin-bottom: 12px;
}

/* Адаптивность */
@media (min-width: 576px) {
    .register-account {
        padding-left: 30px;
        padding-right: 30px;
    }

    .user-avatar {
        width: 32px; /* размер аватара */
        height: 32px; /* высота */
        border-radius: 50%; /* круглая форма */
        object-fit: cover; /* кадрирование изображения */
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }

    /* Отступ справа от аватара */
    .user-avatar.me-2 {
        margin-right: 0.5rem; /* 8px отступ справа */
    }

    .control-label {
        width: 25%;
        flex: 0 0 25%;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .col-sm-10 {
        width: 75%;
        flex: 0 0 75%;
    }

    .form-horizontal .form-group {
        align-items: center;
    }

    .buttons .pull-right {
        justify-content: flex-end;
    }
}

@media (min-width: 768px) {
    .register-title h3 {
        font-size: 28px;
    }
}

/* Небольшие подсказки */
input[readonly], input[disabled] {
    background-color: #e9ecef;
    opacity: 1;
}

/* Скрытые сообщения под формой */
.form-nonfield {
    margin-top: 8px;
    font-size: 13px;
    color: #d9534f;
}

.return-customer-btn {
    padding: 10px 0;
    font-weight: bold;
    font-size: 16px;
}

.well {
    background-color: #f8f9fa;
    margin-top: 44px;
    padding: 13px;
}

[data-theme="dark"] .well {
    background-color: #121914;
    margin-top: 44px;
    padding: 13px;
}

.lost-password a {
    font-size: 0.9rem;
    text-decoration: underline;
    color: #007bff;
}

.lost-password a:hover {
    color: #0056b3;
    text-decoration: none;
}


.avatar-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%; /* Круг */
    margin-right: 10px;
}

.avatar-initial {
    width: 37px;
    height: 37px;
    color: white;
    font-weight: bold;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Круг */
    user-select: none;
    text-transform: uppercase;
    background: linear-gradient(to bottom left, #a6d785, green, #a6d785);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    margin-top: 3px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#marquee-wrapper {
    position: relative;
    overflow: hidden;
    height: 40px; /* высота */
}

/* По умолчанию (на десктопе) */
@media (min-width: 769px) {
    #marquee-wrapper > .col-12 {
        display: flex;
        /*justify-content: center; !* горизонтальное центрирование *!*/
        align-items: center; /* вертикальное центрирование */
        position: relative; /* чтобы кнопка закрытия оставалась */
    }

    #marquee-text {
        position: relative;
        animation-name: none;
        transform: none;
        white-space: normal; /* текст может переноситься */
        cursor: default;
        text-align: center; /* центрирование текста внутри блока */
    }
}

/* На мобильных (ширина экрана 768px и меньше) */
@media (max-width: 768px) {
    #marquee-text {
        position: absolute;
        will-change: transform;
        animation-name: marquee-animation;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-duration: 31s;
        animation-fill-mode: forwards;
        width: 100%;
        left: 0;
        transform: translateX(100%);
        white-space: nowrap; /* запрет переноса для анимации */
        cursor: default;
        text-align: left; /* по желанию, выровнять текст слева */
        top: 8px;
    }

    .account-dashboard-margin {
        margin-top: 13px;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    @keyframes marquee-animation {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

.bg-side-menu-buttons {
    background-color: #f5f5f5;
    padding: 10px 15px;
    border-radius: 13px;
    border: 1px solid #8080808f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    position: relative;
    bottom: 15px;
}


[data-theme="dark"] .bg-side-menu-buttons {
    background-color: #000;
    padding: 10px 15px;
    border-radius: 13px;
    border: 1px solid #8080808f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    position: relative;
    bottom: 15px;
}


.brand-banner.owl-carousel {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: 40px;
}

/* Светлая тема */
.brand-banner .single-brand {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-banner .single-brand:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.brand-banner .single-brand img.img,
.brand-banner .single-brand img.img-fluid {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Тёмная тема */
[data-theme="dark"] .brand-banner .single-brand {
    background-color: #222; /* тёмный фон */
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .brand-banner .single-brand:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25);
}

/* Мобильная адаптация */
@media (max-width: 767.98px) {
    .brand-banner .single-brand img.img,
    .brand-banner .single-brand img.img-fluid {
        max-height: 45px;
    }
}

pre {
    background: #f5f5f5;
    padding: 10px;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-top: 13px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box .form-control.search-input {
  flex-grow: 1;
  position: relative;
  z-index: 2;
  background-color: transparent;
  padding-left: 14px; /* чтобы текст печатаемый не задевал */
    margin-right: 5px;
}

.placeholder-typer-two {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;       /* Чтобы элемент не мешал кликам по input */
  user-select: none;          /* Запрет выделения текста */
  /*font-family: monospace;     !* Моноширинный шрифт для эффекта печати *!*/
  font-size: 1rem;            /* Размер шрифта примерно соответствует input */
  white-space: nowrap;        /* Запрет переноса строки */
  overflow: hidden;           /* Обрезаем лишнее */
  max-width: 95%;             /* Чтобы текст не выходил за пределы input */
  opacity: 0.7;               /* Немного прозрачности для эффекта плейсхолдера */
  border-right: none;  /* Курсор */
  animation:
    typing 3s steps(30, end) forwards,
    blink-caret 0.75s step-end infinite;
  width: 0;
  display: inline-block;
}

.search-input:focus + .placeholder-typer-two,
.search-input:not(:placeholder-shown) + .placeholder-typer-two {
  opacity: 0;
  pointer-events: none;
}


@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #444;
  }
}

/* Form Styles */
form.wpcf7-form {
  max-width: 600px;
}

form.wpcf7-form-max {
  max-width: 1350px!important;
}


/* Светлая тема */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ced4da !important;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff !important;
  color: #000000; /* добавил цвет текста для светлой темы */
}

/* Темная тема - применить ко всем перечисленным элементам в форме внутри элемента с data-theme="dark" */
[data-theme="dark"] .wpcf7-form input[type="text"],
[data-theme="dark"] .wpcf7-form input[type="email"],
[data-theme="dark"] .wpcf7-form select,
[data-theme="dark"] .wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #5e7665 !important;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #a9b6ad !important;
  color: #1f2e25; /* темный зеленоватый цвет для текста */
}


[data-theme="dark"] button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: #a4ae9b;
    /*padding: 4px;*/
}


[data-theme="dark"] .wp-block-list li {
    margin-bottom: 8px;
    color: aquamarine;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: #ffffff;
    padding: 4px;
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.4;
}

.wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, #62b565 0%, #0c9212 100%);;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

[data-theme="dark"] .wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, #62b565 0%, #0c9212 100%);;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 21px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus {
  background: linear-gradient(135deg, #4caf50 0%, #1a6c1e 100%);
  box-shadow: 0 0 20px rgba(56, 139, 60, 0.8);
  outline: none;
}

/* Utility for large emoji font */
.has-x-large-font-size {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 10px;
}

.wp-block-columns.box {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  align-items: center;
  max-width: 1350px;
  margin: 0 auto 40px auto;
}

.wp-block-column[style*="flex-basis:20%"] {
  flex-basis: 20%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wp-block-column[style*="flex-basis:20%"] .wp-block-image {
  margin: 0; /* remove default margin */
  max-width: 100%;
}

.wp-block-column[style*="flex-basis:20%"] img.wp-image-56097 {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
}

.wp-block-column[style*="flex-basis:80%"] {
  flex-basis: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wp-block-heading.has-x-large-font-size {
  font-size: 2rem;
  font-weight: 800;
  color: #008f00;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.has-medium-font-size {
  font-size: 1.125rem;
  margin-bottom: 15px;
}

.wp-block-column p[style] {
  font-size: 16px !important;
  margin-bottom: 20px;
}

.wp-block-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.wp-block-button.has-custom-width.wp-block-button__width-25 {
  width: 25%;
}

.wp-block-button__link.has-vivid-green-cyan-background-color {
  background-color: #356b0b;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.wp-block-button__link_two.has-vivid-green-cyan-background-color_two {
    background-color: #356b0b;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
    width: 200px;
    height: 55px;
    justify-content: center;
    margin-top: 44px;
}

.wp-block-button__link.has-vivid-green-cyan-background-color:hover,
.wp-block-button__link.has-vivid-green-cyan-background-color:focus {
  background-color: #0a95b0;
  outline: none;
  color: #fff;
}

@media (max-width: 768px) {
  .wp-block-columns.box {
    flex-direction: column;
    padding: 15px;
  }

  .wp-block-column[style*="flex-basis:20%"],
  .wp-block-column[style*="flex-basis:80%"] {
    flex-basis: 100% !important;
    margin-bottom: 25px;
  }

  .wp-block-column[style*="flex-basis:20%"] img.wp-image-56097 {
    max-width: 250px;
  }

  .wp-block-heading.has-x-large-font-size {
    font-size: 1.75rem;
    text-align: center;
  }

  .wp-block-buttons {
    justify-content: center;
  }

  .wp-block-button.has-custom-width.wp-block-button__width-25 {
    width: auto !important;
  }
  .mobile-elephant {
      position: relative;
      text-align: left;
      font-size: 26px !important;
      right: 55px;
  }
  .mobile-elephant-desc {
      position: relative;
      text-align: left;
      font-size: 19px !important;
      right: 55px;
      margin-bottom: auto;
      font-weight: 400;
  }

    .wp-block-cover__inner-container.overlay-text-button {
        position: absolute;
        top: 20px;
        left: 100px;
        bottom: 10px;
        right: auto;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 5px;
        color: white;
    }

    .has-medium-font-size {
        font-size: 1.125rem;
        margin-bottom: 15px;
        position: relative;
        text-align: left;
        right: 55px;
    }
}


.wp-block-buttons-hwwr {
  display: flex;
  gap: 5px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.wp-block-button-hwwr {
  flex: 1 1 140px; /* ширина кнопок одинаковая, растягиваются при необходимости */
  max-width: 140px;
}

.has-text-align-left-hwwr {
  text-align: left;
}

.wp-block-group.is-nowrap.is-layout-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}


.wp-block-button__link-hwwr {
    background: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--primary-color, #0044ff);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cacaca;
    max-width: 140px;
    width: 100%;
}


[data-theme="dark"] .wp-block-button__link-hwwr {
    background: #141619;
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--primary-color, #0044ff);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #717171;
    max-width: 140px;
    width: 100%;
}

.wp-block-button__link-hwwr:hover,
.wp-block-button__link-hwwr:focus {
  background-color: #007acc;
  color: #fff;
  outline: none;
}

@media (max-width: 768px) {
  .wp-block-buttons-hwwr {
    flex-direction: column;
  }
  .wp-block-button-hwwr {
    width: 100%;
  }
}

.wp-block-columns-hwwr {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* промежуток между колонками */
  justify-content: space-between;
  margin-bottom: 1.5em;
}

.wp-block-columns-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* промежуток между колонками */
  justify-content: space-between;
  margin-bottom: 1.5em;
}

.wp-block-columns-calc {
  display: flex;
  flex-wrap: initial!important;
  gap: 20px; /* промежуток между колонками */
  justify-content: space-between;
  margin-bottom: 1.5em;
}

.wp-block-columns-calc {
  /*display: flex;*/
  flex-wrap: wrap;
  gap: 20px; /* промежуток между колонками */
  justify-content: space-between;
  margin-bottom: 1.5em;
}

.has-x-large-font-size-hwwr {
  font-size: 2rem;
  line-height: 1;
  margin-right: 0.5rem;
}

ul.wp-block-list-hwwr {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.wp-block-column-hwwr {
  flex: 0 0 calc((100% - 40px) / 3); /* ширина одной колонки с учётом gap */
  box-sizing: border-box;
}

.wp-block-column-four {
  flex: 0 0 calc((100% - 60px) / 4); /* 4 колонки по ширине с учетом 20px gap */
  box-sizing: border-box;
}

.wp-block-column-f {
  /*flex: 0 0 calc((100% - 60px) / 4); !* 4 колонки по ширине с учетом 20px gap *!*/
  box-sizing: border-box;
}

.title-how-we-work {
    font-size: 1.7rem;
    font-weight: 400;
    margin-top: 44px;
    color: #333333;
    text-shadow: 0 1px 2px rgba(56, 139, 60, 0.2);
}

.title-delivery {
    font-size: 1.7rem;
    font-weight: 400;
    margin-top: 44px;
    color: #333333;
    text-shadow: 0 1px 2px rgba(56, 139, 60, 0.2);
}

/* Мобильные устройства - колонки в один столбец */
@media (max-width: 768px) {
  .wp-block-column-hwwr {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.accordion-item__toggle {
    background: linear-gradient(145deg, #fdfcfc, #f0f0f0);
    border: 1px solid #f9f9f9;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    outline: none;
}

/* Тёмная тема под body[data-theme="dark"] */
[data-theme="dark"] .accordion-item__toggle {
  background: #1d2a20 !important;
  border: 1px solid #1d2a20 !important;
  color: #f0f0f0; /* светлый текст для контраста */
}

.accordion-item__toggle:hover,
.accordion-item__toggle:focus {
  background-color: #e6f0ff;
}

.accordion-item__toggle-icon {
  transition: transform 0.3s ease;
    font-size: 13px;
}

.accordion-item__toggle[aria-expanded="true"] .accordion-item__toggle-icon {
  transform: rotate(180deg);
}

.wp-block-woocommerce-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 12px;
  font-size: 0.95rem;
}

.wp-block-woocommerce-accordion-item[aria-expanded="true"] .wp-block-woocommerce-accordion-panel {
  max-height: 500px; /* или подходящая высота */
  padding-bottom: 12px;
}

.accordion-content__wrapper {
  margin-top: 8px;
}

.public-offer {
  max-width: 1300px;
  margin: 40px auto;
  padding: 20px 25px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  color: #333;
}

[data-theme="dark"] .container-oferta {
     background-color: #121212!important;
    color: #b9f6ca;
    margin-bottom: 40px;
}

[data-theme="dark"] .container-shop {
     background-color: #121212!important;
    color: #b9f6ca;
    margin-bottom: 40px;
    max-width: 1520px;
    width: 100%!important;
}

.container-shop {
    margin-bottom: 40px;
    max-width: 1520px;
    width: 100%!important;
}


/* ✅ Контейнер скролла */
.categories-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    padding: 8px;
}

/* ✅ Горизонтальный список */
.categories-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-snap-type: x mandatory;
}

/* ✅ Скрываем стандартный скроллбар */
.categories-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* ✅ Элемент категории */
.category-item {
    flex: 0 0 112px; /* Фиксированная ширина */
    scroll-snap-align: start;
    min-width: 112px;
}

.category-subitem {
    flex: 0 0 144px; /* Фиксированная ширина */
    scroll-snap-align: start;
    min-width: 144px;
}

/* ✅ Карточка категории */
.category-card {
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.category-card:hover {
    transform: translateY(1px);
    box-shadow: 0 4px 13px rgba(0,0,0,0.15);
}

/* ✅ Кнопки скролла */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.75);
    border: 2px solid #dee2e6;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-btn:hover {
    background: white;
    border-color: #31945c;
    color: #31945c;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-left {
    left: 8px;
}

.scroll-right {
    right: 8px;
}

/* ✅ Адаптивность */
@media (max-width: 768px) {
    .category-item {
        flex: 0 0 160px;
        min-width: 160px;
    }

    .category-subitem {
        flex: 0 0 160px;
        min-width: 160px;
    }

    .scroll-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .category-item {
        flex: 0 0 140px;
        min-width: 140px;
    }
}


[data-theme="dark"] .container-mail {
     background-color: #000000!important;
    color: #b9f6ca;
    margin-bottom: 40px;
}

[data-theme="dark"] .public-offer {
  max-width: 1300px;
  margin: 40px auto;
  padding: 20px 25px;
  background-color: black;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.public-offer h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}


[data-theme="dark"] .public-offer h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: whitesmoke;
}

.description-offer {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #555;
  white-space: pre-wrap; /* поддержка переносов из текстового поля */
}

[data-theme="dark"] .description-offer {
  font-size: 1.125rem;
  line-height: 1.6;
  color: whitesmoke;
  white-space: pre-wrap; /* поддержка переносов из текстового поля */
}

/* Responsive */
@media (max-width: 768px) {
  .public-offer {
    padding: 15px 20px;
    margin: 20px;
  }
  .public-offer h1 {
    font-size: 2rem;
  }
  .description-offer {
    font-size: 1rem;
  }
}


/* */
.wp-block-buttons.is-layout-flex {
  gap: 12px;
  margin-bottom: 40px;
}

.wp-block-button__link {
  padding: 10px 20px;
  background: linear-gradient(135deg, #62b565 0%, #0c9212 100%);
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease;
    box-shadow: 0 8px 16px rgb(79 114 80 / 70%);
    transform: translateY(-2px);
}

[data-theme="dark"] .wp-block-button__link {
  padding: 10px 20px;
  background: linear-gradient(135deg, #62b565 0%, #0c9212 100%);
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease;
    box-shadow: none;
    transform: translateY(-2px);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: linear-gradient(135deg, #4caf50 0%, #1c7120 100%);
  box-shadow: 0 0 20px rgb(255, 255, 255);
  outline: none;
}

.wp-block-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.wp-block-columns-review {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}

.wp-block-column.box {
    /*background-color: #ffffff;*/
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid #dcdcdc;
    padding: 15px;
    border-radius: 10px;
    flex: 1 1 300px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень для выпуклости */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

[data-theme="dark"] .wp-block-column.box {
    /*background-color: #ffffff;*/
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
     border: 1px solid #292d29;
    padding: 15px;
    border-radius: 10px;
    flex: 1 1 300px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень для выпуклости */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}


.wp-block-column-pay.box {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  flex: 1 1 350px;
  box-sizing: border-box;
}

.wp-block-group.border-bottom {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wp-block-list {
  padding-left: 20px;
  color: #555;
}

.wp-block-list li {
  margin-bottom: 8px;
}

.has-text-align-right {
  text-align: right;
}

.has-x-large-font-size {
  font-size: 1.5rem;
  margin: 0;
}

.wp-block-spacer {
  height: 100px;
}

/* Responsive */
@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
  }
  .wp-block-column.box {
    flex-basis: 100%;
  }
  .container.content-area h1 {
    font-size: 2rem;
  }
}

.category-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;             /* Выравнивание в строку */
    flex-wrap: wrap;           /* Перенос на следующую строку при нехватке места */
    gap: 8px;                  /* Расстояние между элементами */
}

.category-chips li {
    display: inline-block;
}

.category-chips a {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

[data-theme="dark"] .category-chips a {
    display: inline-block;
    padding: 6px 14px;
    background-color: #252525;
    border-radius: 20px;
    text-decoration: none;
    color: #dfdede;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.category-chips a:hover {
    background-color: #00ba44bf;
    color: white;
}
[data-theme="dark"] .category-chips a:hover {
    background-color: #197c3d;
    color: white;
}

.category-chips a.active {
    background: linear-gradient(224deg, #279141, #eefff5);
    color: white;
    font-weight: 500;
    box-shadow: 0 8px 32px rgb(100 255 88 / 22%), 0 4px 12px rgb(0 0 0 / 20%);
    border: 2px solid #c6d3ca;
}

[data-theme="dark"] .category-chips a.active {
    background: linear-gradient(135deg, #0f9045e0, #000000);
    color: white;
    font-weight: 600;
    border: 2px solid #023110;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb ul li {
    display: flex;
    align-items: center;
}

.breadcrumb ul li + li::before {
    content: "›"; /* Разделитель */
    margin: 0 8px;
    color: #ccc;
    font-weight: 600;
}

.breadcrumb ul li a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb ul li a:hover {
    color: #005a99;
}

.breadcrumb ul li.active {
    color: #333;
    font-weight: 600;
    pointer-events: none; /* Запретить клики */
}

[data-theme="dark"] .breadcrumb ul li.active {
    color: #b9f6ca;
    font-weight: 600;
    pointer-events: none; /* Запретить клики */
}

.breadcrumb ul li.active a {
    color: #333;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}


.brand-area {
    overflow: hidden;
}

.brand-banner {
    display: flex !important;
    flex-wrap: nowrap !important;  /* ✅ КРИТИЧНО: не переносить на новую строку */
    overflow-x: auto !important;   /* ✅ Горизонтальный скролл */
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    padding: 20px 0;
    gap: 15px;

    /* ✅ СКРЫВАЕМ ПОЛСУ ПРОКРУТКИ */
    scrollbar-width: none !important;  /* Firefox */
    -ms-overflow-style: none !important;  /* IE/Edge */
}

.brand-banner::-webkit-scrollbar {
    display: none !important;  /* Chrome/Safari - УДАЛИЛИ КОНФЛИКТНЫЕ СТИЛИ */
}

.single-brand {
    flex: 0 0 120px !important;  /* ✅ Фиксированная ширина, НЕ РАСТЯГИВАЕТСЯ */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 140px;
    min-width: 120px;  /* ✅ Минимальная ширина */
}

.single-brand img {
    width: 100px !important;
    height: 70px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 8px;
    border: 1px solid #eee;
}

.single-brand p {
    margin: 8px 0 0 0;
    font-size: 11px;
    font-weight: 500;
    max-width: 100px;
    word-break: break-word;
    color: #666;
}

[data-theme="dark"] .single-brand p {
    margin: 8px 0 0 0;
    font-size: 11px;
    font-weight: 500;
    max-width: 100px;
    word-break: break-word;
    color: #0d6efd;
}

/* Наведение */
.brand-banner:hover {
    cursor: grab;
}

.brand-banner:active {
    cursor: grabbing;
}

.blog-grid-page {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.blog-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-no-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.blog-content-page {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.35;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


[data-theme="dark"] .blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.35;
    color: #dfdfdf;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="dark"] .blog-category {
    background: linear-gradient(135deg, #00ba446b, #3b3b3b);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 100px 6px 100px 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: auto;
    box-shadow: 0 4px 12px rgb(13 15 14), 0 2px 6px rgb(51 52 51), inset 0 1px 0 rgb(251 250 250 / 10%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0 solid rgba(255, 255, 255, 0.1);
}

/* ✅ Hover эффект */
[data-theme="dark"] .blog-card:hover .blog-category {
    background: linear-gradient(135deg, #2f3a33, #22663a);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgb(223 248 232 / 50%), 0 4px 12px rgb(45 147 62 / 40%), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.blog-category {
    background: linear-gradient(135deg, #279141, #00ff652e);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 100px 6px 100px 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: auto;
    box-shadow: 0 4px 12px rgb(69 148 108), 0 2px 6px rgb(128 255 141), inset 0 1px 0 rgb(251 250 250 / 10%);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-category {
    transform: scale(1.05); /* ✅ Только кнопка масштабируется при hover */
    box-shadow: 0 4px 12px rgba(0,186,68,0.4);
}

.blog-meta {
    padding: 0 1.25rem 1.25rem;
    color: #666;
    font-size: 0.85rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto; /* ✅ Дата всегда внизу */
}

[data-theme="dark"] .blog-meta {
    padding: 0 1.25rem 1.25rem;
    color: #a6a6a6;
    font-size: 0.85rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto; /* ✅ Дата всегда внизу */
}

/* Адаптив */
@media (max-width: 1200px) { .blog-grid-page { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .blog-grid-page { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px) {
    .blog-grid-page { grid-template-columns: 1fr; }
    .blog-image, .blog-no-image { height: 200px; }
}

/* Blog Layout */
.blog-area {
    padding: 60px 0;
}

.blog-area .row {
    gap: 2rem;
}

/* Main Content */

.main-news-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.news-tags {
    margin: 2rem 0;
}

.tag-inline {
    display: inline-block;
    background: #e3f7e0;
    color: #2f6627;
    padding: 4px 12px;
    margin: 0 6px 6px 0;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

.tag-inline:hover {
    background: #00ba44;
    color: white;
}

.related-link {
    color: #007acc;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.6;
}

.related-link:hover {
    color: #00ba44;
}

/* Sidebar (справа от контента) */
.sidebar-sticky {
    position: sticky;
    top: 100px;
    height: fit-content;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: #fff;
}

.sidebar {
    font-size: 0.9rem;
    color: #444;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00ba44;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00ba44, #28a745);
}

.posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-thumb {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.post-no-thumb {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 8px;
    flex-shrink: 0;
}

.post-content {
    flex: 1;
}

.post-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #007acc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.post-title:hover {
    color: #00ba44;
}

.post-excerpt {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.read-more {
    color: #00ba44;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
}

.read-more:hover {
    color: #007a29;
    text-decoration: underline;
}

.post-date {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.3rem;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 0.8rem;
}

.categories-list a {
    text-decoration: none;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.categories-list-shop a {
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 2px;
    transition: color 0.3s ease;
    text-align: left;
    font-size: 14.3px;

    /* 🔥 ТРОЕТОЧИЕ ДЛЯ 1 СТРОКИ (если слово не влезает) */
    display: -webkit-box;
    -webkit-line-clamp: 1;       /* ✅ ТОЛЬКО 1 строка */
    -webkit-box-orient: vertical;
    /*overflow: hidden;            !* ✅ Скрыть всё что не влезло *!*/
    text-overflow: ellipsis;     /* ✅ Троеточие в конце */

    /* ✅ Фиксированная высота строки */
    line-height: 1 !important;
    max-height: 1.7em !important; /* = высота 1 строки */

    /* ✅ Обрезка слов */
    word-break: break-word;
    /*white-space: normal;         !* ✅ НЕ переносить слова *!*/
}


.categories-list a:hover {
    color: #00ba44;
}

.count {
    background: #e8f5e8;
    color: #2d7a2d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
}

.tag-link:hover {
    background: linear-gradient(135deg, #00ba44, #28a745);
    color: white;
    border-color: #00ba44;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,186,68,0.3);
}

.tag-count {
    margin-left: 6px;
    font-size: 0.75rem;
    opacity: 0.8;
}

.no-posts {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 1.5rem;
}

/* Адаптивность */
@media (max-width: 991px) {
    .sidebar-sticky {
        position: static;
    }

    .col-lg-8, .col-lg-4 {
        margin-bottom: 2rem;
    }
}
.sidebar-sticky {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.main-news-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

/* Галерея изображений */
.gallery-image-container {
    position: relative;
    max-width: 100%;
}

.gallery-img {
    transition: all 0.3s ease;
    cursor: pointer;
    width: auto;
    height: auto;
    border-radius: 0.75rem !important;
    overflow: hidden;
    max-width: 95%;
    margin-top: 22px;
}

.news-date {
    font-size: 0.88rem;
    color: #999;
    margin-top: 0.3rem;
}
/* 🎥 Стили для видео блока */
.wp-block-embed {
    margin-bottom: 2rem !important;
}

/* Контейнер видео (16:9 responsive) */
.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 соотношение */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    transition: all 0.3s ease;
}

.wp-block-embed__wrapper:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transform: translateY(-4px);
}

/* iframe внутри контейнера */
.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
    transition: transform 0.3s ease;
}


/* Верхняя подпись (над видео) */
.image-caption-gallery {
    margin-top: 1.3rem!important;
    margin-bottom: 1rem;
    font-weight: 600;
    background: linear-gradient(90deg, #202220, #673400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left-color: transparent;
    font-size: 1rem;

}


/* Верхняя подпись (над видео) */
[data-theme="dark"] .image-caption-gallery {
    margin-top: 1.3rem!important;
    margin-bottom: 1rem;
    font-weight: 600;
    background: linear-gradient(90deg, #c9cac9, #fdc24d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left-color: transparent;
    font-size: 1rem;

}

/* Нижняя подпись (под видео) */
.wp-block-embed + .image-caption-gallery {
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Адаптивность */
@media (max-width: 768px) {
    .wp-block-embed__wrapper {
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    .image-caption-gallery {
        font-size: 0.9rem;
        padding: 0.4rem 0.5rem;
    }
}

/* Hover эффект для всего блока видео */
.wp-block-embed:hover {
    .wp-block-embed__wrapper {
        box-shadow: 0 20px 60px rgba(0,123,255,0.3) !important;
    }
}

/* Темная тема (если есть) */
@media (prefers-color-scheme: dark) {
    .image-caption-gallery {
        color: #adb5bd;
        background: #2d3748;
    }

    .wp-block-embed__wrapper {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }
}

.comments-list {
    max-width: 800px;
}
[data-theme="dark"] .text-muted {
    --bs-text-opacity: 1;
    color: #555252;
}

.reply-link {
    font-size: 0.9rem;
    text-decoration: none;
}

/*.no-comments {*/
/*    border: 2px dashed #dee2e6; штрих пукнктир для коментария*/
/*}*/
[data-theme="dark"] .no-comments {
    border: 2px dashed #dee2e6;
    color: beige !important;
}

/*.form-select {*/
/*    background: #f8fdf8!important;*/
/*}*/
/* static/css/social_login.css */

.the_champ_social_login_title {
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.the_champ_login_container {
    display: flex;
    justify-content: flex-start;
}

.the_champ_login_ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.the_champ_login_ul li {
    margin: 0;
}

/* Кнопки */
.theChampLogin {
    display: block;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.theChampLogin:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Facebook */
.theChampFacebookBackground {
    background: #4267B2;
}

.theChampFacebookLogoContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theChampLoginSvg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Google */
.theChampGoogleBackground {
    background: #fff;
    border: 2px solid #e0e0e0;
}

.theChampGoogleLoginSvg {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Мобильные */
@media (max-width: 480px) {
    .the_champ_login_ul {
        gap: 12px;
    }

    .theChampLogin {
        width: 50px;
        height: 50px;
    }

    .theChampLoginSvg {
        width: 20px;
        height: 20px;
    }
}


/* WooCommerce Products Grid */
ul.products {
  display: grid; gap: 5px; padding: 0; margin: 0;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { ul.products { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { ul.products { grid-template-columns: repeat(8, 1fr); } }

.b-radius-nan {
    border-radius: 0!important;
}

.sticky-top, #shop-sidebar .sticky-top {
    top: 120px !important;
    z-index: initial;
}

.product-description-scrollable {
    position: sticky;
    top: 20px;
    z-index: 10;

    /* 🔒 ФИКСИРУЕМ ГЕОМЕТРИЮ — НЕТ ПРЫЖКОВ */
    max-height: 99vh;
    overflow-y: hidden;

    height: fit-content;
}

/* ✅ ПРОКРУТКА ТОЛЬКО ПРИ НАВЕДЕНИИ */
.product-description-scrollable:hover {
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* ✅ СКРЫТЫЙ СКРОЛЛБАР */
.product-description-scrollable::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.product-description-scrollable {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ✅ SNAP — ОПЦИОНАЛЬНО */
.product-description-scrollable {
    scroll-snap-type: y proximity;
}

.product-description-scrollable .box,
.product-description-scrollable h1,
.product-description-scrollable .border-bottom {
    scroll-snap-align: start;
    scroll-margin: 10px;
}
