.gch-channels-btn {
  display: none;
  position: absolute;
  z-index: 25;
  top: 10px;
  left: 10px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(45, 66, 99, 0.92);
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(45, 66, 99, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.gch-channels-btn:hover,
.gch-channels-btn:focus {
  background: #c84b31;
  color: #fff !important;
}

.gch-channels-btn i {
  font-size: 13px;
  margin: 0 !important;
  line-height: 1;
}

@media (max-width: 849px) {
  .gch-channels-btn {
    display: inline-flex;
  }
}

body.gsc-ctx-product .product-filter-row.category-filtering {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.gsc-ctx-product .product-images,
body.gsc-ctx-product .product-gallery {
  position: relative;
}

body.gsc-ctx-post .entry-image {
  position: relative;
}

@media (max-width: 849px) {
  body.gsc-ctx-post .post-sidebar {
    display: none !important;
  }
}

#gch-post-sidebar {
  background: #fff;
  max-width: 420px;
  width: 92vw;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(45, 66, 99, 0.25);
}

#gch-post-sidebar .sidebar-inner {
  padding: 18px 16px 20px;
  max-height: 80vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#gch-post-sidebar .widget {
  margin-bottom: 22px;
}

#gch-post-sidebar .widget:last-child {
  margin-bottom: 0;
}

#gch-post-sidebar .gch-channels {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

@media (max-width: 849px) {
  body.gsc-ctx-shop .shop-page-title.category-page-title,
  body.gsc-ctx-shop .shop-page-title.page-title {
    padding-top: 18px !important;
    padding-bottom: 12px !important;
    margin-bottom: 0 !important;
  }

  body.gsc-ctx-shop .shop-page-title .page-title-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 10px;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.gsc-ctx-shop .shop-page-title .page-title-inner > .flex-col {
    display: contents !important;
  }

  body.gsc-ctx-shop .shop-page-title h1.shop-page-title,
  body.gsc-ctx-shop .shop-page-title .shop-page-title.is-xlarge {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.28rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
  }

  body.gsc-ctx-shop .shop-page-title .is-xsmall,
  body.gsc-ctx-shop .shop-page-title .breadcrumbs {
    grid-column: 1;
    grid-row: 2;
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    opacity: 0.72;
    text-align: right !important;
  }

  body.gsc-ctx-shop .shop-page-title .category-filtering.category-filter-row {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.gsc-ctx-shop .shop-page-title .woocommerce-ordering {
    grid-column: 2;
    grid-row: 2;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: 168px;
  }

  body.gsc-ctx-shop .shop-page-title .woocommerce-ordering select.orderby {
    font-size: 11px !important;
    padding: 6px 10px 6px 28px !important;
    min-height: 32px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 168px;
    background-position: left 8px center !important;
    appearance: none;
    -webkit-appearance: none;
  }

  body.gsc-ctx-shop .shop-page-title .filter-button {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(45, 66, 99, 0.92) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 4px 14px rgba(45, 66, 99, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    margin: 0 !important;
    white-space: nowrap;
  }

  body.gsc-ctx-shop .shop-page-title .filter-button:hover,
  body.gsc-ctx-shop .shop-page-title .filter-button:focus {
    background: #c84b31 !important;
    color: #fff !important;
  }

  body.gsc-ctx-shop .shop-page-title .filter-button i {
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 1;
    color: #fff !important;
  }

  body.gsc-ctx-shop .shop-page-title .filter-button strong {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.gsc-ctx-shop .shop-page-title .filter-button strong::before {
    content: "کانال‌های گیشه";
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
  }

  body.gsc-ctx-shop .shop-container,
  body.gsc-ctx-shop .category-page-row {
    padding-top: 4px !important;
  }

  body.gsc-ctx-shop .category-page-row > .col {
    padding-top: 0 !important;
  }
}
