/*
Theme Name:   Bw Zagg Child
Theme URI:    https://zagg.bzotech.com/intro/
Author:       The BZOTech
Author URI:   https://bzotech.com/
Description:  With Zagg WordPress template for WooCommerce, you'll elevate your online store by showcasing cutting-edge electronics and phone accessories with style.
Template:     bw-zagg
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 6.6
Requires PHP: 7.4
Copyright: © 2024 BZOTech Theme. All rights reserved.
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, post-formats, sticky-post, threaded-comments, block-styles, blog, news
Text Domain: bw-zagg-child
*/
/* .item-link .title {
    margin-top: -3px !important;
} */
.tab-product-horizontal .product-tab-content #tab-additional_information .detail-tab-desc {
    max-height: 100%;
    overflow: hidden;
}
.check_warranty_baohanh_form_box {
    background: #def6ff;
    padding: 24px 16px;
    border-radius: 8px;
	  margin: 0 auto 20px !important;
}
.check_warranty_baohanh_form_box input {
    outline: none;
    min-width: 50%;
    height: 48px;
    border-radius: 4px;
    border: none;
    padding: 4px 16px;
}
.check_warranty_baohanh_form_box button.check_warranty_masp_submit {
    margin: 15px 0 0;
    top: 0;
    height: 35px;
    border: 0;
      right: 0;
    -moz-border-radius: 0;
     -moz-border-top-right-radius: 3px;
    -moz-border-bottom-right-radius: 3px;
    background: #0b83b1 !important;
    color: #fff;
    outline: none;
    font-size: 11px;
}
.check_warranty_baohanh_form_box button[type="submit"] {
    border-radius: 4px;
    min-width: 50%;
    font-size: 1rem !important;
    text-transform: none;
}
.item-grid-post- .meta-post-style1 {
    margin: 20px 0 0 !important;
}
/*border sortby box */
.elbzotech-dropdown-box.sort-by-order:hover {
		border: 1px solid transparent;
    outline: 2px solid #de1f26;
}
/*ẩn title filter 
.js-filter-hitory .item-label {
    display: none !important;
}*/
/*style cho select category header filter */
/* ✅ Đây là container cuộn */
.elbzotech-dropdown-scroll {
  max-height: 400px;
  overflow-y: auto;
}

/* ✅ Reset lại UL để không cuộn, không có padding */
.elbzotech-dropdown-list {
  margin: 0;
  list-style: none;
  overflow: visible !important;
  height: auto !important;
}
.shop-grid-product-item- .list-product-wrap{
    margin-left: -6px;
    margin-right: -6px;
}
.product-grid-view .list-col-item {
    padding: 0 6px;
}
.menu-global-style-icon.position_content-right .bzotech-navbar-nav .sub-menu {
    padding-top: 0 !important;
}
.menu-global-style-icon .bzotech-navbar-nav .sub-menu >li>a {
    padding: 0 20px 0 30px !important;
}
/*Chương trình sale */
.product-sale-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
	margin: 10px 0;
	padding: 20px 30px;
	background: linear-gradient(to right, #c2031d, rgb(255, 115, 55));
    flex-direction: column;
    flex-direction: column-reverse;
    border-radius: 8px;
    gap: 10px;
}
.product-sale-content img {
   /* height: auto;
    width: 155px;*/
    vertical-align: middle;
}
.product-sale-content p {
    margin-bottom: 0;
}
.product-thumb {
    position: relative;
}
@media(max-width: 540px){
.product-sale-content{
  font-size: 13px;
  padding: 3px 5px;
	}		
.countdown-timer .cd-box {
    padding: 2px 4px !important;
    min-width: 30px !important;
}
.countdown-timer .cd-box span {
    font-size: 14px !important;
}
.countdown-timer {
    gap: 3px !important;
}
}
.deal-label-acf {
	z-index: 15;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: left;
    line-height: 1;
}
/*Box khuyến mãi thêm */
.product-extra-promo {
    background: #f75b00;
    position: relative;
    border-radius: 8px;
    padding: 40px 5px 1px 5px;
    clear: both;
}
.product-extra-promo .promo-title {
    font-size: 18px;
    font-weight: 600;
    color: rgb(255, 255, 255);
    width: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    left: 0px;
	gap:10px;
    top: 0px;
    padding: 8px 10px 10px 15px;
		background: url('../wp-content/uploads/bg-sales-box.png') left top / 100% 100% no-repeat;
    border-radius: 8px;
}
.product-extra-promo h3{
	  margin-top: 0px;
}
.product-extra-promo .promo-content {
    margin: 10px 0 0;
}
.product-extra-promo .promo-content ul {
    counter-reset: list-counter;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 4px;
}
.product-extra-promo .promo-content ul li {
    padding-left: 25px;
		line-height: 1.5;
    margin-bottom: 5px;
    counter-increment: list-counter;
    position: relative;
	font-size: 15px;
}
.product-extra-promo .promo-content ul li:before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: #ff6000;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    font-weight: 600;
	font-size: 13px;
}
.deal-label-acf img {
    max-width: 120px !important;
    height: auto !important;
    display: block;
}
.flashsale .flashsale-procressbar .conlai {
    font-size: 14px !important;
}

.bzotech-form-cart-single {
    margin-top: 0;
}
.bzotech-price-single {
    padding-bottom: 0px !important;
	border-bottom: none !important;
}
.fancybox-wrap,
.fancybox-lock .fancybox-overlay,
.fancybox-overlay-fixed{
/*    display: none !important;*/
}
@media(max-width: 767px){
 .list-links-scroll .elbzotech-list-link-global{
	width: max-content;
	animation-duration: 40s;
}
}
@media(max-width: 540px){
	.custom-mobile-search .elbzotech-search-global-default .elbzotech-list-product-search {
        width: 80vw;
        min-width: 100%;
	}		
}
.key-trending .key-trending-list {
    font-size: 14px;
}
.product-detail .final-countdown {
    display: none;
}
.price-vat-note {
    font-size: 15px;
    color: #d70018;
    line-height: 1;
	font-style: italic;
}
.bzotech-form-cart-single form.variations_form .qty-cart .woocommerce-variation,
.woocommerce div.product form.cart .reset_variations{
    display: none !important;
}

.main-media {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.main-video {
  display: none;
  background: #000;
}

.main-video iframe,
.main-video video {
  width: 100%;
  height: 100%;
}
.thumb-video div{
    position: relative;
}
.thumb-video div img{

}
.thumb-video div i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 28px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 100%;
}
.thumb-video:hover div i{
    border-color: #fff;
}
.woocommerce div.product div.images img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.widget_media_image img{
    border-radius: 16px;
}
/*============== video review ==============*/
.cate-video-title{
    font-size: 30px;
    margin-top: 0;
}
.detail-content-wrap iframe,
.video-review {
  aspect-ratio: 9 / 16;
  max-width: 420px;
}
.detail-content-wrap iframe,
.video-review video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.video-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}
.video-thumb {
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.video-thumb img,
.video-thumb video,
.video-thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb iframe {
  border: none;
}
.video-review-grid h3.video-title {
    margin-top: 20px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.detail-page-slide-media{
    padding: 24px 20px;
    border-radius: 12px;
    background-color: #fff;
    margin-top: 60px;
}
.detail-page-slide-media h2{
    margin-bottom: 20px;
}
.detail-page-slide-media .item-media{
    aspect-ratio: 9 / 16;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--bzo-border-color);
}
.detail-page-slide-media .item-media iframe,
.detail-page-slide-media .item-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-page-slide-media .display-swiper-navi-style1 .bzotech-swiper-navi .swiper-button-nav.swiper-button-next{
    right: -15px;
}
.detail-page-slide-media .display-swiper-navi-style1 .bzotech-swiper-navi .swiper-button-nav.swiper-button-prev{
    left: -15px;
}

@media(max-width: 880px){
    .video-review-grid {
      grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 767px){
    .video-review-grid {
        gap: 25px 15px;
    }
    .cate-video-title{
        font-size: 22px;
    }
    .video-review-grid h3.video-title{
        margin-top: 10px;
        font-size: 14px;
    }
    .detail-page-slide-media h2{
        font-size: 16px;
    }
    div .single-related-product,
    div .detail-page-slide-media{
        padding: 20px 15px;
        margin-top: 30px;
    }
}

/* page checkout */
body .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2,
body .woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1{
    width: 100%;
}
body .woocommerce #payment #place_order{
    background: var(--bzo-main-color);
    border: var(--bzo-main-color);
    color: #fff;
}
body .woocommerce #payment #place_order:hover{
    background: var(--bzo-title_typo-color);
    border-color: var(--bzo-title_typo-color);
}

.feature-box ul {
    margin: 0;
    padding-left: 20px;
}

.feature-box li {
    color: #000;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.feature-box li:last-child {
    margin-bottom: 0;
} 
.single-post-media-format .format-standard.banner-advs .wp-post-image{
    border-radius :15px;
	margin-bottom: 20px;
} 
.elementor-animation-grow:active, .elementor-animation-grow:focus, .elementor-animation-grow:hover {
    transform: scale(1.05) !important;
}
.elementor-animation-grow,
.product-thumb-link img:hover,
.post-thumb img:hover,
.item-slider-global-category .adv-thumb-link img:hover,
.item-slider-global-brands .cate-item img:hover{
    transition-duration: .4s !important;
}

/*update container về 1200 */
.woocommerce div.product form.cart .wpcbn-btn.single_add_to_cart_button::after {
    font-size: 11px !important;
}
.woocommerce div.product form.cart .variations label {
    font-size: 15px;
}
/* kết thúc update container về 1200 */
.sticky-header{
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}
.item-slider-global-category {
    background:#fff;
}
button[name="update_cart"]{
display: none !important;
}
@media(max-width: 767px){
    .mobi-accordion .elementor-widget-bzotech-list-link-global{
        display: none;
    }
    .mobi-accordion .elbzotech-heading-global{
            display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .mobi-accordion .elbzotech-heading-global:after{
        font-family: 'Line Awesome Free';
        font-weight: 900;
        content: "\f107";
    }
    .product-tab-wrap .tab-mobile-dropdown ul.nav-tabs li {
    	margin-top: 2px;
        margin-bottom: 2px;
    }
    .bread-crumb-global- .elbzotech-bread-crumb-global__content{
        overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow-wrap: break-word;
    -webkit-line-clamp: 1;
    }
	.tab-product-horizontal{
		order:1;
		margin-top: 30px;
	}
}