

/* AWH_HIDE_PRODUCT_CART_START */
body#product .product-add-to-cart {
  display: none !important;
}
/* AWH_HIDE_PRODUCT_CART_END */


/* AWH_HIDE_PRODUCT_VARIANTS_START */
body#product .product-variants {
  display: none !important;
}
/* AWH_HIDE_PRODUCT_VARIANTS_END */


/* AWH_CLEAN_COMBINATIONSTAB_START */
/* combinationstab: купівля йде через таблицю комбінацій.
   Залишаємо кошик у таблиці, ховаємо тільки посилання "Увійдіть" під ціною. */

body#product #ct_matrix td.ctd_price a {
  display: none !important;
}

body#product #ct_matrix td.ctd_price {
  white-space: normal;
}
/* AWH_CLEAN_COMBINATIONSTAB_END */


/* AWH_COMBINATIONSTAB_FILTER_STYLE_START */
/* combinationstab: тільки колір кнопок фільтра, розміри не чіпаємо */
body#product .table-ct-filters a.ctpf,
body#product .table-ct-filters a.ctpf.btn,
body#product .table-ct-filters a.ctpf.btn-info {
  opacity: 1 !important;
  color: #ffffff !important;
  background-color: #0878b8 !important;
  border-color: #0878b8 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  margin: 0 4px 7px 0 !important;
  vertical-align: top !important;
}

body#product .table-ct-filters a.ctpf:hover,
body#product .table-ct-filters a.ctpf.btn:hover,
body#product .table-ct-filters a.ctpf.btn-info:hover {
  opacity: 1 !important;
  color: #ffffff !important;
  background-color: #006aa3 !important;
  border-color: #006aa3 !important;
}

body#product .table-ct-filters a.ctpf.active,
body#product .table-ct-filters a.ctpf.btn.active,
body#product .table-ct-filters a.ctpf.btn-info.active {
  opacity: 1 !important;
  color: #ffffff !important;
  background-color: #005f93 !important;
  border-color: #005f93 !important;
}
/* AWH_COMBINATIONSTAB_FILTER_STYLE_END */

/* AWH combinationstab filter mobile gap only */
@media (max-width: 767px) {
  body#product .table-ct-filters a.ctpf,
  body#product .table-ct-filters a.ctpf.btn,
  body#product .table-ct-filters a.ctpf.btn-info {
    display: inline-block !important;
    margin: 0 4px 8px 0 !important;
    vertical-align: top !important;
  }

  body#product .table-ct-filters-values {
    padding-bottom: 4px !important;
  }
}

/* AWH_CTPF_MOBILE_GAP_START */
/* combinationstab: mobile gap only, no size changes */
@media (max-width: 768px) {
  body#product .table-ct-filters a.ctpf,
  body#product .table-ct-filters a.ctpf.btn,
  body#product .table-ct-filters a.ctpf.btn-info {
    display: inline-block !important;
    margin: 0 4px 8px 0 !important;
    vertical-align: top !important;
  }

  body#product .table-ct-filters-values {
    padding-bottom: 6px !important;
  }
}
/* AWH_CTPF_MOBILE_GAP_END */

/* AWH_CATEGORY_TREE_ICON_SPACE_START */
.block-categories .category-sub-menu li[data-depth="0"] > a {
  box-sizing: border-box;
  padding-right: 2.75rem;
}
/* AWH_CATEGORY_TREE_ICON_SPACE_END */


/* AWH_DESKTOP_CATALOG_START */
@media (min-width: 768px) {
  #_desktop_top_menu #category-10 > .sub-menu {
    padding: 0;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul {
    display: grid;
    grid-template-columns: 38% 62%;
    grid-template-rows: repeat(11, minmax(min-content, 1fr));
    height: min(580px, calc(100vh - 180px));
    margin: 0;
    padding: 0;
    background: #f5f7f9;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul > li {
    display: contents;
    float: none;
    margin: 0;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul > li > a {
    grid-column: 1;
    display: block;
    padding: 10px 18px;
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-transform: none;
    font-size: 14px;
    line-height: 1.35;
    border-bottom: 1px solid #e4e8ec;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul > li > .collapse {
    display: none;
    grid-column: 2;
    grid-row: 1 / span 11;
    min-width: 0;
    min-height: 0;
    padding: 14px 20px;
    overflow-y: auto;
    background: #fff;
    border-left: 1px solid #e4e8ec;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul > li:hover > .collapse,
  #_desktop_top_menu #category-10 > .sub-menu > ul > li:focus-within > .collapse {
    display: block;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul:not(:has(> li:hover, > li:focus-within)) > li:first-child > .collapse {
    display: block;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul:has(> li:hover) > li:not(:hover) > .collapse {
    display: none;
  }

  #_desktop_top_menu #category-10 > .sub-menu > ul > li:hover > a,
  #_desktop_top_menu #category-10 > .sub-menu > ul > li:focus-within > a {
    color: #0878b8;
    background: #fff;
  }

  #_desktop_top_menu #category-10 ul[data-depth="2"] {
    margin: 0;
    padding: 0;
  }

  #_desktop_top_menu #category-10 a[data-depth="2"] {
    padding: 8px 10px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
  }

  #_desktop_top_menu #category-10 a[data-depth="2"]:hover,
  #_desktop_top_menu #category-10 a[data-depth="2"]:focus {
    color: #0878b8;
    background: #eef5fa;
  }
}
@media (min-width: 768px) {
  #_desktop_top_menu #category-10 > .sub-menu::before,
  #_desktop_top_menu #category-10 > .sub-menu::after {
    content: none;
    display: none;
  }
}
/* AWH_DESKTOP_CATALOG_END */

/* AWH 2026-10-01: clearer required/optional fields */
.form-control-label.required::after {
    content: " *";
    color: #d00;
    font-weight: 700;
}

.form-control-comment {
    color: #777;
    font-size: 0.9rem;
}

/* AWH 2026-10-01: required marker inside checkbox labels */
.awh-required-inline {
    color: #d00;
    font-weight: 700;
    margin-right: 4px;
}
