.woocommerce li.product {
    vertical-align: top;
    display: inline-block;
    float: none;
}

.woocommerce ul.products {
    text-align: center;
}

.wc-tabs-wrapper .wc-tabs {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.wc-tabs-wrapper .wc-tabs li.active a {
    background: transparent !important;
}

.archive .woocommerce-loop-product__title,
.post-type-archive-product .woocommerce-loop-product__title {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 16px !important;
}

.woocommerce-page .products .product .add_to_cart_button {
    display: none !important;
}

.woocommerce .product .button {
    display: none !important;
}

.woocommerce div.product form.cart .quantity {
    display: none !important;
}

.widget_product_categories .current-cat > a {
    font-weight: 600;
}

@media (min-width: 1068px) {
    .sidebar-container .thb-shop-filters {
        background: transparent !important;
    }
}

.thb-shop-filters .widget .thb-widget-title {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.sidebar-title-style {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin: 30px 0 15px;
}

.sidebar-button-style {
    font-size: 16px;
    font-weight: 600;
    color:#fff;
    background:#c8102e;
    border-radius: 9999px;
    padding: 14px 25px;
    margin: 16px auto;
    transition: background 0.25s ease-in-out,
                transform 0.25s ease-in-out;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.sidebar-button-style:hover {
    color: #fff;
    background: #090909;
    transform: scale(0.95);
}

.product-categories .children .cat-item a {
    font-size: 15px !important;
}

.widget.widget_product_categories > ul > li.cat-parent > .children {
    display: block;
}

.thb-arrow i::before {
    content: '\e800'; /* Arrow Down */
}

.cat-parent:not(.active) .thb-arrow i::before {
    content: '\e808'; /* Arrow Up */
}

.widget.widget_product_categories .children {
    padding: 10px 0 10px 48px !important;
}

@media only screen and (min-width: 768px) {
    .thb-product-detail .thb-product-main-row {
        margin-bottom: 16px !important;
    }
}

.woocommerce ul.products li.product img,
.woocommerce div.related ul.products li.product img {
    transition: transform 0.3s ease-in-out;
}

.woocommerce ul.products li.product:hover img,
.woocommerce div.related ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce-product-gallery__image img {
    transition: transform 0.3s ease-in-out;
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.05);
}

/* =========================
   WooCommerce Grid Override
   ========================= */

@media screen and (max-width: 1068px) {
  .woocommerce ul.products.columns-3 {
    display: flex;
    flex-wrap: wrap;
  }

  .woocommerce ul.products.columns-3 li.product {
    width: 33.3333%;
    flex: 0 0 33.3333%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce ul.products.columns-3 {
    margin: 0 -15px; /* ← removes the extra space at container edges */
  }

  .woocommerce ul.products.columns-3 li.product {
    padding: 0 15px;  /* ← gives 30px gap between columns */
    width: 50%;
    flex: 0 0 50%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 480px) {
  .woocommerce ul.products.columns-3 li.product {
    width: 100%;
    flex: 0 0 100%;
  }
}

/* =========================
   WooCommerce Related Products Override
   ========================= */

@media screen and (max-width: 1068px) {
  .woocommerce .related ul.products.columns-4 {
    display: flex;
    flex-wrap: wrap;
  }

  .woocommerce .related ul.products.columns-4 li.product {
    width: 25%;
    flex: 0 0 25%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce .related ul.products.columns-4 {
    margin: 0 -15px;
  }

  .woocommerce .related ul.products.columns-4 li.product {
    padding: 0 15px;
    width: 50%;
    flex: 0 0 50%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 480px) {
  .woocommerce .related ul.products.columns-4 li.product {
    width: 100%;
    flex: 0 0 100%;
  }
}