html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
picture,
video,
iframe {
  max-width: 100%;
}

.group-icon {
  height: auto;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

.header-contact-block {
  display: inline-block;
  max-width: 100%;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
  padding: 7px 0 4px;
}

.header-contact-block p {
  margin: 0;
}

.contact-info-updated h4 {
  margin: 22px 0 10px;
  color: #078209;
  font-size: 24px;
  line-height: 1.2;
}

.contact-info-updated h4:first-child {
  margin-top: 0;
}

.contact-info-updated p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-contact-block p {
  margin: 0 0 7px;
}




@media (min-width: 768px) {
  .page-template-page-products .products > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    clear: both !important;
  }

  .page-template-page-products .products > .row::before,
  .page-template-page-products .products > .row::after {
    display: none !important;
    content: none !important;
  }

  .page-template-page-products .products .product-container {
    float: none !important;
    clear: none !important;
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    min-height: 0 !important;
  }
}


@media (min-width: 768px) {
  .page-template-page-products .products-sidebar {
    width: 25% !important;
    max-width: 25% !important;
    padding-right: 22px !important;
  }

  .page-template-page-products #main {
    width: 75% !important;
    max-width: 75% !important;
  }

  .page-template-page-products .products-filter .category-title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.2;
  }

  .page-template-page-products .products-filter .category-title:not(:first-child) {
    margin-top: 24px;
  }

  .page-template-page-products .products-filter .checkbox {
    clear: both;
    display: block;
    margin: 0 0 9px;
  }

  .page-template-page-products .products-filter .checkbox.hidden {
    display: none !important;
  }

  .page-template-page-products .products-filter label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    line-height: 1.25;
    overflow-wrap: normal;
  }

  .page-template-page-products .products-filter .custom-checkbox {
    flex: 0 0 auto;
    margin-top: 1px !important;
  }

  .page-template-page-products .products-filter input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 3px;
  }

  .page-template-page-products .products .row {
    clear: both;
  }

  .page-template-page-products .product01 {
    text-align: center;
  }

  .page-template-page-products .product01 img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .page-template-page-products .product01 h3 {
    margin-top: 12px;
    line-height: 1.2;
  }

  .page-template-page-products .product01 .catalog-subtitle {
    margin-top: 6px;
    color: #666;
    font-size: 14px;
    line-height: 1.35;
  }
}


@media (min-width: 768px) {
  #home_slider.home-slider {
    overflow: hidden !important;
  }

  #h-accordion {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #h-accordion li {
    overflow: hidden !important;
  }

  #h-accordion .slide {
    height: 100% !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }
}

@media (max-width: 767px) {
  body {
    min-width: 0 !important;
  }

  .row,
  .columns,
  .column,
  .container,
  .content,
  .main,
  .site-content,
  .footer,
  .footer .row {
    max-width: 100% !important;
    width: 100% !important;
  }

  .header-contact-block {
    display: block;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
    padding: 8px 10px;
  }

  .contact-info-updated h4 {
    font-size: 22px;
  }

  #h-accordion {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #h-accordion li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-height: 390px !important;
    height: auto !important;
    overflow: visible !important;
  }

  #h-accordion .slide {
    width: 100% !important;
    min-height: 390px !important;
    height: auto !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }

  #h-accordion .tab {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 10px 14px !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    text-align: left !important;
    font-size: 18px !important;
  }

  #h-accordion .text {
    display: block !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: calc(100% - 32px) !important;
    margin: 18px 16px 0 !important;
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.86) !important;
  }

  #h-accordion .text-bg1,
  #h-accordion .text-bg2,
  #h-accordion .text-bg3 {
    display: none !important;
  }

  .slide {
    min-height: 420px !important;
    height: auto !important;
    padding: 0 0 44px !important;
  }

  .slide h1,
  .slide h2,
  .slide h3,
  .slide p {
    max-width: 100% !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .slide h1,
  .slide h2 {
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  .product-groups,
  .product-groups .row,
  .groups,
  .group-list {
    display: block !important;
  }

  .product-groups .columns,
  .groups .columns,
  .group-list .columns,
  .group-item {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .group-icon {
    max-width: 92px !important;
  }

  .footer,
  footer {
    text-align: center;
  }

  .footer .columns,
  footer .columns {
    width: 100% !important;
    float: none !important;
    margin-bottom: 18px;
  }


  .page-template-page-products .products-sidebar,
  .page-template-page-products #main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .page-template-page-products .products-filter label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.25;
  }

  .page-template-page-products .products-filter .checkbox.hidden {
    display: none !important;
  }

  .page-template-page-products .products .product-container {
    width: 50% !important;
    max-width: 50% !important;
    float: left !important;
    clear: none !important;
    min-height: 250px;
  }

  .page-template-page-products .product01 {
    text-align: center;
  }

  .page-template-page-products .product01 img {
    height: auto !important;
    max-height: 170px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .page-template-page-products .product01 h3 {
    margin-top: 10px;
    font-size: 16px !important;
    line-height: 1.2;
  }

  .page-template-page-products .product01 .catalog-subtitle {
    margin-top: 4px;
    color: #666;
    font-size: 12px;
    line-height: 1.3;
  }

  #cookie-notice .cookie-notice-container {
    padding: 12px 14px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  #cn-accept-cookie {
    display: inline-block !important;
    margin-top: 8px !important;
  }
}

/* User requested layout fixes 2026-07-07 */
#home_slider.home-slider,
#h-accordion,
#h-accordion li,
#h-accordion .slide {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden !important;
}

#h-accordion .slide {
  background-clip: padding-box;
}

.page-template-page-products #main > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: stretch;
  margin-bottom: 28px;
}

.page-template-page-products #main > nav .button02 {
  flex: 0 0 180px;
  width: 180px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  padding: 10px 12px;
  white-space: normal;
}

@media (max-width: 767px) {
  .page-template-page-products #main > nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-template-page-products #main > nav .button02 {
    width: 100%;
    flex-basis: auto;
    min-height: 50px;
  }
}

.g-recaptcha,
.wpcf7-recaptcha,
.recaptcha01 {
  display: none !important;
}
