/* The original fixed inquiry toolbar intercepted real mobile purchase clicks.
   Header navigation and the native WooCommerce cart remain available. */
.vkcs-ops-manual-sidebar .left_h3 {
  height: auto;
  min-height: 0;
  line-height: 1.4;
}

.vkcs-ops-manual-sidebar .left_h3 > span {
  display: block;
  height: auto;
  max-width: 100%;
  line-height: inherit;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Keep long names complete while letting every catalog row share its height. */
.cws-store .product_list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.cws-store .product_list::before,
.cws-store .product_list::after {
  display: none;
}

.cws-store .cws-ref-product .product_title {
  height: auto;
  min-height: 40px;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Old content headings used a fixed single-line height, including on phones. */
.cws-store:not(.home) .elementor-widget-heading .elementor-heading-title {
  height: auto;
  line-height: 1.4;
}

html[lang^="zh"] .cws-store .elementor-widget-heading .elementor-heading-title,
html[lang^="ar"] .cws-store .elementor-widget-heading .elementor-heading-title,
html[lang^="ar"] .cws-store .cws-ref-title {
  height: auto;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .cws-store .top_bg,
  .cws-store .top_lang {
    height: auto;
    min-height: 34px;
  }

  .cws-store .top_bg {
    display: flow-root;
  }

  .cws-store .top_lang {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    float: none;
    gap: 4px 8px;
    padding: 4px 10px;
  }

  body.vkcs-ops-commerce nav.mfoot_box {
    display: none !important;
  }
}
