.vbx-single-product-page {
	padding-bottom: 2rem;
}

.vbx-single-product-detail {
	border-radius: 1rem;
}

.vbx-product-summary,
.vbx-product-summary * {
	min-width: 0;
}

.vbx-letter-spacing {
	letter-spacing: 0.04em;
}

.vbx-product-breadcrumb {
	font-size: 0.875rem;
	color: var(--vbxwoo-text-muted);
}

.vbx-product-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.vbx-product-breadcrumb a:hover {
	color: var(--vbxwoo-primary);
}

.vbx-product-gallery-wrap {
	position: relative;
	--vbx-thumb-size: 70px;
	--vbx-thumb-nav-size: 36px;
}

.vbx-product-gallery-wrap .woocommerce-product-gallery {
	margin-bottom: 0;
}

.vbx-product-gallery-wrap .woocommerce-product-gallery__wrapper {
	border-radius: 0.75rem;
	overflow: hidden;
	background: var(--vbxwoo-surface);
}

.vbx-product-gallery-wrap .woocommerce-product-gallery__image a {
	display: block;
}

.vbx-product-gallery-wrap .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.vbx-product-gallery-wrap .flex-control-thumbs {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.875rem;
	margin-bottom: 0;
	padding: 0 2rem;
	overflow-x: hidden;
	scrollbar-width: none;
	scroll-behavior: smooth;
	margin-bottom: 0px;
}

.vbx-product-gallery-wrap .flex-control-thumbs::-webkit-scrollbar {
	display: none;
}

.vbx-product-gallery-wrap .flex-control-thumbs li {
	flex: 0 0 70px;
	max-width: 70px;
}

.vbx-product-gallery-wrap .flex-control-thumbs li::marker {
    content: '';
}

.vbx-product-gallery-wrap .flex-control-thumbs img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	opacity: 0.85;
}

.vbx-product-gallery-wrap .flex-control-thumbs img.flex-active,
.vbx-product-gallery-wrap .flex-control-thumbs img:hover {
	border-color: var(--vbxwoo-primary);
	opacity: 1;
}

.vbx-thumb-nav {
	position: absolute;
	bottom: calc((var(--vbx-thumb-size) - var(--vbx-thumb-nav-size)) / 2);
	z-index: 2;
	width: var(--vbx-thumb-nav-size);
	height: var(--vbx-thumb-nav-size);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	background: var(--vbxwoo-surface);
	color: var(--vbxwoo-text);
	font-size: 1.2rem;
	line-height: 1;
	display: none;
}

.vbx-product-gallery-wrap.has-thumbs .vbx-thumb-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vbx-thumb-prev {
	left: 0;
}

.vbx-thumb-next {
	right: 0;
}

.vbx-product-summary .product_title {
	line-height: 1.3;
	margin-bottom: 0.5rem;
	overflow-wrap: anywhere;
}

.vbx-product-summary .price {
	color: var(--vbxwoo-price);
	font-weight: 700;
}

.vbx-product-summary .price del {
	color: var(--vbxwoo-old-price);
	font-size: 0.95rem;
	font-weight: 400;
	opacity: 1;
	text-decoration-line: line-through;
}

.vbx-product-summary .price ins {
	color: var(--bs-danger);
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.vbx-product-summary .price > .woocommerce-Price-amount,
.vbx-product-summary .price > span:not(.screen-reader-text) {
	font-size: 1.5rem;
	font-weight: 700;
}

.vbx-product-rating .star-rating {
	margin: 0;
	color: var(--vbxwoo-rating);
	float: none;
}

.vbx-product-summary form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-top: 1rem;
}

.vbx-product-summary form.cart table.variations,
.vbx-product-summary form.cart .woocommerce-variation,
.vbx-product-summary form.cart .woocommerce-variation-description,
.vbx-product-summary form.cart .woocommerce-variation-price,
.vbx-product-summary form.cart .woocommerce-variation-availability,
.vbx-product-summary form.cart .reset_variations {
	flex: 0 0 100%;
	max-width: 100%;
}

.vbx-product-summary form.cart table.variations {
	margin-bottom: 0.75rem;
}

.vbx-product-summary form.cart table.variations th,
.vbx-product-summary form.cart table.variations td {
	display: block;
	padding: 0 0 0.5rem;
	text-align: left;
}

.vbx-product-summary form.cart table.variations select {
	display: block;
	width: 100%;
	min-height: 42px;
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--vbxwoo-input-border);
	border-radius: var(--bs-border-radius);
	background-color: var(--vbxwoo-input-bg);
}

.vbx-product-summary form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex: 0 0 100%;
	gap: 0.5rem;
	align-items: center;
}

.vbx-product-summary .vbx-add-to-cart {
	min-width: 0;
}

.vbx-product-summary .quantity .qty,
.vbx-product-summary .single_add_to_cart_button {
	min-height: 44px;
}

.vbx-product-summary .quantity {
	flex: 0 0 auto;
}

.vbx-product-summary .quantity .qty {
	width: 5rem;
	padding: 0.375rem 0.5rem;
	border: 1px solid var(--vbxwoo-input-border);
	border-radius: var(--bs-border-radius);
	text-align: center;
}

.vbx-qty-group {
	width: 130px;
}

.vbx-qty-group .vbx-qty-input {
	appearance: textfield;
}

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

.vbx-action-buttons .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	white-space: nowrap;
}

.vbx-action-buttons {
	row-gap: 0.5rem;
}

.vbx-btn-buy-now,
.vbx-btn-add-to-cart {
	min-width: 120px;
}

.vbx-action-buttons .vbx-btn-wishlist,
.vbx-action-buttons .vbx-btn-share {
	flex: 0 0 44px;
	width: 44px;
	padding-right: 0;
	padding-left: 0;
}

.vbx-variation-btn.active {
	border-color: var(--bs-primary);
	background-color: var(--bs-primary);
	color: var(--bs-white);
}

.vbx-product-meta dd {
	overflow-wrap: anywhere;
}

.woocommerce-variation-price {
	margin-bottom: 0.75rem;
	color: var(--bs-danger);
	font-weight: 700;
}

.woocommerce-variation-availability {
	margin-bottom: 0.75rem;
}

.group_table {
	font-size: 0.875rem;
}

.vbx-product-summary .single_add_to_cart_button:not(.vbx-btn-add-to-cart) {
	flex: 1 1 0;
	width: auto;
	padding-right: 1rem;
	padding-left: 1rem;
	border-color: var(--vbxwoo-btn-border);
	background-color: var(--vbxwoo-btn);
	color: var(--vbxwoo-btn-text);
	border-radius: var(--bs-border-radius);
	font-weight: 700;
}

.vbx-product-summary .single_add_to_cart_button:not(.vbx-btn-add-to-cart):hover,
.vbx-product-summary .single_add_to_cart_button:not(.vbx-btn-add-to-cart):focus {
	border-color: var(--vbxwoo-btn-hover);
	background-color: var(--vbxwoo-btn-hover);
	color: var(--vbxwoo-btn-text);
}

.vbx-action-buttons .vbx-btn-add-to-cart {
	width: auto;
	border-color: var(--bs-danger);
	background-color: transparent;
	color: var(--bs-danger);
}

.vbx-action-buttons .vbx-btn-add-to-cart:hover,
.vbx-action-buttons .vbx-btn-add-to-cart:focus {
	border-color: var(--bs-danger);
	background-color: var(--bs-danger);
	color: var(--bs-white);
}

.vbx-product-meta-dl {
	font-size: 0.95rem;
}

.vbx-short-desc-content > :last-child,
.vbx-product-meta dd:last-child {
	margin-bottom: 0;
}

.vbx-short-description {
	color: var(--vbxwoo-text);
	font-size: 0.9rem;
	line-height: 1.7;
}

.vbx-short-description ul,
.vbx-short-description ol {
	padding-left: 1.25rem;
	margin-bottom: 0.5rem;
}

.vbx-short-description li {
	margin-bottom: 0.25rem;
}

.vbx-short-description p:last-child {
	margin-bottom: 0;
}

.vbx-product-consult {
	background: var(--vbxwoo-surface);
}

.vbx-product-benefits {
	background: var(--vbxwoo-surface-soft);
}

.vbx-product-benefits li + li {
	margin-top: 0.45rem;
}

.vbx-product-meta a {
	color: inherit;
	text-decoration: none;
}

.vbx-product-meta a:hover {
	color: var(--vbxwoo-primary);
}

/* Commitments Section */
.vbx-commitment-item {
	transition: border-color 0.2s ease;
}

.vbx-commitment-item:hover {
	border-color: var(--bs-primary) !important;
}

.vbx-commitment-desc {
	font-size: 0.8rem;
}

.vbx-icon-success {
	fill: var(--vbx-color-success, var(--vbxwoo-success));
}

.vbx-icon-warning {
	fill: var(--vbx-color-warning, var(--vbxwoo-warning));
}

.vbx-icon-primary {
	fill: var(--vbx-color-primary, var(--vbxwoo-info));
}

.vbx-icon-yellow {
	fill: var(--vbx-color-yellow, var(--vbxwoo-rating));
}

.vbx-description-content {
	transition: max-height 0.35s ease;
}

.vbx-description-content.vbx-collapsed {
	position: relative;
	max-height: 300px;
	overflow: hidden;
}

.vbx-description-fade {
	position: relative;
	height: 64px;
	margin-top: -64px;
	background: linear-gradient(to bottom, transparent, var(--vbxwoo-surface));
	pointer-events: none;
}

.vbx-toggle-icon {
	transition: transform 0.2s ease;
}

.vbx-description-prose p {
	margin-bottom: 1rem;
	color: var(--vbxwoo-text);
	line-height: 1.75;
}

.vbx-description-prose ul,
.vbx-description-prose ol {
	padding-left: 1.25rem;
	margin-bottom: 1rem;
}

.vbx-description-prose li {
	margin-bottom: 0.35rem;
	line-height: 1.7;
}

.vbx-description-prose h2,
.vbx-description-prose h3,
.vbx-description-prose h4 {
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	font-weight: 700;
}

.vbx-description-prose strong {
	color: var(--vbxwoo-dark);
	font-weight: 700;
}

.vbx-description-prose a {
	color: var(--bs-primary);
	text-decoration: underline;
}

.vbx-description-prose img {
	max-width: 100%;
	height: auto;
	margin: 1rem 0;
	border-radius: 0.5rem;
}

.vbx-description-prose table {
	width: 100%;
	margin-bottom: 1rem;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.vbx-description-prose table th,
.vbx-description-prose table td {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--bs-border-color);
	text-align: left;
}

.vbx-description-prose table th {
	background: var(--bs-light);
	font-weight: 600;
}

.vbx-review-item:last-child {
	border-bottom: 0 !important;
}

.vbx-rating-bar .progress {
	height: 8px;
	border-radius: 999px;
}

.vbx-rating-level {
	width: 10px;
}

.vbx-rating-count {
	width: 2rem;
}

.vbx-avatar {
	user-select: none;
}

.vbx-helpful-btn {
	transition: all 0.2s ease;
}

.vbx-helpful-btn.btn-success {
	cursor: default;
}

.vbx-review-content > :last-child {
	margin-bottom: 0;
}

.vbx-product-card {
	border-radius: 0.75rem;
	isolation: isolate;
	overflow: hidden;
}

.vbx-card-img-wrap {
	aspect-ratio: 1 / 1;
	background: var(--bs-light);
	border-radius: 0.75rem;
}

.vbx-card-img {
	object-fit: cover;
	transition: transform 0.3s ease;
}

.vbx-product-card:hover .vbx-card-img {
	transform: scale(1.04);
}

.vbx-card-cart-btn {
	z-index: 3;
	opacity: 0.85;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.vbx-product-card:hover .vbx-card-cart-btn {
	opacity: 1;
	transform: scale(1.1);
}

.vbx-card-name {
	display: -webkit-box;
	min-height: calc(0.85rem * 1.4 * 2);
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.4;
}

.vbx-card-name a:hover {
	color: var(--bs-primary) !important;
}

.vbx-card-brand,
.vbx-card-rating span,
.vbx-card-price del,
.vbx-card-sold {
	font-size: 0.75rem;
}

.vbx-card-price span {
	font-size: 0.9rem;
}

.min-w-0 {
	min-width: 0;
}

.vbx-product-content table.shop_attributes {
	width: 100%;
	display: block;
	overflow-x: auto;
}

@media (min-width: 768px) {
	.vbx-product-gallery-wrap {
		--vbx-thumb-size: 76px;
	}

	.border-md-end {
		border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
	}

	.vbx-product-gallery-wrap .flex-control-thumbs li,
	.vbx-product-gallery-wrap .flex-control-thumbs img {
		width: 76px;
		height: 76px;
		max-width: 76px;
	}

}

@media (max-width: 767.98px) {
	.vbx-product-summary form.cart,
	.vbx-product-summary form.cart .woocommerce-variation-add-to-cart,
	.vbx-product-summary .vbx-add-to-cart {
		align-items: stretch;
	}

	.vbx-product-summary .single_add_to_cart_button:not(.vbx-btn-add-to-cart) {
		width: 100%;
	}

	.vbx-action-buttons {
		flex-wrap: wrap;
	}

	.vbx-action-buttons .vbx-btn-buy-now,
	.vbx-action-buttons .vbx-btn-add-to-cart {
		flex: 0 0 100%;
		width: 100%;
	}

	.vbx-description-prose table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.vbx-product-gallery-wrap .flex-control-thumbs {
		padding: 0 1.75rem;
	}

	.vbx-thumb-nav {
		--vbx-thumb-nav-size: 32px;
	}
}

@media (max-width: 399px) {
	.vbx-action-buttons {
		flex-direction: row;
	}

	.vbx-btn-buy-now,
	.vbx-btn-add-to-cart {
		flex-basis: 100%;
		width: 100%;
	}

	.vbx-action-buttons .vbx-btn-wishlist,
	.vbx-action-buttons .vbx-btn-share {
		flex: 1 1 0;
		width: auto;
	}
}

@media (max-width: 375px) {
	.vbx-reviews-footer .page-link {
		padding: 0.25rem 0.4rem;
		font-size: 0.75rem;
	}
}
