#mega-menu-wrap .menu .lang-item {
  display: none;
}
.hide-sep > a:after {
  display: none !important;
}

.menu-item-depth-1.has-submenu > a {
  font-weight: 700 !important;
}

.mega-menu-wrap > ul .sub-menu {
  left: -25%;
}

/* Стили для товаров в меню */
.menu-product-item {
    position: relative;
}

.menu-product-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 12px !important;
    text-decoration: none !important;
}

.menu-product-image {
    flex-shrink: 0;
    border-radius: 4px;
    background: #AA977F;
    background: linear-gradient(180deg, rgba(170, 151, 127, 1) 78%, rgba(165, 146, 122, 1) 79%, rgba(165, 146, 122, 1) 100%);
}

.menu-product-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.menu-product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-product-title {
    font-weight: 400;
    font-size: 14px;
    color: #333;
    font-family: 'Rubik';
}

.menu-product-price {
    font-size: 12px;
    color: #212121;
    font-weight: 700;
}
.menu-product-price del {
  display: none;
}
.menu-product-price ins {
  text-decoration: none;
}

.woocommerce .product .images .slider.visible {
  border-radius: 0 0 20px 0;
}

.product_chars {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.product_chars > li {
  padding-left: 15px;
  padding-right: 15px;
  margin: 5px 0 !important;
  max-width: 50%;
  min-width: 50%;
}

.wc-cart-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 5px;
    max-width: 280px;
    animation: fadeIn 0.3s ease;

    background: rgb(188 161 131 / 84%);
    backdrop-filter: blur(2px);
    color: #212121;
}

.wc-cart-notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wc-cart-notification-message {
    font-size: 14px;
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.product-qa-section {
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.qa-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}
.qa-question {
    padding: 15px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    position: relative;
}
.qa-question:after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}
.qa-question.active:after {
    content: "-";
}
.qa-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}
.qa-answer.show {
    padding: 15px;
    max-height: 300px;
}

.product-instructions-section {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}
.instruction-files-list {
    display: grid;
    gap: 15px;
}
.instruction-file {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}
.file-icon {
    font-size: 32px;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}
.file-info {
    flex: 1;
}
.file-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}
.file-meta {
    font-size: 12px;
    color: #666;
}
.file-download .button {
    background: #212121;
    color: white;
    border: none;
    font-weight: normal;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}
.file-download .button:hover {
    background: #d7d7d7;
}

/*CHECKOUT*/
#billing_country_field, #billing_address_1_field, #billing_address_2_field, #billing_city_field, #billing_state_field, #billing_postcode_field {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

footer .widgets-column img {
    max-width: 190px;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-telegram {
    background: #fff;
    color: #212121;
}
/* Адаптивность */
@media (max-width: 768px) {
    .menu-product-details {
        align-items: flex-start;
    }
    
    .menu-product-image img {
        width: 54px;
        height: 54px;
    }

    .menu-product-title, .menu-product-price {
        color: #FFF;
    }

    #mega-menu-wrap .menu .lang-item, #masthead #site-navigation.main-nav.active {
        display: block;
    }
    #masthead #site-navigation.main-nav .mega-menu-wrap {
        padding-top: 12px;
    }

   .mega-menu-item > a.menu-link {
      font-weight: 400 !important;
      color: #f7f7f7 !important;
      text-transform: uppercase !important;
      font-size: 17px !important;
      font-family: "Rubik", sans-serif;
   }

   #masthead #site-navigation.main-nav .mega-menu-wrap .sub-nav.open ul {
      padding-top: 32px !important;
   }

   .woocommerce .product .images .slider.visible {
    border-radius: 0;
   }

   .wc-cart-notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .product_chars > li {
      max-width: 100%;
      min-width: 100%;
    }
}