.phk-mobile-catalog-tools { display: none; }
.phk-mobile-grid-modes[hidden] { display: none !important; }
@media (max-width: 991px) {
  html body.page-category .phk-mobile-catalog-tools {
    display: flex; align-items: end; flex-wrap: wrap; gap: 12px;
    margin: 0 0 14px; padding: 0 0 12px; border-bottom: 1px solid #e2e4e8;
    color: var(--peony-contrast, #2b6ab2);
  }
  .phk-mobile-category { display: grid; flex: 1; min-width: 170px; gap: 5px; margin: 0; }
  .phk-mobile-category > span { font-size: 13px; font-weight: 600; }
  .phk-mobile-category select {
    width: 100%; min-width: 0; height: 44px; padding: 6px 28px 6px 10px;
    border: 1px solid var(--peony-secondary, #b9cadf); border-radius: 6px;
    background: #fff; color: inherit; font-family: inherit; font-size: 14px;
  }
  .phk-mobile-grid-modes { display: flex; gap: 0; height: 44px; }
  .phk-mobile-grid-modes button {
    display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 44px; padding: 0;
    border: 1px solid var(--peony-secondary, #b9cadf); border-right-width: 0;
    border-radius: 0; background: #fff; color: inherit; cursor: pointer;
  }
  .phk-mobile-grid-modes button:first-child { border-radius: 6px 0 0 6px; }
  .phk-mobile-grid-modes button:last-child { border-right-width: 1px; border-radius: 0 6px 6px 0; }
  .phk-mobile-grid-modes button[aria-pressed="true"] { background: var(--peony-surface, #eaf2fb); box-shadow: inset 0 -3px currentColor; }
  .phk-mobile-grid-modes .material-icons { font-size: 22px; }
  .phk-mobile-grid-modes button:focus-visible,
  .phk-mobile-category select:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
  html body.page-category #btn_view_product { display: none !important; }
  html[data-phk-mobile-columns] body.page-category #left-column .block-categories { display: none !important; }
  html[data-phk-mobile-columns] body.page-category #content-wrapper { width: 100% !important; max-width: 100% !important; flex: 0 0 100%; }
  html[data-phk-mobile-columns] body.page-category #js-product-list .leo-product-ajax {
    display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 12px; margin: 0;
  }
  html[data-phk-mobile-columns="2"] body.page-category #js-product-list .leo-product-ajax { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html[data-phk-mobile-columns="3"] body.page-category #js-product-list .leo-product-ajax { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html[data-phk-mobile-columns] body.page-category #js-product-list .ajax_block_product { width: auto !important; max-width: none !important; min-width: 0; padding: 0; margin: 0; float: none; }
  html[data-phk-mobile-columns] body.page-category .product-miniature,
  html[data-phk-mobile-columns] body.page-category .thumbnail-container { min-width: 0; width: 100%; box-sizing: border-box; }
  html[data-phk-mobile-columns] body.page-category .thumbnail-container { padding: 10px !important; }
  html[data-phk-mobile-columns] body.page-category .product-meta,
  html[data-phk-mobile-columns] body.page-category .product-description { min-width: 0; padding: 8px 0 0 !important; }
  html[data-phk-mobile-columns] body.page-category .product-image,
  html[data-phk-mobile-columns] body.page-category .thumbnail-top,
  html[data-phk-mobile-columns] body.page-category a.product-thumbnail { height: auto !important; max-height: none !important; }
  html[data-phk-mobile-columns] body.page-category a.product-thumbnail { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
  html[data-phk-mobile-columns] body.page-category .product-thumbnail img { display: block; width: 100% !important; height: 100% !important; max-height: 240px; object-fit: contain; }
  html[data-phk-mobile-columns] body.page-category .product-title,
  html[data-phk-mobile-columns] body.page-category .product-title a {
    font-size: 14px !important; line-height: 1.4 !important; white-space: normal !important;
    height: auto !important; max-height: none !important; overflow-wrap: anywhere;
  }
  html[data-phk-mobile-columns] body.page-category .product-title a { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical; overflow: hidden; }
  html[data-phk-mobile-columns] body.page-category .category-default { font-size: 12px; line-height: 1.4; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-description { font-size: 12px; line-height: 1.45; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-variant-config { min-width: 0; width: 100%; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-variant-field { grid-template-columns: 76px minmax(0, 1fr); font-size: 13px !important; line-height: 1.4; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-variant-select { min-width: 0; width: 100%; height: 36px !important; min-height: 36px; font-size: 13px !important; padding: 4px 20px 4px 6px; }
  html[data-phk-mobile-columns="2"] body.page-category .product-title,
  html[data-phk-mobile-columns="2"] body.page-category .product-title a,
  html[data-phk-mobile-columns="3"] body.page-category .product-title,
  html[data-phk-mobile-columns="3"] body.page-category .product-title a { font-size: 13px !important; }
  html[data-phk-mobile-columns="2"] body.page-category .phk-mini-variant-field,
  html[data-phk-mobile-columns="3"] body.page-category .phk-mini-variant-field { grid-template-columns: minmax(0, 1fr); gap: 3px; font-size: 12px !important; }
  html[data-phk-mobile-columns="2"] body.page-category .phk-mini-description,
  html[data-phk-mobile-columns="3"] body.page-category .phk-mini-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity { display: flex; justify-content: center; width: 100%; height: 36px !important; min-height: 36px; margin: 8px 0 !important; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity .leo-touchspin { width: 104px !important; max-width: 100%; height: 36px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity .input-group { display: grid !important; grid-template-columns: 32px minmax(28px, 1fr) 32px; width: 100% !important; height: 36px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity .input-group-btn-vertical { display: contents !important; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity input { grid-column: 2; grid-row: 1; width: 100% !important; height: 36px !important; min-height: 36px !important; padding: 2px !important; text-align: center; margin: 0 !important; font-size: 14px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity button { position: static !important; width: 32px !important; height: 36px !important; min-height: 36px !important; margin: 0 !important; padding: 0 !important; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity .minus { grid-column: 1; grid-row: 1; }
  html[data-phk-mobile-columns] body.page-category .phk-mini-quantity .plus { grid-column: 3; grid-row: 1; }
  html[data-phk-mobile-columns] body.page-category #js-product-list .product-miniature .phk-mini-quantity .leo-touchspin { flex: 0 0 104px !important; width: 104px !important; min-width: 0 !important; }
  html[data-phk-mobile-columns] body.page-category #js-product-list .phk-mini-quantity input { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  html[data-phk-mobile-columns] body.page-category #js-product-list .phk-mini-quantity .input-group-btn-vertical .btn { width: 32px !important; min-width: 0 !important; height: 36px !important; min-height: 36px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 48px; padding: 6px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .product-price-and-shipping { display: flex; align-items: center; margin: 0 !important; padding: 0 !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .price { position: static !important; font-size: 15px !important; line-height: 1.3 !important; margin: 0 !important; white-space: nowrap; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .button-container { flex: 0 0 auto; margin: 0 !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .leo-bt-cart { min-width: 32px !important; padding: 0 !important; margin: 0 !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .leo-bt-cart-content { display: flex; align-items: center; gap: 6px; padding: 0 !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .icon-cart { display: grid; place-items: center; width: 32px !important; height: 32px !important; line-height: 32px !important; font-size: 20px !important; margin: 0 !important; }
  html[data-phk-mobile-columns="2"] body.page-category .phk-price-cart-row .name-btn-product,
  html[data-phk-mobile-columns="3"] body.page-category .phk-price-cart-row .name-btn-product { display: none !important; }
  html[data-phk-mobile-columns="2"] body.page-category .phk-price-cart-row .leo-bt-cart-content,
  html[data-phk-mobile-columns="3"] body.page-category .phk-price-cart-row .leo-bt-cart-content { gap: 0; }
}
@media (max-width: 575px) {
  .phk-mobile-grid-modes button[data-columns="3"] { display: none; }
  .phk-mobile-grid-modes button[data-columns="2"] { border-right-width: 1px; border-radius: 0 6px 6px 0; }
}
@media (max-width: 359px) {
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row { padding: 4px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .price { font-size: 14px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .leo-bt-cart { min-width: 28px !important; }
  html[data-phk-mobile-columns] body.page-category .phk-price-cart-row .icon-cart { width: 28px !important; height: 28px !important; line-height: 28px !important; font-size: 18px !important; }
}
