/* ========================================
   ELUX - Single Product Page Styles
   Based on Design Specifications
======================================== */

:root {
	--vs-primary: #7aaa00;
	--vs-primary-hover: #E69A00;
	--vs-secondary: #333333;
	--vs-text: #333333;
	--vs-text-light: #666666;
	--vs-text-muted: #999999;
	--vs-border: #E0E0E0;
	--vs-bg: #F5F5F5;
	--vs-white: #FFFFFF;
	--vs-success: #28A745;
	--vs-error: #DC3545;
}

/* ========================================
   Breadcrumb
======================================== */

.vs-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 15px 0;
	font-size: 14px;
	color: var(--vs-text-muted);
}

.vs-breadcrumb a {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--vs-text-muted);
	text-decoration: none;
	transition: color 0.3s;
}

.vs-breadcrumb a:hover {
	color: var(--vs-primary);
}

.vs-breadcrumb-sep {
	margin: 0 10px;
	color: var(--vs-text-muted);
}

.vs-breadcrumb-current {
	color: var(--vs-text);
}

/* ========================================
   Product Layout
======================================== */
.vs-product-main {
	display: grid;
    grid-template-columns: 47.4vw 1fr;
    gap: 30px;
    margin-bottom: 70px;
}

/* ========================================
   Product Gallery
======================================== */

.vs-product-gallery {
	position: sticky;
	top: 0;
	align-self: start;
	display: flex;
    flex-direction: row;
    justify-content: flex-end;
	gap: 10px;
}

.vs-gallery-main {
	width: 100%;
    background: var(--vs-white);
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.vs-gallery-main img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: opacity 0.15s ease;
}

.vs-gallery-thumbs {
	gap: 10px;
    display: flex;
    flex-direction: column;
}

.vs-gallery-thumb {
	aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--vs-white);
    display: flex;
    align-items: center;
    justify-content: center;
	height: 100px;
    align-self: stretch;
    background: #D9D9D9;
}

.vs-gallery-thumb:hover,
.vs-gallery-thumb.active {
	border-color: var(--vs-primary);
}

.vs-gallery-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* ========================================
   Product Summary
======================================== */

.vs-product-summary {
	position: sticky;
    align-self: start;
    top: 0;
}

.vs-product-title {
	font-size: 36px;
    font-weight: 700;
	margin-bottom: 20px;
}

/* Product Subtitle */
.vs-product-subtitle {
	font-size: 30px;
    font-weight: 700;
}

/* Product Description Top */
.vs-product-desc-top {
	font-size: 16px;
    font-weight: 400;
	margin-bottom: 6px;
}

.vs-product-desc-top p {
	margin: 0 0 10px;
}

.vs-product-desc-top p:last-child {
	margin-bottom: 0;
}

/* Price */
.vs-product-price,.woocommerce-variation-price .price {
	display: flex;
	align-items: baseline;
	gap: 15px;
	margin-bottom: 0;
	flex-direction: row-reverse;
    width: max-content;
}

.vs-price-original,.woocommerce-variation-price .price del {
	font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
	color: var(--vs-text-muted);
	text-decoration: line-through;
}

.vs-price-original .woocommerce-Price-amount,.woocommerce-variation-price .price ins .woocommerce-Price-amount {
	color: inherit;
}

.vs-price-current,.woocommerce-variation-price .price ins,.woocommerce-variation-price {
	font-size: 30px;
    font-weight: 600;
    color: var(--vs-primary);
    text-decoration: none;
}

.vs-price-current .woocommerce-Price-amount,.woocommerce-variation-price .price ins .woocommerce-Price-amount {
	color: inherit;
}

/* ========================================
   变体禁用和缺货样式
   Disabled and Out of Stock Variation Styles
   ======================================== */

/* 禁用的变体 - 变灰且不可选中 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).out-of-stock {
	opacity: 1 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	background: #f5f5f5 !important;
	position: relative;
}

/* 禁用变体的内容 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).out-of-stock .variable-item-contents {
	color: #000 !important;
	filter: grayscale(100%);
}

/* 移除禁用变体的 hover 效果 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).out-of-stock:hover {
	box-shadow: none !important;
	transform: none !important;
	border-color: #ddd !important;
}

/* 隐藏禁用变体的选中标记 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before, 
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents:before,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).out-of-stock .variable-item-contents:before,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).out-of-stock:hover .variable-item-contents:before {
	display: none !important;
}

/* 禁用变体添加斜杠 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:after,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).out-of-stock:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: #dc3232;
	transform: translateY(-50%) rotate(-15deg);
	z-index: 1;
}

/* 按钮样式的禁用变体 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.disabled .variable-item-span,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.out-of-stock .variable-item-span {
	color: #000 !important;
	text-decoration: line-through;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).out-of-stock{
	opacity: 1 !important;
}
/* 颜色样式的禁用变体 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.disabled,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.out-of-stock {
	opacity: 1 !important;
}

/* 图片样式的禁用变体 */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.disabled,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.out-of-stock {
	opacity: 1 !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.disabled img,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.out-of-stock img {
	filter: grayscale(100%);
}

/* Description */
.vs-product-desc {
	margin-bottom: 16px;
    font-weight: 300;
    font-size: 16px;
    color: #333333;
    line-height: 22px;
}

.vs-product-desc p {
	margin: 0 0 12px;
}

.vs-product-desc p:last-child {
	margin-bottom: 0;
}

/* Product Guarantees */
.vs-guarantee-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: #000;
}

.vs-guarantee-item:last-child {
	margin-bottom: 0;
}

.vs-guarantee-item svg {
	flex-shrink: 0;
	color: var(--vs-primary);
}

.vs-guarantee-item span {
	font-weight: 600;
}

/* Key Features */
.vs-key-features {
	margin-bottom: 0;
	padding: 16px 0;
	border-top: 1px solid var(--vs-border);
}

.vs-key-features-title {
	
	font-size: 16px;
	font-weight: 800;
	color: var(--vs-secondary);
	margin-bottom: 8px;
	text-transform: uppercase;
}

/* Key Features Section (Full Width) */
.vs-key-features-section {
	margin-bottom: 40px;
	padding: 30px;
	background: var(--vs-white);
	border-radius: 8px;
	border: 1px solid var(--vs-border);
}

.vs-key-features-section .vs-section-title {
	
	font-size: 24px;
	font-weight: 800;
	color: var(--vs-secondary);
	margin-bottom: 20px;
	text-transform: uppercase;
}

.vs-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px 30px;
}

.vs-feature-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	background: var(--vs-bg);
	border-radius: 6px;
	transition: all 0.3s ease;
}

.vs-feature-item:hover {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

.vs-feature-label {
	
	color: var(--vs-text-light);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
}

.vs-feature-value {
	color: var(--vs-secondary);
	font-size: 16px;
	font-weight: 600;
}

/* Variations */
.variations th{
	
}
.vs-variations {
	margin-bottom: 30px;    
	margin-top: 20px;
}

.vs-variation-group {
	margin-bottom: 16px;
}

.vs-variation-label {
	
	font-size: 14px;
	font-weight: 800;
	color: var(--vs-secondary);
	margin-bottom: 8px;
	text-transform: uppercase;
}

.vs-variation-select {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--vs-border);
	border-radius: 8px;
	font-size: 14px;
	color: var(--vs-text);
	background: var(--vs-white);
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.vs-variation-select:focus {
	outline: none;
	border-color: var(--vs-primary);
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{
	-webkit-box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px var(--vs-primary)) !important;
	box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px var(--vs-primary)) !important;
}

.woo-variation-swatches.wvs-show-label .variations th label{
	font-weight: 400;
}
.woo-variation-swatches.wvs-show-label .variations td, .woo-variation-swatches.wvs-show-label .variations th{
	margin-bottom: 8px;
}
.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item){
	border-radius: 0;
	border: 1px solid #ddd;
	box-shadow:none;
	margin-bottom: 10px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.selected:not(.no-stock) .variable-item-contents:before, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before{
	opacity: 0;
}
/* ========================================
   Variation Add to Cart (single_variation_wrap)
======================================== */
.single_variation_wrap {
	margin-top: 30px;
}

.vs-variation-cart-wrapper {
	display: flex;
	flex-direction: row;
	gap: 16px;
}

.vs-variation-quantity {
	display: flex;
	align-items: center;
	border: 1px solid var(--vs-border);
	border-radius: 0;
	overflow: hidden;
	width: fit-content;
}

.vs-variation-buttons {
	display: flex;
	width: 38%;
}
.vs-variation-buttons .added_to_cart.wc-forward{
	display: none;
}

.vs-variation-buttons .vs-btn-add-cart {
	width: 100%;
}

.vs-variation-buttons .vs-btn-add-cart:hover {
	background: var(--vs-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 170, 1, 0.3);
}

.vs-variation-buttons .vs-btn-buy-now {
	flex: 1;
	height: 48px;
	background: #333333;
	border: none;
	border-radius: 8px;
	
	font-size: 14px;
	font-weight: 800;
	color: var(--vs-white);
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s;
}

.vs-variation-buttons .vs-btn-buy-now:hover {
	background: #444444;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Quantity & Add to Cart */
.vs-add-to-cart {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.vs-quantity {
	display: flex;
	align-items: center;
	border: 1px solid var(--vs-border);
	border-radius: 0;
	overflow: hidden;
	padding: 1px;
}

.vs-qty-btn {
	width: 44px;
	height: 48px;
	border: none;
	background: none;
	font-size: 20px;
	font-weight: 600;
	color: var(--vs-text);
	cursor: pointer;
	transition: all 0.3s;
	border-radius: 0;
}

.vs-qty-btn:hover {
	background: var(--vs-primary);
	color: var(--vs-white);
}

.vs-qty-input {
	width: 60px;
	height: 46px;
	border: none;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: var(--vs-text);
}

.vs-qty-input::-webkit-outer-spin-button,
.vs-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.vs-btn-add-cart {
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
    background: #B7FF00;
    color: #000;
}

.vs-btn-add-cart:hover {
	background: var(--vs-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 170, 1, 0.3);
	color: #fff;
}

/* Social & Wishlist */
.vs-product-actions {
	display: flex;
	align-items: center;
}

.vs-social-share {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vs-social-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vs-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--vs-text-light);
	text-decoration: none;
	transition: all 0.3s;
}

.vs-social-icon:hover {
	background: var(--vs-primary);
	color: var(--vs-white);
}

.vs-btn-wishlist {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--vs-text-light);
	cursor: pointer;
	transition: color 0.3s;
}

.vs-btn-wishlist:hover {
	color: var(--vs-primary);
}

.vs-btn-wishlist svg {
	stroke: currentColor;
}

/* Social Share Section */
.vs-social-share-section {
	margin-bottom: 40px;
	padding: 24px 30px;
	background: var(--vs-white);
	border-radius: 8px;
	border: 1px solid var(--vs-border);
	display: flex;
	align-items: center;
	gap: 20px;
}

.vs-social-share-title {
	
	font-size: 16px;
	font-weight: 600;
	color: var(--vs-secondary);
}

.vs-social-share-section .vs-social-share {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vs-social-share-section .vs-social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--vs-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--vs-text-light);
	text-decoration: none;
	transition: all 0.3s;
}

.vs-social-share-section .vs-social-icon:hover {
	background: var(--vs-primary);
	color: var(--vs-white);
	transform: translateY(-2px);
}

/* ========================================
   Product Tabs
======================================== */

.vs-product-tabs {
	margin-bottom: 60px;
}

.vs-tabs-nav {
	display: flex;
	gap: 32px;
	border-bottom: 2px solid var(--vs-border);
	margin-bottom: 32px;
}

.vs-tab-btn {
	padding: 16px 0;
    background: none;
    border: none;
    
    color: var(--vs-text-muted);
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
}

.vs-tab-btn:hover {
	color: var(--vs-text);
}

.vs-tab-btn.active {
	color: var(--vs-secondary);
}

.vs-tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--vs-text);
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Specifications Table */
.vs-specs-table {
	width: 100%;
	max-width: 600px;
	border-collapse: collapse;
}

.vs-specs-table tbody{
	border: 1px solid #DCDCDC;
}

.vs-specs-table tr {
	border-bottom: 1px solid var(--vs-border);
}

.vs-specs-table th,
.vs-specs-table td {
	padding: 14px 16px;
	text-align: left;
	font-size: 16px;
}

.vs-specs-table th {
	width: 180px;
	color: var(--vs-text);
	background: #F3F6FB;
    font-weight: 600;
}

.vs-specs-table td {
	color: var(--vs-text-light);
    font-weight: 600;
}
/* Description Tab */
.vs-product-description {
	gap: 30px;
    display: flex;
    flex-direction: column;
}

.vs-product-description p {
	margin: 0 0 16px;
}

/* Testing Tab */
.vs-testing-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.vs-testing-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--vs-border);
}

.vs-testing-item:first-child {
	padding-top: 0;
}

.vs-testing-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
}

.vs-testing-icon svg {
	stroke: var(--vs-white);
}

/* Different icon colors for each testing item */
.vs-testing-icon-flavors {
	background: #FFAA01;
}

.vs-testing-icon-functionality {
	background: #FFAA01;
}

.vs-testing-icon-battery {
	background: #FFD700;
}

.vs-testing-icon-value {
	background: #FF6B6B;
}

.vs-testing-content h4 {
	
	font-size: 14px;
	font-weight: 700;
	color: var(--vs-secondary);
	margin: 0 0 4px;
}

.vs-testing-content p {
	font-size: 13px;
	color: var(--vs-text-light);
	margin: 0;
	line-height: 1.6;
}

.vs-testing-icon::before{
	width: 18px;
	height: 18px;
	z-index: 2;
	top: 0;
	left: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	content: '';
	position: absolute;
}

.vs-testing-icon-flavors::before{
	background: url('../icons/flavors.svg') no-repeat center center;
	background-size: contain;
}
.vs-testing-icon-functionality::before{
	background: url('../icons/functionality.svg') no-repeat center center;
	background-size: contain;
}

.vs-testing-icon-battery::before{
	background: url('../icons/battery.svg') no-repeat center center;
	background-size: contain;
}
.vs-testing-icon-value::before{
	background: url('../icons/value.svg') no-repeat center center;
	background-size: contain;
}

/* ========================================
   Reviews Section
======================================== */
.vs-product-container #tab-reviews h1{
	margin-bottom: 0;
	font-size: 36px;
    font-weight: 700;
}

/* Comment Submit Message */
.comment-submit-message {
	position: fixed;
	top: 20px;
	right: 20px;
	max-width: 400px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	padding: 16px 20px;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	animation: slideInRight 0.4s ease, fadeOut 0.4s ease 4.6s;
	border-left: 4px solid var(--vs-primary);
}

.comment-submit-message.success {
	border-left-color: #28a745;
}

.comment-submit-message.success .message-icon {
	color: #28a745;
}

.comment-submit-message.error {
	border-left-color: #dc3545;
}

.comment-submit-message.error .message-icon {
	color: #dc3545;
}

.comment-submit-message.pending {
	border-left-color: #ffc107;
}

.comment-submit-message.pending .message-icon {
	color: #ffc107;
}

.message-content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

.message-icon {
	flex-shrink: 0;
}

.message-text {
	font-size: 15px;
	font-weight: 500;
	color: var(--vs-text);
	line-height: 1.4;
}

.message-close {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border: none;
	background: transparent;
	color: var(--vs-text-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s;
}

.message-close:hover {
	color: var(--vs-text);
}

@keyframes slideInRight {
	from {
		transform: translateX(400px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
.vs-reviews-header {
	display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.vs-reviews-summary {
	display: flex;
	align-items: center;
	gap: 16px;
}

.vs-reviews-score {
	
	font-size: 48px;
	font-weight: 900;
	color: var(--vs-secondary);
}

.vs-reviews-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vs-reviews-stars {
	display: flex;
	gap: 2px;
}

.vs-reviews-stars svg {
	width: 18px;
	height: 18px;
	fill: var(--vs-primary);
}

.vs-reviews-count {
	font-size: 14px;
	color: var(--vs-text-muted);
}

.vs-btn-write-review {
	display: inline-block;
    padding: 16px;
    background: var(--vs-primary);
    border: none;
    border-radius: 5px;
    
    font-size: 16px;
    font-weight: 800;
    color: var(--vs-white);
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    width: 228px;
    text-align: center;
}

.vs-btn-write-review:hover {
	background: var(--vs-primary-hover);
	color: var(--vs-white);
}

/* Reviews List */
.vs-reviews-list {
	margin-bottom: 40px;
}

/* Review Item */
.vs-review-item {
	padding: 30px 0;
	border-bottom: 1px solid #DDDDDD;
}

.vs-review-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 12px;
}

.vs-reviewer-avatar {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--vs-bg);
}

.vs-reviewer-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-review-images {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.vs-review-image-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	background: var(--vs-bg);
}

.vs-review-image-item:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vs-review-image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-reviewer-info {
	flex: 1;
	height: 60px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vs-reviewer-name {
	font-size: 18px;
	font-weight: 700;
	color: #000;
	margin: 0 0 4px;
}

.vs-verified-badge {
	font-weight: 400;
	color: var(--vs-primary);
	font-size: 16px;
	margin-left: 4px;
}

.vs-review-date {
	font-size: 14px;
	color: var(--vs-text-muted);
	display: inline-block;
}

.vs-review-rating {
	display: flex;
	gap: 0;
}

.vs-review-rating svg {
	width: 16px;
	height: 16px;
}

.vs-review-content {
	color: #000;
	margin-bottom: 15px;
}

/* Review Image Lightbox */
.vs-review-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.vs-review-lightbox.active {
	opacity: 1;
	visibility: visible;
}

.vs-review-lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(5px);
}

.vs-review-lightbox-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vs-review-lightbox-image {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.vs-review-lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	border: none;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 32px;
	line-height: 1;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vs-review-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.vs-review-lightbox-prev,
.vs-review-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border: none;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 32px;
	line-height: 1;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vs-review-lightbox-prev {
	left: -60px;
}

.vs-review-lightbox-next {
	right: -60px;
}

.vs-review-lightbox-prev:hover,
.vs-review-lightbox-next:hover {
	background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
	.vs-review-lightbox-prev,
	.vs-review-lightbox-next {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}
	
	.vs-review-lightbox-prev {
		left: 10px;
	}
	
	.vs-review-lightbox-next {
		right: 10px;
	}
	
	.vs-review-lightbox-close {
		top: 10px;
		right: 10px;
		width: 36px;
		height: 36px;
		font-size: 28px;
	}
}

/* ========================================
   Related Products
======================================== */

.vs-related-section {
	margin-bottom: 60px;
}

.vs-products-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.vs-no-products {
	text-align: center;
	color: var(--vs-text-muted);
	padding: 40px;
}

/* ========================================
   WooCommerce Overrides
======================================== */

.woocommerce-product-gallery,
.woocommerce-product-details__short-description {
	display: none;
}

.cart {
	margin: 0;
}

/* ========================================
   Review Form Styles
======================================== */
#review_form_wrapper .comment-reply-title {
    
    font-size: 28px;
    font-weight: 900;
    color: var(--vs-secondary);
    margin-bottom: 18px;
    display: block;
    line-height: 1;
}

#review_form_wrapper label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--vs-text);
	margin-bottom: 10px;
}

#review_form_wrapper label .required {
	color: #e74c3c;
	margin-left: 2px;
}

#review_form_wrapper label .optional {
	font-weight: 400;
	color: var(--vs-text-muted);
	font-size: 12px;
}

#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"],
#review_form_wrapper textarea {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid var(--vs-border);
	border-radius: 8px;
	font-size: 14px;
	
	color: var(--vs-text);
	background: #fff;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

#review_form_wrapper input[type="text"]:focus,
#review_form_wrapper input[type="email"]:focus,
#review_form_wrapper textarea:focus {
	outline: none;
	border-color: var(--vs-primary);
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

#review_form_wrapper textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.6;
}

/* Rating Stars */
.comment-form-rating {
	margin-bottom: 24px;
}

.vs-rating-stars-wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.vs-rating-stars-wrapper .stars {
	display: none;
}

.vs-rating-stars {
	display: flex;
	gap: 4px;
	cursor: pointer;
}

.vs-rating-stars .vs-star {
	width: 32px;
	height: 32px;
	color: #ddd;
	transition: all 0.2s ease;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vs-rating-stars .vs-star:hover,
.vs-rating-stars .vs-star.active {
	color: #FFAA01;
	transform: scale(1.1);
}

.vs-rating-stars .vs-star svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
	stroke: currentColor;
}

.vs-rating-text {
	font-size: 14px;
	color: var(--vs-text-muted);
	font-weight: 500;
}

/* Image Upload */
.comment-form-images {
	margin-bottom: 10px;
}

.vs-image-upload-wrapper {
	position: relative;
}

.vs-image-upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	background: #f8f9fa;
	border: 2px dashed var(--vs-border);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 600;
	color: var(--vs-text);
	margin-bottom: 8px;
}

.vs-image-upload-btn:hover {
	background: #e9ecef;
	border-color: var(--vs-primary);
	color: var(--vs-primary);
}

.vs-image-upload-btn svg {
	width: 20px;
	height: 20px;
	stroke-width: 2;
}

.vs-image-upload-wrapper input[type="file"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	overflow: hidden;
}

.comment-images-hint {
	display: block;
	font-size: 12px;
	color: var(--vs-text-muted);
	margin-top: 4px;
}

.comment-images-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.comment-image-preview-item {
	position: relative;
	width: 100px;
	height: 100px;
	border: 2px solid var(--vs-border);
	border-radius: 8px;
	overflow: hidden;
	background: #f8f9fa;
	transition: all 0.2s ease;
}

.comment-image-preview-item:hover {
	border-color: var(--vs-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comment-image-preview-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.comment-image-preview-item .remove-image {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 24px;
	height: 24px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	transition: all 0.2s ease;
}

.comment-image-preview-item .remove-image:hover {
	background: #e74c3c;
	transform: scale(1.1);
}

/* Submit Button */
#review_form_wrapper input[type="submit"] {
	background: var(--vs-primary);
	color: var(--vs-white);
	border: none;
	padding: 16px 40px;
	border-radius: 8px;
	
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-top: 8px;
}

#review_form_wrapper input[type="submit"]:hover {
	background: var(--vs-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#review_form_wrapper input[type="submit"]:active {
	transform: translateY(0);
}

/* Form Fields Layout */
#review_form_wrapper .comment-form-author,
#review_form_wrapper .comment-form-email {
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	#review_form_wrapper {
		padding: 24px 20px;
	}
	
	.vs-rating-stars .vs-star {
		width: 28px;
		height: 28px;
	}
	
	.vs-image-upload-btn {
		padding: 10px 20px;
		font-size: 13px;
	}
	
	#review_form_wrapper input[type="submit"] {
		width: 100%;
		padding: 14px 32px;
	}
}

/* ========================================
   Product Card Styles (in grid)
======================================== */

.vs-products-grid .vs-product-card {
	position: relative;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.vs-products-grid .vs-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.vs-products-grid .vs-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	background: #FF6B6B;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 4px;
	z-index: 1;
	text-transform: uppercase;
}

.vs-products-grid .vs-card-image {
	position: relative;
	padding-top: 100%;
	background: #F8F8F8;
	overflow: hidden;
}

.vs-products-grid .vs-card-image img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 85%;
	max-height: 85%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.vs-products-grid .vs-product-card:hover .vs-card-image img {
	transform: translate(-50%, -50%) scale(1.05);
}

.vs-products-grid .vs-card-content {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.vs-products-grid .vs-card-brand {
	font-size: 11px;
	margin-bottom: 6px;
}

.vs-products-grid .vs-card-brand-from {
	color: #999;
}

.vs-products-grid .vs-card-brand-name {
	color: #FF6B6B;
	font-weight: 700;
}

.vs-products-grid .vs-card-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin: 0 0 8px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 40px;
}

.vs-products-grid .vs-card-price {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.vs-products-grid .vs-card-price-original {
	font-size: 13px;
	color: #999;
	text-decoration: line-through;
}

.vs-products-grid .vs-card-price-current {
	font-size: 17px;
	font-weight: 700;
	color: #333;
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 1200px) {
	.vs-product-main {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	
	.vs-products-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 992px) {
	.vs-product-main {
		grid-template-columns: 1fr;
	}
	
	.vs-product-gallery {
		position: static;
	}
	
	.vs-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.vs-tabs-nav {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		gap: 18px;
	}
	
	.vs-tab-btn {
		white-space: nowrap;
		padding: 10px 0;
	}
}

@media (max-width: 768px) {
	.vs-product-container {
		padding: 15px;
		padding-top: 0;
	}
	
	.vs-product-title {
		font-size: 22px;
		margin-bottom: 10px;
	}
	.vs-product-subtitle{
		font-size: 18px;
    	margin-bottom: 6px;
	}
	
	.vs-price-current {
		font-size: 26px;
	}
	
	.vs-gallery-main {
		height: 92vw;
	}
	
	.vs-gallery-thumb {
		width: 70px;
		height: 70px;
	}
	
	.vs-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.vs-reviews-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	
	.vs-specs-table th {
		width: 120px;
	}
	
	.vs-features-grid {
		grid-template-columns: 1fr;
	}
	.vs-product-gallery{
		flex-direction: column-reverse;
	}

	.vs-gallery-thumbs{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.vs-variation-buttons{
		width: 50%;
	}
	
	/* Comment Message on Mobile */
	.comment-submit-message {
		top: 10px;
		right: 10px;
		left: 10px;
		max-width: none;
		padding: 12px 16px;
		font-size: 14px;
	}
	
	.message-text {
		font-size: 14px;
	}
	
	.message-close {
		width: 20px;
		height: 20px;
		font-size: 20px;
	}
}

/* ========================================
   Reviews Pagination
======================================== */
.vs-reviews-pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.vs-reviews-pagination .pagination {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: center;
}

.vs-reviews-pagination .pagination-previous,
.vs-reviews-pagination .pagination-next {
	display: flex;
	flex-direction: row;
	gap: 8px;
	align-items: center;
	padding: 10px 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	color: #000000;
	border-radius: 5px;
}

.vs-reviews-pagination .pagination-previous:hover,
.vs-reviews-pagination .pagination-next:hover {
	background: #f5f5f5;
}

.vs-reviews-pagination .pagination-previous.disabled,
.vs-reviews-pagination .pagination-next.disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.vs-reviews-pagination .pagination-previous svg,
.vs-reviews-pagination .pagination-next svg {
	flex-shrink: 0;
}

.vs-reviews-pagination .pagination-previous .previous,
.vs-reviews-pagination .pagination-next .next {
	font-size: 14px;
	font-weight: 500;
}

.vs-reviews-pagination .pagination-list {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
}

.vs-reviews-pagination .pagination-page,
.vs-reviews-pagination .pagination-page2 {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	transition: all 0.3s ease;
	text-decoration: none;
}

.vs-reviews-pagination .pagination-page {
	color: #000000;
	font-weight: 700;
}

.vs-reviews-pagination .pagination-page .page-numbers,
.vs-reviews-pagination .pagination-page2 .page-numbers {
	font-size: 16px;
	line-height: 1;
}

.vs-reviews-pagination .pagination-page2 {
	background: transparent;
	color: #000000;
	border: 1px solid #e0e0e0;
}

.vs-reviews-pagination .pagination-page2:hover {
	background: #f5f5f5;
	transform: translateY(-2px);
}

.vs-reviews-pagination .pagination-gap {
	padding: 0 10px;
	color: var(--vs-text-muted);
}

/* Responsive Pagination */
@media (max-width: 768px) {
	.vs-reviews-pagination .pagination {
		gap: 10px;
	}
	
	.vs-reviews-pagination .pagination-previous .previous,
	.vs-reviews-pagination .pagination-next .next {
		display: none;
	}
	
	.vs-reviews-pagination .pagination-page,
	.vs-reviews-pagination .pagination-page2 {
		width: 36px;
		height: 36px;
	}
	
	.vs-reviews-pagination .pagination-page .page-numbers,
	.vs-reviews-pagination .pagination-page2 .page-numbers {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.vs-products-grid {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	
	.vs-add-to-cart {
		flex-direction: column;
	}
	
	.vs-quantity {
		justify-content: center;
	}
	
	.vs-product-actions {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}
}
