@charset "UTF-8";

/* =========================================
   1. ОБЩЕЕ И СБРОС СТИЛЕЙ
   ========================================= */

.clear {
    clear: both;
}
/* CSS для адаптивности */
.header-main-img {
 /* width: 100%; */
 /* max-width: 263px; */ /* Ограничиваем максимальную ширину */
 /* margin: 0 auto; */
}

.svg-logo {
 width: 100%;
 height: auto; /* Высота подстраивается автоматически */
 display: block;
 transition: transform 0.3s ease;
}

/* Стили для анимации при появлении */
.logo-animated svg {
 opacity: 0;
 transform: translateY(10px);
 transition: opacity 0.8s ease, transform 0.8s ease;
}

.logo-animated.is-visible svg {
 opacity: 1;
 transform: translateY(0);
}

/* Эффект при наведении */
#logo:hover .svg-logo {
 color: #007bff; /* Можно менять цвет, так как fill="currentColor" */
 transform: scale(1.02);
}

.header-top-line span,
.shop-basket-icon a::before,
.circle , .header-top-line-top a , 
.open-panel-btn  {
    filter: drop-shadow(5px 5px 2px rgba(128, 128, 128, 0.43));
}
.header-top-line .not-shadow {
    filter: drop-shadow(5px 5px 2px rgb(255 0 0 / 0));
}
.c-menu {
}
.m-menu {
  display: none!important;
}
.mobile-navigation-1 {
    display:none;
    }
/* =========================================
   2. АНИМАЦИЯ (Fade-In)
   ========================================= */

.fade-in-image {
    opacity: 0;
    transition: opacity 4.5s ease-in-out;
}

.fade-in-image.visible {
    opacity: 1;
}

/* =========================================
   3. ВЕРХНЯЯ СТРОКА (HEADER-TOP)
   ========================================= */

/* Общий контейнер шапки */
.header-top-line-left button:hover>span {
    background-color:transparent
}
.header-top {
    width: 100%;
    margin: 0;
    padding: 0;
    /* background: radial-gradient(circle at center, #ffffff 0%, #e3f2fd 50%, #6eaaea 100%); */
    /* background: url(/img/background-top-line.gif) center; */
    background-size: cover;
    border-bottom: 1px outset rgb(238 238 238 / 20%) !important;
}

/* Верхняя строка с навигацией - исправляем для 100% ширины */
.header-top-line-top {
    height: 40px;
    width: 100%; /* Добавляем 100% ширину */
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Контейнер навигации */
.header-top-nav {
    width: 100%;
    max-width: 1200px; /* Ограничиваем максимальную ширину для центрирования */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    background-color: #b9b9b980;
}

/* Горизонтальное меню */
.uMenuH {
    width: 100%;
}

.uMenuRoot {
    display: flex;
    justify-content: space-around; /* Равномерное распределение */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 40px; /* Высота строки навигации */
    width: 100%;
}

.uMenuRoot li {
    flex: 1; /* Каждый пункт занимает равное пространство */
    text-align: center;
    margin: 0;
    padding: 0;
}

.uMenuRoot li a {
    display: block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 10px 5px !important;
    color: black;
    text-decoration: none;
    transition: all .3s ease-out;
    height: 100%;
    box-sizing: border-box;
}

.uMenuRoot li a:hover {
    color: #0013ff;
    background-color: rgb(255 255 255 / 20%);
}

/* Специальные стили для акций */
.akcii {
    color: red !important;
    transition: all .3s ease-out;
}

.akcii span {
    transition: all .3s ease-out;
}

.akcii:hover span {
    padding: 0 15px !important;
    color: white !important;
    background-color: red;
}

/* Основная строка шапки */
.header-top-line {
    display: flex;
    /* margin-top: 12px; */
    background-color: #ffffff87;
}

.header-top-line > div {
    flex: 1;
    box-sizing: border-box;
    
     /* Минимальная ширина для адаптивности */
}

.header-top-line span {
    font-weight: 600;
}

/* Левый блок (оставляем пустым, но сохраняем структуру) */
.header-top-line-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
.header-top-line-left-contact {
    display:flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    line-height: 28px;
}
.header-top-line-left-contact-item {
    display:flex;
    flex-direction: column;
    color: #02b6aa;
    align-items: flex-start;
    font-family: 'Roboto', serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    flex: 1;
    box-sizing: border-box;
    line-height: 28px;
}
.header-top-line-left-contact-item span {
    color:black;
    font-weight: normal;
}
.about-shop {
    border-bottom: 1px outset #00ff00;
}

/* Центральный блок с логотипом */
.header-top-line-center {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}
.header-top-line-center a {
    text-decoration: none !important;
    border-bottom: none !important;
}
.top-line-bottom {
    width:100%;
}
.header-main-img {
    text-align: center;
    margin: 0;
}

.header-img-logo {
    max-height: 60px;
    width: auto;
}

#logo svg {
    height: 50px;
    max-width: 200px;
}

.header-main-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none!important;
}

/* Правый блок с контактами и корзиной */
.header-top-line-rigth {
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight {
    color: black;
}

/* Контактная информация */
.contact-main {
    display: flex;
    align-items: center;
}

.contact-main-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    color: #02b6aa;
    font-size: 14px;
    line-height: 1.4;
}

.contact-main-item span:first-child {
    font-size: 18px;
    font-weight: 400;
}

.contact-main-item span[style*="border-bottom"] {
    border-bottom: 1px outset #00ff00 !important;
    padding-bottom: 2px;
}

/* Корзина */
.basked-top {
    width: auto;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    margin-left: 20px;
}

#shop-basket {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.shop-basket-icon {
    position: relative;
    display: inline-block;
}

.shop-basket-icon a {
    display: flex;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    padding: 5px 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
}

.shop-basket-icon a::before {
    content: "";
    display: inline-block;
    width: 90px;
    height: 55px;
    background-image: url('/img/basked.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.circle {
    position: absolute;
    top: -10px;
    right: 0;
    /* background: #dc3545; */
    color: #ff0303;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    font-weight: bold;
    flex-wrap: nowrap;
}

.circle:after {
    content: " шт.";
    color: black;
    font-size: 12px;
    margin: 0 0 0 5px;
}

/* Выпадающая корзина */
.basket-area {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    min-width: 300px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.with-submenu:hover .basket-area {
    display: block;
}
.c-menu {
    display:block
}
.m-mobail {
    display:none
}

/* Адаптивность для мобильных устройств */
@media (max-width: 991px) {
    #logo svg {
        /* display:none; */
    }
    .header-top-line-center {
        /* display: flex; */
        /* justify-content: center; */
        /* flex-direction: column; */
    }
    .header-top-line {
    }
    
    .header-top-line > div {
        /* flex: 100%; */
        /* text-align: center; */
        /* margin-bottom: 10px; */
    }
    
    .header-top-line-left,
    .header-top-line-rigth {
    }
    .header-top-line-left {
        display:none
    }
    .open-panel-btn-mobail {
        display: flex!important;
    }
    
    .contact-main-item {
        align-items: center;
        text-align: center;
    }
    
    .uMenuRoot {
        flex-wrap: wrap;
        height: auto;
        padding: 5px 0;
    }
    
    .uMenuRoot li {
        flex: 0 0 33.333%;
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .header-top-line-top {
        height: auto;
        padding: 5px 0;
    }
    
    .uMenuRoot li {
        flex: 0 0 50%;
    }
    
    .uMenuRoot li a {
        font-size: 14px;
        padding: 8px 5px !important;
    }
    
    .contact-main-item span:first-child {
        font-size: 16px;
    }
    
    .shop-basket-icon a::before {
        width: 70px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .uMenuRoot li {
        flex: 0 0 100%;
    }
    
    .header-top-nav {
        padding: 0 10px;
    }
}

/* =========================================
   4. ВЕРТИКАЛЬНОЕ МЕНЮ (uMenuV) - ОСТАВЛЕНО БЕЗ ИЗМЕНЕНИЙ
   ========================================= */
.uMenuV {
    display: flex;
}

.uMenuV .uMenuRoot {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation-inner {
    max-width: 380px!important;
    float: none;
}

.uMenuV .uMenuRoot > li {
    float: none; 
    display: block;
    margin-right: 0;
}

.uMenuV .uMenuRoot > li:last-child {
    border-bottom: none;
}

.uMenuV .uMenuRoot > li > a {
    padding: 0px 4px 0 4px;
    transition: background-color 0.3s, color 0.3s;
    border: none;
    cursor: pointer;
}

.uMenuV .uMenuRoot span {    
    font-family: Roboto,sans-serif;
    font-weight:400;
}

.main-navigation .uMenuRoot {
    flex: 1;
}

.uMenuRoot-left {
    width:50%;
    float:left
}

.uMenuRoot-right {
    width:50%;
    float:right;
}

.uMenuRoot-left li, .uMenuRoot-right li {
    background-color: #ffffff6b;
    margin: 5px;
}

/* =========================================
   5. СТИЛИЗАЦИЯ КАРТОЧЕК И СПИСКОВ КАТЕГОРИЙ 
   ========================================= */

#a1 {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    #a1 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    #a1 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cat-main-card {
    margin-bottom: 0;
}

.subcategories-list-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.subcategories-grid {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.subcategory-link {
    background-color: #000033; 
    border: 1px solid white;
    color: white!important; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 14px;
    text-align: center;
    height: 40px; 
    box-sizing: border-box; 
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    transition: background-color 0.3s, border-color 0.3s;
}

.subcategory-link:hover {
    background-color: #000066; 
    border-color: #ffff99; 
}

/* =========================================
   6. СТИЛИЗАЦИЯ ЛОГОТИПА И НАЗВАНИЯ МАГАЗИНА
   ========================================= */
.shop-name {
    text-align: center;
    margin-bottom: -15px;
    border-bottom: 1px solid #eee;
}

.color-top-text {
    line-height:24px;
    color: #ffffff;
}
.color-top-text span {
    color:#0e5af4;
    filter:none;
    border-bottom:1px outset #0e5af4;
    letter-spacing:2px
}

.shop-name-any {
    /* text-align: center; */
    /* width: 100%; */
    /* display:flex; */
    /* justify-content: center; */
}

.shop-name-any .navigation-link-search:after {
    content:"";
}
.shop-name {
    line-height:normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.shop-name h1 {
    color: #000;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all .3s ease-out;
    margin: 0 auto;
}

.shop-name h2 {
    color: #131313;
    /* display: block; */
    font-size: 1.6rem;
    letter-spacing: 4px;
    transition: all .3s ease-out;
    /* width: 80%; */
    /* margin: 0 auto; */
}
.shop-name  p {
    margin:0;
    padding:0;
    font-size:24px;
    letter-spacing: 4px;
    /* color:black; */
    font-family: 'Lora', serif;
}
.page-item {
    width:100%;
}
.page-item h1 {
    font:bold 1.7rem / normal Roboto;
    letter-spacing:normal;
    text-align:center;
    padding: 8px;
    line-height: normal;
}
.catalog-button {
    width: 15%;
}
.shop-name-desc {
    width: 85%;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
