/*
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
*/



/**
 * =====================================================
 * Kansuafa - Product Page
 * =====================================================
 */

.product-category-single-top, .product-detail-info .woocommerce-product-details__short-description, .product-detail-info .wishlist_compare_single_product {
	display: none;
}

/* Trust badges (above Title) */
.top-trust-badges {
	display: flex !important;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.top-badge {
	background: #f7f1ff;
	color: #3b2359;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3px;
	border: 1.5px solid #3b2359;
}
.badge--gold {
    background: #fdf6e3;
    border-color: #b8952a;
    color: #7A5C00;
}
.badge--dark {
    background: #1a1a1a;
    color: #d4af37;
    border-color: #1a1a1a;
}
.badge--outline {
    background: #00000000;
    border-color: #b8952a;
    color: #b8952a;
}

/* Product Price */
.product-detail .product-detail-info .bzotech-price-single {
	display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f5f5f5;
    border-radius: 10px;
    margin: 14px 0;
    border: 1px solid #e8e0cc;
	font-family: 'DM Sans',sans-serif
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
	width: auto;
}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button.buy-now-button {
	margin-left: 15px;
}

/* Single Product Whatsapp Button */
.product-whatsapp-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 10px 0 20px!important;
    padding: 14px 20px;
    background: linear-gradient(to right, #075E54, #128C7E, #25D366);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
	text-align: center;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}
.product-whatsapp-btn:hover {
	opacity: .92;
    transform: translateY(-1px);
    transition: all .2s;
}
.product-detail-info form.cart .detail-qty, .product-detail-info form.cart .ajax_add_to_cart, .product-detail-info form.cart .single_add_to_cart_button {
	order: 0 !important;
}

@media screen and (max-width: 552px) {
	.woocommerce div.product form.cart button.single_add_to_cart_button {
		width: 100%;
		margin-left: 0 !important;
	}
}

/* ── Countdown Timer ── */
.single-product-countdown {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #777;
  flex-wrap: wrap;
}
.countdown__label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.countdown__label svg {
  width: 14px;
  height: 14px;
  color: #c62828;
}
.countdown__timer {
  display: flex;
  gap: 4px;
  align-items: center;
}
.timer__unit {
  background: #1a1a1a;
  color: #d4af37;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  min-width: 36px;
  text-align: center;
  line-height: 1;
}
.timer__label {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #b8952a;
  margin-top: 2px;
}
.timer__sep {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 15px;
  margin: 0 1px;
  padding-bottom: 4px;
}

/* ── Live Activity Notification ── */
.product-live-activity {
  gap: 10px;
  display: flex;
  color: #d4af37;
  font-size: 13px;
  font-weight: 500;
  align-items: center;
  padding: 11px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #1a1a1a;
}
.live-activity__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: #d4af37;
  border-radius: 50%;
  animation: ks-pulse 1.5s ease-in-out infinite;
}
@keyframes ks-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Low Stock Bar ── */
.product-stock-bar {
  margin-bottom: 16px;
}
.stock-bar__text {
  gap: 5px;
  display: flex;
  color: #c62828;
  font-size: 13px;
  font-weight: 600;
  align-items: center;
  margin-bottom: 6px;
}
.stock-bar__track {
  height: 6px;
  background: #EEE;
  border-radius: 100px;
  overflow: hidden;
}
.stock-bar__fill {
  width: 25%;
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s ease;
  background: linear-gradient(90deg, #b8952a 0%, #c62828 100%);
}

/* ── Perks Strip ── */
.product-perks {
  gap: 8px;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px !important;
}
@media (max-width: 600px) {
  .product-perks { grid-template-columns: repeat(2, 1fr); }
}
.single-perk {
  text-align: center;
  border-radius: 6px;
  padding: 10px 8px;
  background: #ffffff;
  border: 1px solid #e8e0cc;
}
.single-perk svg {
  width: 22px;
  height: 22px;
  color: #b8952a;
  margin-bottom: 4px;
}
.perk__label {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a1a;
  display: block;
  line-height: 1.3;
}
.perk__sub {
  font-size: 12px;
  color: #777;
  display: block;
  margin-top: 1px;
  font-weight: 400;
}

 /* ── Order Progress Steps ── */
.order-steps {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
	margin-top: 4px;
}
.order-steps::before {
	content: '';
	position: absolute;
	top: 26px;
	left: 28px;
	right: 24px;
	height: 2px;
	background: #e8e0cc;
	z-index: 0;
}
.order-steps__progress {
	display: none;
	position: absolute;
	top: 18px;
	left: 10%;
	height: 2px;
	background: #b8952a;
	z-index: 1;
	transition: width 0.5s ease;
}
.order-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
	flex: 1;
}
.order-step.is-done:nth-child(2) {
	align-items: flex-start !important;
}
.order-step:last-child {
	align-items: flex-end;
}
.order-step__icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #e8e0cc;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	border: 2px solid #e8e0cc;
}
.order-step__icon svg { width: 20px; height: 20px; color: #d4af37; }
.order-step.is-done .order-step__icon {
	background: #1a1a1a;
	border-color: #1a1a1a;
}
.order-step.is-done .ks-step__icon svg { color: #d4af37; }
.order-step__label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
	text-align: center;
}
.order-step-text {
	display: flex;
	flex-direction: column;
}
.order-step__date {
	font-size: 14px;
	color: #000000;
	text-align: center;
}