/*
Theme Name: StreamTube Child
Description: Video WordPress Theme.
Author: phpface
Theme URI: https://1.envato.market/qny3O5
Author URI: https://1.envato.market/mgXE4y
Version: 1.0.0
Requires at least: 5.3
Tested up to: 5.8
Requires PHP: 5.6
License: Themeforest Licence
License URI: http://themeforest.net/licenses
Text Domain: streamtube-child
Template:  streamtube
Tags: two-columns, one-column, custom-menu, custom-logo, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/
/* 隐藏播放器头部 */
.player-header {
    display: none !important;
}
/* 隐藏整个评论区容器 */
.single-video_comments {
    display: none !important;
}

/* 或者仅隐藏评论列表（保留相关产品等） */
.comments-list-lg {
    display: none !important;
}
/* 手机端3列产品布局（针对div.product-item） */
@media (max-width: 768px) {
  /* 1. 主网格容器 */
  .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important; /* 产品间距 */
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
  }

  /* 2. 单个产品容器 */
  div.product-item {
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
  }

  /* 3. 强制1:1图片比例 */
  div.product-item .post-thumbnail {
    position: relative !important;
    padding-bottom: 100% !important; /* 关键：创建1:1比例 */
    height: 0 !important;
    overflow: hidden !important;
  }
  div.product-item .post-thumbnail img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* 防止图片拉伸 */
  }

  /* 4. 文字内容优化 */
  div.product-item .post-bottom {
    padding: 6px 0 !important;
  }
  div.product-item .woocommerce-loop-product__title {
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 4px 0 !important;
  }
  div.product-item .price {
    font-size: 11px !important;
    display: block !important;
  }
}
/* 隐藏上传按钮 */
.btn.btn-submit[data-bs-toggle="dropdown"] {
    display: none !important;
<script>
document.addEventListener('DOMContentLoaded', function() {
/* 强制品牌容器横向滚动（手动滑动） */
/* 尝试匹配最常见的品牌容器类名 */
.brands-wrap,
.brand-logos,
.partner-logos,
.top-brands,
.brands-carousel,
.owl-carousel,
.widget ul.brands,
ul.brand-list {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 20px !important;
    padding: 10px 0 !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
}
.brands-wrap > *,
.brand-logos > *,
.partner-logos > *,
.top-brands > *,
.brands-carousel > *,
.owl-carousel > *,
.widget ul.brands > *,
ul.brand-list > * {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
}
/* 隐藏滚动条（可选） */
.brands-wrap::-webkit-scrollbar,
.brand-logos::-webkit-scrollbar,
.partner-logos::-webkit-scrollbar,
.top-brands::-webkit-scrollbar,
.brands-carousel::-webkit-scrollbar,
.owl-carousel::-webkit-scrollbar,
.widget ul.brands::-webkit-scrollbar,
ul.brand-list::-webkit-scrollbar {
    display: none !important;
}
<style>
/* 隐藏文件夹图标 */
.btn__icon.icon-folder-open::before {
  display: none !important;
}

/* 或者完全隐藏整个元素 */
.btn__icon.icon-folder-open {
  display: none !important;
}
</style>
<style>
/* 隐藏添加到收藏夹按钮 */
button[data-bs-toggle="modal"][data-bs-target="#modal-collection"] {
  display: none !important;
}

/* 或者通过类名隐藏 */
button .btn__icon.icon-folder-open {
  display: none !important;
}

/* 假设父级有类 .btn-edit */
.btn-edit {
    display: none !important;
}
/* 或者隐藏 span 的父级（通用） */
.btn__icon.icon-edit {
    display: none !important;
}
.btn__icon.icon-edit-parent { /* 如果父级有特定类 */ 
    display: none !important;
}