html, body {
    color: #393939;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    line-height: 1.5;
    font-size: 14px;
    height: 100%;
    min-height: 100%;
    background-color: #FFF;
    overflow-x: hidden;
}

h1, h2 {
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
    "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
    font-size: 48px;
    line-height: 1;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;   
    margin-bottom: 40px;
}

.single h2, .content h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--main);
}

.content p {
    margin-bottom: 20px;
}

.content h2 {
    margin-top: 40px;
}

.content ul {
    margin-bottom: 20px;
}

.content ul li {
    border-left: 10px solid var(--main);
    padding-left: 20px;
    margin-bottom: 10px;
}

h1:first-letter, h2:first-letter {
  margin-left: -0.05em;
}

a {
  outline: none;
}

b, strong {
    font-weight: 700;
}

:root {
    --main: #00C8FF;
    --second: #00C8FF;
}

a {
    color: var(--main);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #00a6eb;
}

a.button:hover {
    color: #FFF;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    box-sizing: border-box;
    margin: auto;
}

.fa-solid {
    font-size: 20px;
}

#ajaxsearchlite1 .probox, div.asl_w .probox {
    border-color: var(--main) !important;
}

div.asl_w .probox .promagnifier .innericon svg {
    fill: var(--main) !important;
}

#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
    font-family: "Inter", sans-serif !important;
}

header {
    padding-top: 30px;
    margin-bottom: 60px;
}

header .logo {
    width: 260px;
}

header .wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

header .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

header .contact_t a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #393939;
}

header .contact_t i {
    color: var(--main);
}

header .contact_b {
    display: flex;
    align-items: center;
    gap: 30px;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav a {
    color: #393939;
}

header nav a:hover {
    color: var(--main);
}

header nav .mainmenu {
    display: flex;
    align-items: center;
    gap: 30px;
}

header nav .mainmenu a.active {
    color: var(--main);
}

.mss {
    display: none !important;
}

header .search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.button, .cartlink, .mmenu {
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 1;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.mmenu {
    display: none;
}

.cartlink i, .mmenu i {
    color: var(--main);
}

.cartlink {
    position: relative;
}

.cartlink span {
    background-color: var(--main);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 20px;
    font-size: 10px;
    color: #FFF;
    margin-left: -10px;
    position: absolute;
    top: -11px;
    left: 21px;
    border: 2px solid #FFF;
}

.cartlink:hover {
    color: var(--main);
}

.button, .wpcf7-submit {
    background-color: var(--main);
    color: #FFF;
    padding: 0 30px;
    border-radius: 30px;
    height: 48px;
    cursor: pointer;
    transition: 0.3s;
}

.cat-button {
    height: 48px !important;
}

.button:hover, .wpcf7-submit:hover {
    background-color: #00a6eb;
}

.bluebg {
    background-color: var(--main);
    padding: 30px 0;
    margin-top: -30px;
}




#catalog-m {
    display: none;
}

.bluebg .catalog {
    padding: 30px 40px 40px 40px;
    background-color: #FFF;
    border-radius: 10px;
    display: block;
}

.catalog .catalog_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.catalog .catalog_menu .catalog_menu_l, .catalog .catalog_menu .catalog_menu_r {
    display: flex;
    align-items: center;
    gap: 30px;
}

.catalog .catalog_menu .catalog_menu_r a {
    color: #393939;
}

.catalog .catalog_menu .catalog_menu_r a:hover {
    color: var(--main);
}

.catalog .catalog_menu .catalog_link {
    display: flex;
    align-items: center;
    gap: 15px;   
    transition: 0.3s;
    cursor: pointer;
}

.catalog .catalog_menu .catalog_link i {
    color: #e2e8f0;
    transition: 0.3s;
}

.catalog .catalog_menu .catalog_link.active, .catalog .catalog_menu .catalog_link.active i {
    color: var(--main);
}

.catalog .catalog_menu .catalog_link:hover {
    color: var(--main);
}

.catalog .cols {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.catalog .cols .col {
    width: calc(100%/3 - 20px);
    display: flex;
    flex-direction: column;
}

.catalog .cols .col a {
    width: auto;
    color: #393939;
    transition: 0.3s;
}

.catalog .cols .col a:hover {
    color: var(--main);
}

.catalog .cols .col .menu-item {
    position: relative;
    display: inline-block;
    width: fit-content;
}

.catalog .cols .col .menu-item a {
    padding: 10px 30px 10px 0;
    display: block;
}

/* ========== НОВАЯ ПРОСТАЯ ЛОГИКА ПОДМЕНЮ ========== */

/* Базовые стили подменю */
.catalog .cols .col .submenu {
    position: absolute;
    left: 100%;
    top: -11px;
    background: white;
    min-width: 280px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    
    /* Скрыто по умолчанию */
    display: none;
    flex-direction: column;
    padding: 10px 20px;
}

/* Показываем подменю при наведении на родителя */
.catalog .cols .col .menu-item:hover > .submenu {
    display: flex;
}

.catalog .cols .col .submenu:after {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #e2e8f0;
}

/* Для последней колонки */
.catalog .cols .col:last-of-type > .menu-item {
    padding-left: 30px;
    margin-left: -30px;
    padding-right: 0;
}

.catalog .cols .col:last-of-type > .menu-item > .submenu {
    left: auto;
    right: 100%;
}

.catalog .cols .col:last-of-type > .menu-item > .submenu:after {
    left: auto;
    right: -10px;
    border-left: 10px solid #e2e8f0;
    border-right: 0;
}

/* Второй уровень подменю */
.catalog .cols .col .submenu .submenu-level2 {
    position: absolute;
    left: 100%;
    top: -11px;
    background: white;
    min-width: 320px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    
    /* Скрыто по умолчанию */
    display: none;
    flex-direction: column;
    padding: 10px 20px;
}

/* Показываем второй уровень при наведении */
.catalog .cols .col .submenu .menu-item:hover > .submenu-level2 {
    display: flex;
}

/* Третий уровень подменю */
.catalog .cols .col .submenu-level2 .submenu-level3 {
    position: absolute;
    left: 100%;
    top: -11px;
    background: white;
    min-width: 320px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    
    /* Скрыто по умолчанию */
    display: none;
    flex-direction: column;
    padding: 10px 20px;
}

/* Показываем третий уровень при наведении */
.catalog .cols .col .submenu-level2 .menu-item:hover > .submenu-level3 {
    display: flex;
}

/* Анимация через transition */
.submenu, .submenu-level2, .submenu-level3 {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateX(10px);
}

/* При показе - анимация */
.menu-item:hover > .submenu,
.menu-item:hover > .submenu-level2,
.menu-item:hover > .submenu-level3 {
    opacity: 1;
    transform: translateX(0);
}

/* Для последней колонки - анимация в другую сторону */
.catalog .cols .col:last-of-type > .menu-item > .submenu {
    transform: translateX(-10px);
}

.catalog .cols .col:last-of-type > .menu-item:hover > .submenu {
    transform: translateX(0);
}





.shop_items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.shop_items .item {
    width: calc(100%/4 - 15px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    justify-content: space-between;
}

.shop_items .item .item_top .item_img {
    background-color: #edf1f7;
    aspect-ratio: 1/1;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.shop_items .item .item_top .item_img:hover img {
    transform: scale(1.1); /* Увеличиваем на 10% */
}

.shop_items .item .item_top .item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение занимает весь контейнер без искажений */
    transition: transform 0.3s ease-in-out; /* Плавный переход при наведении */
}

.shop_items .item .item_bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.item_price {
    font-size: 32px;
    color: var(--main);
    font-weight: 700;
    text-align: left;
    margin-bottom: 10px;
}

.shop_items .item .addtocart, .shop_items .item .request-button {
    margin-bottom: 20px;
}

.request-button, .button.max {
    border: 1px solid var(--main);
    background-color: transparent;
    color: var(--main);
    box-sizing: border-box;
}

.request-button:hover, .button.max:hover {
    color: #FFF;
    border-color: #00a6eb !important;
    background-color: #00a6eb;
}

footer {
    background-color: #393939;
    padding: 30px 0;
    color: #FFF;
    text-align: center;
    margin-top: 60px;
    font-size: 12px;
}

footer p {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

footer p:last-of-type {
    margin-bottom: 0;
}

footer a {
    color: #FFF;
}

footer a:hover {
    color: var(--main);
}

footer .logo {
    width: 200px;
    margin-bottom: 20px;
}

.item_title {
    color: #393939;
    display: block;
    transition: 0.3s;
}

.item_title:hover {
    color: var(--main);
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.breadcrumb a {
    display: flex;
    align-items: center;
    color: #393939;
}

.breadcrumb a:hover {
    color: var(--main);
}

.breadcrumb a:after {
    font-style: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Free";
    content: "\f105";
    font-size: 14px;
    margin: 0 15px;
    color: #e2e8f0 !important;
}

.breadcrumb a:hover:after {
    color: #e2e8f0 !important;
}

.single {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
}

.single .col {
    width: 50%;
}

.single .img {
    aspect-ratio: 1/1;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.single .img:hover img {
    transform: scale(1.1); /* Увеличиваем на 10% */
}

.single .img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение занимает весь контейнер без искажений */
    transition: transform 0.3s ease-in-out; /* Плавный переход при наведении */
}

.desc p {
    margin-bottom: 20px !important;
    display: flex;
    flex-wrap: wrap;
}

    .desc span {
        font-size: 14px !important;
        font-family: "Geologica", sans-serif !important;
        font-weight: 400 !important;
    }

.single .desc {
    margin-bottom: 40px;
}

.single .art {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single {
    margin-bottom: 60px;
}

.single .addtocart, .single .request-button {
    width: fit-content;
    min-width: 230px;
    box-sizing: border-box;
}

.swiper-pagination {
    position: static !important;
    margin-top: 40px;
}

.swiper-pagination-bullet {
    background-color: var(--main) !important;
    opacity: 30% !important;
    transition: 0.3s !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 6px !important;
    border-radius: 100% !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--main) !important;
    opacity: 100% !important;
}

.slider.shop_items {
    display: block;
}

.swiper-slide {
    height: auto !important;
}

.slider {
    margin-top: 60px;
}

.single .small_desc {
    margin-bottom: 20px;
}

.edit-link {
    margin-top: 20px;
}

.desc ul {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.desc ul li {
    border-left: solid 10px var(--main);
    padding-left: 10px;
}

.desc table td, .desc table th {
    text-align: left;
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
}

.desc table th {
    background-color: #e2e8f0;
}

.cart {
    position: fixed;
    right: -420px;
    top: 0;
    bottom: 0;
    background-color: #FFF;
    width: 400px;
    box-shadow: -2px 0px 15px 2px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: 0.5s;
    box-sizing: border-box;
    overflow: auto;
    z-index: 9999;
}

.cart.active {
    right: 0;
}

.cart h2 {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart .order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart .order-list .item_top {
    display: flex;
    flex-direction: row; 
    gap: 30px;
}

.cart .order-list .item {
    position: relative;
    padding: 20px 30px 20px 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.cart .order-list .item .fa-xmark {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
}

.cart .order-list img {
    width: 80px;
    height: 80px;
}

.cart .order-list .item_price {
    font-size: 20px;
    margin-bottom: 0;
}

.cart .order-list .item_bottom {
     display: flex;
     align-items: center;
     gap: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    width: 80px;
}

.quantity-minus, .quantity-plus {
    width: 20px;
    height: 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-input {
    width: 100%;
    height: 20px;
    text-align: center;
    border: 0;
    border-left: none;
    border-right: none;
    font-size: 12px;
    -moz-appearance: textfield;
}

* {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    outline: none;
}

.cart-bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-top: 40px;
}

.button.added {
    background-color: #e2e8f0;
}

.cart-total {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.total-price {
    font-size: 20px;
    color: var(--main);
    font-weight: 700;
}

.fa-circle-xmark, .remove-from-cart {
    transition: 0.3s;
    cursor: pointer;
}

.fa-circle-xmark:hover, .remove-from-cart:hover {
    color: var(--main);
}

.brand-info {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.brand-info .brand-img {
    min-width: 200px;
    text-align: center;
}

.brand-info .brand-img img {
    width: auto;
    max-height: 120px;
    max-width: 100%;
}

.brand-logo-link img {
    width: 100%;
}

.brand_items .swiper-slide {
    height: auto;
}

.brand-logo-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-logo-link .brand-name {
    transition: 0.3s;
}

.brand-logo-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 20px;
}

.brand-logo-img img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-name {
    text-align: center;
}

.brand-desc p {
    margin-bottom: 20px;
}

.brand-desc p:last-of-type {
    margin-bottom: 0;
}

.cols {
    display: flex;
    gap: 30px;
}

.cols .col {
    width: 50%;
}

.page-cart .cart {
    padding: 0;
    box-shadow: none;
    width: 100%;
    position: static;
}

.page-cart h2 {
    margin-top: 0;
}

.wpcf7 input, .wpcf7 textarea {
        border: 1px solid #e2e8f0;
        width: 100%;
        box-sizing: border-box;
        border-radius: 10px;
        font-family: "Inter", sans-serif;
        font-size: 14px;
        padding: 15px 20px;
        margin-top: 10px;
}

.wpcf7-not-valid-tip {
    margin-top: 10px;
    font-size: 10px !important;
}

[data-name="order-list"], [data-name="request-list"] {
  display: none;
}

.wpcf7-submit {
    border: 0 !important;
    font-family: "Inter", sans-serif;
    border-radius: 30px !important;
    font-weight: 500;
}

.wpcf7-response-output {
    padding: 15px 20px !important;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0 0 0 !important;
    border-width: 1px !important;
}

.wpcf7-spinner {
    margin: auto !important;
    display: block !important;
    margin-top: 10px !important;
}

.wpcf7-form.sent p {
    display: none;
}

.wpcf7-form.sent .wpcf7-response-output {
    margin-top: 0 !important;
}

#request h2 {
    margin-top: 0;
}

.brands-alphabetical-container {
    display: flex;
    flex-wrap: wrap;
}

.brands-alphabetical-container .letter-group {
    width: 25%;
}

.brands-alphabetical-container {
    margin-top: -40px;
}

.brands-alphabetical-container h2 {
    color: #393939;
}

.pagination {
    clear: both;
    text-align: center;
    margin: 40px 0;
    width: 100%;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 2px;
    background-color: #edf1f7;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background-color: var(--main);
    color: #fff;
    cursor: default;
}

.pagination .page-numbers:hover:not(.current) {
    background-color: var(--main);
    color: #fff;
}

.pagination .dots {
    background-color: transparent;
    cursor: default;
}

.pagination .dots:hover {
    background-color: transparent;
    color: #333;
}

.search-results-count {
    margin-bottom: 40px;
}

.button.max {
    margin: 35px auto 0 auto;
        width: fit-content;
    min-width: 230px;
        box-sizing: border-box;
}

.small_desc p,
.desc p {
    display: none;
}

.small_desc p:not(:empty),
.desc p:not(:empty) {
    display: flex;
}

.desc table {
    width: 100% !important;
    margin-bottom: 30px;
}

.desc h3, .desc h2 {
    margin-bottom: 20px;
    font-size: 20px;
    margin-top: 40px;
}

.desc table td {
    height: auto !important;
}

.desc table td p {
    margin-bottom: 0 !important;
}

.mh, .msh {
    display: flex;
}

.ms {
    display: none;
}


/*

.cartlink span, .addtocart, .wpcf7-submit, .button {
    background-color: var(--second);
}

header .contact_t i {
    color: var(--second);
}

#ajaxsearchlite1 .probox, div.asl_w .probox {
    border-color: var(--second) !important;
}

div.asl_w .probox .promagnifier .innericon svg {
    fill: var(--second) !important;
}

.shop_items .item .request-button {
    background-color: transparent;
}

*/