/*
Theme Name: Bemins Child
Theme URI: http://www.wpbingosite.com/bemins
Author: wpbingo
Description: This is a child theme for Bemins
Version: 1.0.0
Author URI: http://wpbingosite.com
Template: bemins
Text Domain: bemins-child
*/
/*************** ADD YOUR CUSTOM CSS HERE  ***************/
.elementor-11550 .elementor-element.elementor-element-30507d7 .bwp-filter-homepage .products-content{
	    text-align: center;
}
.products-entry .product-attribute {
  margin-top: 8px;
}

.products-entry .product-attribute .wvs-archive-variations-wrapper {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
}

.products-entry .product-attribute .variations {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.elementor-11550 .elementor-element.elementor-element-30507d7 .bwp-filter-homepage .product-wapper .product-attribute{
	justify-content:center!important;
}

.woo-variation-items-wrapper,
.menu-item-49358,
#block-5,
#block-6,
.header-campbar{
	display:none;
}
.product-shipping{
	display:none;
}
#bwp-footer ul.social-link li a:hover,
.contact-us-form input[type=submit],
 .bwp-button-widget .bwp-button.default:hover,
.elementor-11550 .elementor-element.elementor-element-c079dc0 .bwp-button-widget .bwp-button.default:hover{
	background-color:#be0a11 !important;
}
.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name,
.quickview-container .product-type-variable .variations_form.cart table tr td .selected-term-name, .single-product .product-type-variable .variations_form.cart table tr td .selected-term-name{
	display:none!important;
}
.woocommerce-privacy-policy-text{
	display:none;
}
.menu-item-49360 {
  display: none !important;
}
.woosw-copy{
	display:none!important;
}


/* Ngăn chặn mã JS can thiệp đổi ảnh sai ở phần sản phẩm liên quan */
.related.products .product-thumbnail img,
.related.products .product-image img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}
.related.products .product-thumbnail .secondary-image,
.related.products .product-image .secondary-image {
    display: none !important;
}
/* Đảm bảo khung chứa ảnh có chiều cao cố định */
.img-thumbnail-scroll {
    display: block;
    width: 100%;
    height: 120px; /* Bạn có thể thay đổi con số này cho vừa mắt */
    overflow: hidden;
}

/* Ép ảnh lấp đầy khung và tự động cắt phần thừa */
.img-thumbnail-scroll img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* Giữ nguyên tỷ lệ ảnh, tự cắt rìa thừa để vừa khung */
    object-position: center; /* Căn giữa ảnh */
}