﻿/*
Theme Name: Bono Child
Theme URI: https://wpshop.ru/themes/bono
Author: WPShop.ru
Author URI: http://wpshop.ru/
Template: bono
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

body {
    font-family: "Nunito",Montserrat,Arial,"Helvetica Neue",Helvetica,sans-serif;
}

b, strong {
    font-weight: 700;;
}

.sidebar-none .section-id--home_services.section-preset--bgc-3:before {
    background-color: #f2f2f2;
}

.mvweb-pages-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mvweb-pages-widget li {
    display: flex;
}
.mvweb-pages-widget li a {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: rgba(250, 241, 219, 0.2);
    backdrop-filter: blur(10px);
    gap: 10px;
}
.mvweb-pages-widget li a span {
    font-size: 1.1em;
    font-weight: bold;
}
.mvweb-pages-widget li a:hover span {
    color: #eb8a18;
}
.mvweb-pages-widget li a:before {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    left: -12px;
    top: -12px;
    background-image: url("https://test.xm64.ru/wp-content/uploads/2025/10/x.png");
    background-position: center;
    background-size: 24px;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}
.mvweb-pages-widget li a:hover:before {
    transform: rotate(360deg);
}

.section-id--home_about .section-html__body {
    font-size: 1.17em;
}

.site-main .shop-grid {
    justify-content: start;
}

.header-phone a small {
    margin-left: -16px;
}
.woocommerce-breadcrumb {
    display: inline-block;
}

.home__cat {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}
.home__cat__link {
    width: 240px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 30px 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 500;
    gap: 20px;
}
.home__cat__link img {
    width: 160px;
    height: 160px;
}
.home__cat__link span {
    text-align: center;
    font-weight: 700;
}
.product-category a {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}
.site-main .shop-grid {
    align-items: baseline;
}

/* Базовый контейнер */
.partners-wall{
  overflow:hidden;        /* прячем всё, что выходит за рамки */
  width:100%;
}

/* Лента, которая едет */
.partners-track{
  display:flex;
  width:fit-content;      /* ширина = суммарной ширине содержимого */
  animation:scroll 35s linear infinite;
}

/* Одна карточка-логотип */
.partner{
  flex:0 0 auto;          /* запрещаем ужиматься / растягиваться */
  width:150px;            /* фикс. ширина = ширине изображения  */
  margin:0 20px;          /* горизонтальные «поля воздуха»      */
}

.partner img{
  width:100%;
  height:auto;
  aspect-ratio:150/90;
  object-fit:contain;     /* на всякий случай */
  filter:grayscale(.15);  /* лёгкий эффект – можно убрать */
  transition:filter .3s;
}
.partner:hover img{
  filter:none;
}

/* Ключевой кадр */
@keyframes scroll{
  from{transform:translateX(0);}
  to  {transform:translateX(-50%);} /* уедем ровно на ширину первой половины */
}

/* Mobile-правила */
@media (max-width: 680px){
  .partner{width:150px; margin:0 14px;}            /* поменьше размер + отступы */
  .partner img{aspect-ratio:150/90;}
  .partners-track{animation-duration: 35s;}  /* чуть быстрее */
}

/* Поддержка prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .partners-track{animation: none;}
}

.section-id--brand-wall {
    padding-top: 0;
}

.home__contact {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.home__contact-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 60px;
}
.home__contact-item {
    font-size: 18px;
    position: relative;
    padding-left: 22px;
}
.home__contact-item:before {
    position: absolute;
    content: "";
    top: 3px;
    left: 0;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center;
}
.home__contact-item--place:before {
    background-image: url(https://test.xm64.ru/wp-content/uploads/2025/10/icon-place.png);
}
.home__contact-item--phone:before {
    background-image: url(https://test.xm64.ru/wp-content/uploads/2025/10/icon-phone.png);
}
.home__contact-item--clock:before {
    background-image: url(https://test.xm64.ru/wp-content/uploads/2025/10/icon-clock.png);
    left: -1px;
}
.entry-content .wp-caption.aligncenter {
    width: max-content !important;
    border: 1px solid #f1f1f1;
}

.shop-item__buttons-cart:before {
    display: none;
}

.shop-item__title {
    font-size: 15px;
    line-height: 1.2;
}

.widget-area .widget_product_categories>ul>li:before {
    display: none;
}
.widget-area .widget_product_categories>ul>li a {
    font-size: 15px;
}
.widget-area .widget_product_categories>ul .children a {
    padding: 0 15px 0 0;
}
.widget-area .widget_product_categories>ul .children a:hover {
    border-left: 3px solid #eb8a18;
    padding-left: 5px;
}

.shop-item__image img {
    max-height: 130px;
}

.header__contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: start;
    gap: 10px;
}
.header__contact__item {
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    position: relative;
    padding-left: 1.4em;
    text-align: center;
}
.header__contact__item:before {
    font-family: wpshop-core!important;
    content: "📍";
    position: absolute;
    top: 0;
    left: 0;
    font-size: .9em;
}
.header__contact__item:hover {}
.header__contact__adress {}
.header__contact__phone {}
.header__contact__time {
    font-size: 80%;
}

.main-navigation ul li.fibo-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    width: 400px;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    /* background: none !important; */
}
.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    font-size: 16px;
}
.dgwt-wcas-open-pirx .dgwt-wcas-open .dgwt-wcas-suggestions-wrapp {

}

.main-navigation ul li .sub-menu {
    min-width: 200px;
}

.main-navigation ul li .sub-menu li>a {
    padding: 15px 20px;
    line-height: 1.2;
}

.menu-v-shapke-container ul li.icon {
    position: relative;
    padding-left: 18px;
}

.menu-v-shapke-container ul li.icon:before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2; /* чтобы быть поверх <a> */
    pointer-events: none;
    display: block;
}

.menu-v-shapke-container ul li.icon.icon-repair:before {
    background-image: url(https://xm64.ru/wp-content/uploads/2025/10/repair-white.png);
}
.menu-v-shapke-container ul li.icon.icon-catalog:before {
    background-image: url(https://xm64.ru/wp-content/uploads/2025/10/catalog-white.png);
}
.menu-v-shapke-container ul li.icon.icon-contact:before {
    background-image: url(https://xm64.ru/wp-content/uploads/2025/10/location-white.png);
}
.menu-v-shapke-container ul li.icon.icon-info:before {
    background-image: url(https://xm64.ru/wp-content/uploads/2025/10/info-white.png);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}


/* Media */

@media screen and (max-width: 1200px) {
    .main-navigation ul li.fibo-search {
        width: inherit;
    }
}

@media screen and (min-width: 768px) {
    .shop-item {
        padding: 0 15px;
    }
}

@media screen and (max-width: 580px) {
    .site-header {
        padding-bottom: 0;
    }
    .mvweb-pages-widget {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .mvweb-pages-widget li a {
        padding: 20px;
        line-height: 1.3;
    }
    .mvweb-pages-widget li a:before {
       width: 16px;
        height: 16px;
        left: -6px;
        top: -6px;
        background-size: 16px; 
    }
    .super-header__item--2 {
        display: none;
    }
    .home__cat {
        justify-content: center;
    }
    .home__cat__link {
        width: 160px;
        padding: 14px;
    }
    .home__cat__link img {
        width: 80px;
        height: 80px;
    }
    .header__contact {
        margin-bottom: 15px;
    }
    .header__contact__item {
        font-size: 14px;
    }
    .main-navigation ul li.fibo-search {
        margin-bottom: 15px;
        margin-left: inherit;
        width: 100%;
    }
    .menu-v-shapke-container ul li.icon:before {
        top: 29px;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .sidebar-left .widget-area {
        flex-basis: auto;
        order: 2;
    }
}