/**
 * NNF Commerce — Single Product Section (Gallery, Price, Sticky Cart Bar & Quantity)
 * @package NNF_Commerce
 */

.summary a.nnf-price-contact-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Single Product: Add to Cart Form & Quantity Stepper
   ========================================================================== */
body.single-product .entry-summary .ct-cart-actions,
body.single-product .ct-cart-actions,
.single-product .ct-cart-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	margin-bottom: 20px;
}

/* Quantity Stepper: Đồng bộ chuẩn WoodMart .nnf-qty-box */
body.single-product .entry-summary form.cart .quantity,
body.single-product .ct-cart-actions .quantity,
body.single-product .ct-cart-actions .quantity[data-type],
.single-product .ct-cart-actions .quantity,
.single-product .ct-cart-actions .quantity[data-type] {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: 46px;
	min-height: 46px;
	max-height: 46px;
	width: 106px;
	min-width: 106px;
	max-width: 106px;
	border: 1px solid #dcdfe4;
	border-radius: 6px;
	background: #ffffff;
	overflow: hidden;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	flex-shrink: 0;
	position: relative;
}

.single-product .ct-cart-actions .quantity .screen-reader-text {
	display: none;
}

/* Nút trừ (−) bên trái */
body.single-product .entry-summary form.cart .quantity .ct-decrease,
body.single-product .ct-cart-actions .quantity .ct-decrease,
.single-product .ct-cart-actions .quantity .ct-decrease {
	position: static;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	order: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-width: 32px;
	max-width: 32px;
	height: 100%;
	min-height: 100%;
	background: #f8fafc;
	color: var(--wd-dark, #242424);
	cursor: pointer;
	border: none;
	border-right: 1px solid #dcdfe4;
	margin: 0;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease;
	user-select: none;
	box-sizing: border-box;
}

/* Ô nhập số lượng ở giữa */
body.single-product .entry-summary form.cart .quantity input.qty,
body.single-product .ct-cart-actions .quantity input.qty,
.single-product .ct-cart-actions .quantity input.qty {
	position: static;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	order: 2;
	display: block;
	visibility: visible;
	opacity: 1;
	width: 42px;
	min-width: 42px;
	max-width: 42px;
	height: 100%;
	line-height: 44px;
	border: none;
	border-radius: 0;
	background: #ffffff;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	padding: 0;
	margin: 0;
	box-shadow: none;
	outline: none;
	box-sizing: border-box;
	-moz-appearance: textfield;
	appearance: textfield;
}

.single-product .ct-cart-actions .quantity input.qty::-webkit-outer-spin-button,
.single-product .ct-cart-actions .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

/* Nút cộng (+) bên phải */
body.single-product .entry-summary form.cart .quantity .ct-increase,
body.single-product .ct-cart-actions .quantity .ct-increase,
.single-product .ct-cart-actions .quantity .ct-increase {
	position: static;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	order: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-width: 32px;
	max-width: 32px;
	height: 100%;
	min-height: 100%;
	background: #f8fafc;
	color: var(--wd-dark, #242424);
	cursor: pointer;
	border: none;
	border-left: 1px solid #dcdfe4;
	margin: 0;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease;
	user-select: none;
	box-sizing: border-box;
}

/* Biểu tượng SVG bên trong nút tăng/giảm */
.single-product .ct-cart-actions .quantity .ct-decrease svg,
.single-product .ct-cart-actions .quantity .ct-increase svg {
	width: 12px;
	height: 12px;
	display: block;
	margin: auto;
	fill: currentColor;
	pointer-events: none;
}

/* Hover đồng bộ màu xanh theme */
body.single-product .entry-summary form.cart .quantity .ct-decrease:hover,
body.single-product .entry-summary form.cart .quantity .ct-increase:hover,
.single-product .ct-cart-actions .quantity .ct-decrease:hover,
.single-product .ct-cart-actions .quantity .ct-increase:hover {
	background: var(--wd-primary, #8CBC67);
	color: #ffffff;
}

.single-product .ct-cart-actions .quantity .ct-decrease:hover svg,
.single-product .ct-cart-actions .quantity .ct-increase:hover svg {
	fill: #ffffff;
	stroke: #ffffff;
}

/* Nút Thêm vào giỏ hàng: Cân đối chiều cao 46px với Stepper */
body.single-product .entry-summary form.cart .single_add_to_cart_button,
body.single-product .ct-cart-actions .single_add_to_cart_button,
.single-product .ct-cart-actions .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart button[type="submit"].button {
	height: 46px;
	min-height: 46px;
	max-height: 46px;
	line-height: 46px;
	padding: 0 32px;
	background: var(--wd-primary, #8CBC67);
	color: #ffffff;
	border: none;
	border-radius: var(--wd-radius-pill, 30px);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 12px rgba(140, 188, 103, 0.3);
	margin: 0;
	box-sizing: border-box;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

body.single-product .entry-summary form.cart .single_add_to_cart_button:hover,
body.single-product .ct-cart-actions .single_add_to_cart_button:hover,
.single-product .ct-cart-actions .single_add_to_cart_button:hover,
.single-product form.cart .single_add_to_cart_button:hover,
.single-product form.cart button[type="submit"].button:hover {
	background: #315c24;
	color: #ffffff;
	box-shadow: 0 6px 16px rgba(140, 188, 103, 0.45);
	transform: translateY(-1px);
}

body.single-product .entry-summary form.cart .single_add_to_cart_button:active,
body.single-product .ct-cart-actions .single_add_to_cart_button:active,
.single-product .ct-cart-actions .single_add_to_cart_button:active,
.single-product form.cart .single_add_to_cart_button:active,
.single-product form.cart button[type="submit"].button:active {
	transform: translateY(1px);
	box-shadow: 0 2px 8px rgba(140, 188, 103, 0.25);
}


/* ==========================================================================
   Sticky Add to Cart Bar
   ========================================================================== */
.nnf-sticky-cart-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
	border-top: 1px solid var(--wd-border, #e5e7eb);
	padding: 10px 24px;
	z-index: 99998;
	transform: translateY(100%);
	transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-sizing: border-box;
}

.nnf-sticky-cart-bar.active {
	transform: translateY(0);
}

.nnf-sticky-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.nnf-sticky-product-info {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	flex: 1 1 auto;
}

.nnf-sticky-thumb {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	border-radius: 6px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #eef0f3;
}

.nnf-sticky-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nnf-sticky-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nnf-sticky-title {
	font-weight: 700;
	font-size: 15px;
	color: var(--wd-dark, #242424);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nnf-sticky-price {
	color: var(--wd-primary, #8CBC67);
	font-weight: 800;
	font-size: 15px;
}

.nnf-sticky-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.nnf-sticky-cart-bar .nnf-qty-box {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	height: 42px;
	width: 92px;
	min-width: 92px;
	max-width: 92px;
	border: 1px solid #dcdfe4;
	border-radius: 6px;
	background: #ffffff;
	overflow: hidden;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	flex-shrink: 0;
}

.nnf-sticky-cart-bar .nnf-qty-btn {
	width: 28px;
	min-width: 28px;
	max-width: 28px;
	height: 40px;
	background: #f8fafc;
	border: none;
	font-size: 16px;
	font-weight: 700;
	color: var(--wd-dark, #242424);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	line-height: 1;
	user-select: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.nnf-sticky-cart-bar .nnf-qty-btn.nnf-qty-minus {
	border-right: 1px solid #dcdfe4;
}

.nnf-sticky-cart-bar .nnf-qty-btn.nnf-qty-plus {
	border-left: 1px solid #dcdfe4;
}

.nnf-sticky-cart-bar .nnf-qty-btn:hover {
	background: var(--wd-primary, #8CBC67);
	color: #ffffff;
}

.nnf-sticky-cart-bar input.nnf-sticky-qty-input,
.nnf-sticky-cart-bar input.nnf-qty-input {
	display: block;
	visibility: visible;
	opacity: 1;
	width: 36px;
	min-width: 36px;
	max-width: 36px;
	height: 40px;
	line-height: 40px;
	border: none;
	border-radius: 0;
	background: #ffffff;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	padding: 0;
	margin: 0;
	box-shadow: none;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.nnf-sticky-cart-bar input.nnf-sticky-qty-input::-webkit-outer-spin-button,
.nnf-sticky-cart-bar input.nnf-sticky-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

.nnf-sticky-btn {
	background: var(--wd-primary, #8CBC67);
	color: #ffffff;
	border: none;
	border-radius: var(--wd-radius-pill, 30px);
	height: 42px;
	line-height: 42px;
	padding: 0 24px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(140, 188, 103, 0.3);
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.nnf-sticky-btn:hover {
	background: var(--wd-primary-hover, #80AB5E);
	color: #ffffff;
	box-shadow: 0 6px 16px rgba(140, 188, 103, 0.45);
	transform: translateY(-1px);
}

.nnf-sticky-btn:active {
	transform: translateY(1px);
	box-shadow: 0 2px 8px rgba(140, 188, 103, 0.25);
}


/* ==========================================================================
   Responsive: Sticky Cart Bar & Single Product Actions
   ========================================================================== */
@media (max-width: 768px) {
	.nnf-sticky-cart-bar {
		padding: 8px 14px;
	}
	.nnf-sticky-inner {
		gap: 10px;
	}
	.nnf-sticky-thumb {
		width: 44px;
		height: 44px;
	}
	.nnf-sticky-title {
		font-size: 13px;
		max-width: 200px;
	}
	.nnf-sticky-price {
		font-size: 13px;
	}
	.nnf-sticky-actions {
		gap: 10px;
	}
	.nnf-sticky-cart-bar .nnf-qty-box {
		height: 38px;
		width: 82px;
		min-width: 82px;
		max-width: 82px;
	}
	.nnf-sticky-cart-bar .nnf-qty-btn {
		width: 25px;
		min-width: 25px;
		height: 36px;
		font-size: 15px;
	}
	.nnf-sticky-cart-bar input.nnf-sticky-qty-input,
	.nnf-sticky-cart-bar input.nnf-qty-input {
		width: 32px;
		min-width: 32px;
		height: 36px;
		line-height: 36px;
		font-size: 13px;
	}
	.nnf-sticky-btn {
		height: 38px;
		line-height: 38px;
		padding: 0 16px;
		font-size: 13px;
		gap: 6px;
	}
}

@media (max-width: 480px) {
	.single-product .ct-cart-actions {
		gap: 10px;
	}
	.nnf-sticky-cart-bar {
		padding: 6px 10px;
	}
	.nnf-sticky-inner {
		gap: 8px;
	}
	.nnf-sticky-thumb {
		display: none;
	}
	.nnf-sticky-title {
		font-size: 12px;
		max-width: 125px;
	}
	.nnf-sticky-price {
		font-size: 12px;
	}
	.nnf-sticky-actions {
		gap: 6px;
	}
	.nnf-sticky-cart-bar .nnf-qty-box {
		height: 36px;
		width: 76px;
		min-width: 76px;
		max-width: 76px;
	}
	.nnf-sticky-cart-bar .nnf-qty-btn {
		width: 23px;
		min-width: 23px;
		height: 34px;
		font-size: 14px;
	}
	.nnf-sticky-cart-bar input.nnf-sticky-qty-input,
	.nnf-sticky-cart-bar input.nnf-qty-input {
		width: 30px;
		min-width: 30px;
		height: 34px;
		line-height: 34px;
		font-size: 12px;
	}
	.nnf-sticky-btn {
		height: 36px;
		line-height: 36px;
		padding: 0 12px;
		font-size: 12px;
		gap: 4px;
	}
	.nnf-sticky-btn svg {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 360px) {
	.nnf-sticky-title {
		max-width: 85px;
	}
	.nnf-sticky-cart-bar .nnf-qty-box {
		display: none;
	}
	.nnf-sticky-btn {
		padding: 0 10px;
	}
}

/* ==========================================================================
   WOODMART VEGETABLES SINGLE PRODUCT LARGE SQUARE GALLERY & HORIZONTAL ALBUM
   ========================================================================== */

/* 1. KHUNG ẢNH LỚN HÌNH VUÔNG 1:1 CHUẨN WOODMART VEGETABLES */
.single-product .woocommerce-product-gallery {
	position: relative;
	background: transparent;
	border-radius: 12px;
	box-sizing: border-box;
	width: 100%;
}

.single-product .woocommerce-product-gallery .ct-product-gallery-container {
	width: 100%;
	background: transparent;
	border: none;
	box-shadow: none;
	display: block;
	overflow: visible;
}

/* Khung ảnh chính vuông 1:1, nền trắng sạch sẽ, viền bo tinh tế */
.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .flexy-view,
.single-product .woocommerce-product-gallery .flex-viewport {
	aspect-ratio: 1 / 1;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid var(--wd-border, #eaeaea);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	position: relative;
}

/* FlexSlider stretches its track across every slide; only the viewport is square. */
.single-product .woocommerce-product-gallery .flex-viewport {
	/* Override the height FlexSlider writes inline after changing a slide. */
	height: auto !important;
}

.single-product .woocommerce-product-gallery .flex-viewport > .woocommerce-product-gallery__wrapper {
	aspect-ratio: auto;
	height: 100%;
	margin: 0;
}

/* Đảm bảo toàn bộ chuỗi container từ flexy -> item -> figure -> img luôn lấp đầy khung vuông 1:1 */
.single-product .woocommerce-product-gallery .flexy-container,
.single-product .woocommerce-product-gallery .flexy {
	width: 100%;
	height: 100%;
	position: relative;
}

.single-product .woocommerce-product-gallery .flexy-items {
	width: 100%;
	height: 100%;
	display: flex;
}

body.single-product .woocommerce-product-gallery .flexy-item,
.single-product .woocommerce-product-gallery .flexy-item {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 100%;
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery .ct-media-container,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery .ct-media-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.single-product .woocommerce-product-gallery .flexy-item figure,
body.single-product .woocommerce-product-gallery .ct-media-container,
.single-product .woocommerce-product-gallery .flexy-item figure,
.single-product .woocommerce-product-gallery .ct-media-container {
	width: 100%;
	height: 100%;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery .ct-media-container img,
body.single-product .woocommerce-product-gallery .flexy-item img,
body.single-product .woocommerce-product-gallery img.wp-post-image,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .ct-media-container img,
.single-product .woocommerce-product-gallery .flexy-item img,
.single-product .woocommerce-product-gallery img.wp-post-image {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	margin: auto;
	border-radius: 12px;
	opacity: 1;
	visibility: visible;
	transition: none;
}

/* 2. TẮT TÍNH NĂNG ZOOM KHI HOVER */
.single-product .woocommerce-product-gallery .zoomImg,
.single-product .zoomImg,
.zoomImg {
	display: none;
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
}


/* ==========================================================================
   Single Product Price & 'Liên hệ' Text Sizing
   ========================================================================== */
body.single-product .entry-summary .price,
body.single-product .entry-summary .price .amount,
body.single-product .entry-summary .nnf-price-contact,
body.single-product .entry-summary .nnf-price-contact .amount,
.single-product .entry-summary .price,
.single-product .entry-summary .price .amount,
.single-product .entry-summary .nnf-price-contact,
.single-product .entry-summary .nnf-price-contact .amount {
	font-size: 24px;
	font-weight: 800;
	color: #e53e3e;
	display: inline-block;
	margin: 8px 0 14px 0;
	line-height: 1.2;
	letter-spacing: -0.2px;
}

body.single-product .entry-summary .price:not(.nnf-price-contact),
body.single-product .entry-summary .price:not(.nnf-price-contact) .amount,
body.single-product .entry-summary .price:not(.nnf-price-contact) ins .amount,
.single-product .entry-summary .price:not(.nnf-price-contact),
.single-product .entry-summary .price:not(.nnf-price-contact) .amount,
.single-product .entry-summary .price:not(.nnf-price-contact) ins .amount {
	color: var(--wd-primary, #8CBC67);
	font-size: 26px;
	font-weight: 800;
}

/* 3. ALBUM ẢNH CON BÊN DƯỚI SẮP XẾP CUỘN NGANG (Horizontal Scroll Album) */
body.single-product .woocommerce-product-gallery .flexy-pills,
.single-product .woocommerce-product-gallery .flexy-pills {
	display: block;
	width: 100%;
	margin: 14px 0 0 0;
	padding: 0;
	overflow: visible;
}

body.single-product .woocommerce-product-gallery .flexy-pills ol,
body.single-product .woocommerce-product-gallery .flex-control-thumbs,
body.single-product .woocommerce-product-gallery .thumbnails,
body.single-product .woocommerce-product-gallery ol.flexy-pills,
.single-product .woocommerce-product-gallery .flexy-pills ol,
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery .thumbnails,
.single-product .woocommerce-product-gallery ol.flexy-pills {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	margin: 0;
	padding: 4px 2px 10px 2px;
	list-style: none;
	width: 100%;
	box-sizing: border-box;
	scrollbar-width: thin;
	scrollbar-color: var(--wd-primary, #8CBC67) #f1f5f9;
}

/* Tùy chỉnh thanh cuộn ngang của Album ảnh con */
.single-product .woocommerce-product-gallery .flexy-pills ol::-webkit-scrollbar,
.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	height: 5px;
}

.single-product .woocommerce-product-gallery .flexy-pills ol::-webkit-scrollbar-track,
.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 4px;
}

.single-product .woocommerce-product-gallery .flexy-pills ol::-webkit-scrollbar-thumb,
.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
	background: var(--wd-primary, #8CBC67);
	border-radius: 4px;
}

/* Từng ảnh con trong Album */
body.single-product .woocommerce-product-gallery .flexy-pills ol > li,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li,
body.single-product .woocommerce-product-gallery .thumbnails li,
.single-product .woocommerce-product-gallery .flexy-pills ol > li,
.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .woocommerce-product-gallery .thumbnails li {
	flex: 0 0 74px;
	width: 74px;
	min-width: 74px;
	max-width: 74px;
	height: 74px;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	border: 2px solid #e2e8f0;
	background: #ffffff;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

body.single-product .woocommerce-product-gallery .flexy-pills ol > li:hover,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.single-product .woocommerce-product-gallery .flexy-pills ol > li:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover {
	border-color: var(--wd-primary, #8CBC67);
	opacity: 0.9;
}

body.single-product .woocommerce-product-gallery .flexy-pills ol > li.active,
body.single-product .woocommerce-product-gallery .flexy-pills ol > li.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li.active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.single-product .woocommerce-product-gallery .flexy-pills ol > li.active,
.single-product .woocommerce-product-gallery .flexy-pills ol > li.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs li.active,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	border-color: var(--wd-primary, #8CBC67);
	box-shadow: 0 0 0 1px var(--wd-primary, #8CBC67), 0 2px 8px rgba(140, 188, 103, 0.3);
	opacity: 1;
}

body.single-product .woocommerce-product-gallery .flexy-pills ol > li img,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img,
body.single-product .woocommerce-product-gallery .thumbnails img,
.single-product .woocommerce-product-gallery .flexy-pills ol > li img,
.single-product .woocommerce-product-gallery .flex-control-thumbs img,
.single-product .woocommerce-product-gallery .thumbnails img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	border-radius: 6px;
}


