/* Custom Product Gallery */
#product-main-wrap {
	display: flex;
	column-gap: 16px;
	position: relative;
}

@media (max-width: 768px) {
	#product-main-wrap {
		flex-direction: column;
	}
	#product-main-wrap .summary.entry-summary{
		top: 0;
	}
}

.product-gallery-wrap {
	flex: 0.73;
}

.product-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 5px;
}

.product-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.product-gallery {
		display: flex;
		column-gap: normal;
	}
}

#breadcrumbs {
	margin-bottom: 0;
}

#breadcrumbs>span {
	column-gap: 5px;
	font-size: 12px;

}

.woocommerce div.product .product_title{
	margin: 0;
	padding:3px 0  10px 0;
}

#product-main-wrap .summary {
	flex: 0.27;
	position: sticky;
	top: calc(60px + var(--wp-admin--admin-bar--height, 0px));
	height: max-content;
	float: none;
	padding-left: 16px;
}

@media (max-width: 767px) {
	#content #product-main-wrap .summary {
		position: relative;
		padding: 20px 24px;
	}
}

/* --- variations form --- */
.variations_form.cart .variations tbody>tr:nth-of-type(1) {
	display: none !important;
}

.value .theme-select, .value select {
	display: none !important;
}

.variation-radios input {
	display: none !important;
}

.added_to_cart.wc-forward {
	display: none !important;
}

.reset_variations {
	display: none !important;
}

.woocommerce div.product form.cart {
	border: none !important;
	padding: 0 !important;
}

.variations th,
.variations td {
	border: none !important;
	padding: 0 !important;
}

.variations tr {
	display: flex;
	align-items: center;
}

.variations th.label {
	text-align: right;
	padding: 0px;
	padding-top: 9px;
	width: 60px;
	font-size: 12px;
	display:none;
}
.woocommerce div.product form.cart .variations {
	margin-bottom: 10px !important;
	margin-top: 20px;
}

.woocommerce div.product form.cart .variations .value label {
	font-size: 12px;
	font-weight: 400;
	min-width: 64px;
}

.variation-radios-color {
	text-align: right;
}

.woocommerce .owp-btn-big .summary form button.button {
	width: 100% !important;
	padding: 17px 0;
	font-size: 16px;
	background-color: #262424;
	margin-top: 15px;
}

.woocommerce .owp-btn-big .summary form button.button:hover {
	background-color: #000;
}

td.value {
	width: 100%;
}

.summary.entry-summary tr:nth-child(3) {
	align-items: flex-start;
	flex-direction: column;
	/* 	margin-top: 0; */
}

.summary.entry-summary tr:nth-child(3)>.label {
	font-size: 16px;
}

.open_size_chart {
	text-decoration: underline;
	font-size: 12px;
}

#product-main-wrap .open_size_options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: right;
	color: #000;
	background-color: #fff;
	border: 1px solid black;
	width: 100%;
	padding: 12px;
}

/* --- variations form end --- */

/* --- variations popup --- */
#pvf-popup-wrapper {
	display: none;
	position: fixed;
	top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 9999;
}

#pvf-popup-wrapper.is-open {
	display: block;
}

.pvf-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.pvf-popup-container {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	max-width: 400px;
	height: 100%;
	background: #fff;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
	transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 999;
}

#pvf-popup-wrapper.is-open .pvf-popup-container {
	left: 0;
}

/* Popup Header */
.pvf-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #eee;
	padding: 20px 25px;
}

.pvf-header h2 {
	margin: 0;
	font-size: 18px;
}

.pvf-close-button {
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 5px;
	color: #555;
	text-decoration: none;
}

.pvf-popup-content {
	overflow-y: auto;
	padding-bottom: 80px;
}

.pvf-size-option {
	padding: 12px 25px;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid #eee;
	font-size: 15px;
}

.pvf-size-option.selected {
	background-color: black;
	color: #fff;
	border-color: #333;
}

.pvf-size-option.out-of-stock {
	color: #aaa;
	cursor: not-allowed;
	text-decoration: line-through;
}
.pvf-size-radio.out-of-stock + label{
	color: #aaa;
	text-decoration: line-through;
}

@media (max-width: 767px) {
	#pvf-popup-wrapper {
		top: 0;
	}

	.pvf-popup-container {
		top: auto;
		bottom: -100%;
		right: 0;
		height: 70%;
		max-width: 100%;
		transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	}

	#pvf-popup-wrapper.is-open .pvf-popup-container {
		bottom: 0;
	}
}


#pvf-popup-wrapper .pvf-size-radio {
	display: none;
}

.pvf-size-option-label {
	display: block;
	padding: 12px 25px;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid #eee;
	font-size: 15px;
}

.pvf-size-radio.selected+.pvf-size-option-label {
	background-color: black;
	color: #fff;
	border-color: #333;
}

.pvf-size-radio:disabled+.pvf-size-option-label {
	color: #aaa;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* Footer and Button Styles */
.pvf-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	background-color: #fff;
	border-top: 1px solid #d9d9d9;
	box-sizing: border-box;
}

#pvf-popup-wrapper .pvf-add-to-cart-button {
	width: 100%;
	padding: 11px;
	background-color: #262424;
	color: white;
	border: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	transition: background-color 0.2s ease;
}

#pvf-popup-wrapper .pvf-add-to-cart-button:hover:not(:disabled) {
	background-color: #000;
}

.pvf-add-to-cart-button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

/* --- variations popup end --- */


/* Benefit Blocks */
.inline-benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* display: flex;
	justify-content: flex-start; */
	gap: 5px;
	width: 100%;
	padding: 20px 24px;
	margin-top: 40px;
}

@media (max-width: 767px) {
	.inline-benefits-grid {
		grid-template-columns: repeat(2, 60%);
		overflow-x: auto;
	}
	.inline-benefits-grid {
		margin-top: 0;
	}
}

.benefit-block {
	position: relative;
	/* width: 280px; */
	width: 100%;
	/* height: 280px; */
	padding-top: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	/*     transition: transform 0.2s ease, box-shadow 0.2s ease; */
}

.benefit-block:hover {
	/*     transform: translateY(-3px); */
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-block-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 5px;
	background-color: rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
}

.benefit-block-icon {
	width: 70px;
	height: 70px;
	object-fit: contain;
	margin-bottom: 5px;
	background-color: #fff;
}

.benefit-block-title {
	font-size: 15px;
	margin: 0;
	color: #fff;
	font-weight: bold;
}

/* Benefit Blocks end */

/* Benefits Popup */
.popup-benefits-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.popup-benefit-item {
	display: flex;
	align-items: flex-start;
	/* Align icon/title to top of description */
	gap: 15px;
	/* Space between icon/title and description */
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	/* Separator between items */
}

.popup-benefit-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.popup-benefit-item-icon {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.popup-benefit-item-text {
	flex-grow: 1;
}

.popup-benefit-item-title {
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 5px;
	color: #333;
}

.popup-benefit-item-description {
	font-size: 0.9em;
	line-height: 1.5;
	color: #666;
	margin: 0;
}

/* Benefits Popup end */

/* WooCommerce Tabs */
#content .product .woocommerce-tabs {
	padding-top: 0 !important;
	margin: 30px 24px 0 24px;
}

#content .woocommerce-tabs>.woocommerce-Tabs-panel {
	border-bottom: solid 1px #ddd !important;
	margin-top: 10px;
}

#content .woocommerce-tabs>.woocommerce-Tabs-panel>h2 {
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

#content .woocommerce-tabs>.woocommerce-Tabs-panel>h2:after {
	font-family: "Font Awesome 5 Free";
	content: " \f107";
	font-size: 18px;
	font-weight: 600;
	margin: 0px 8px;
	line-height: 2;
	float: left;
}

#content .product .woocommerce-tabs>.woocommerce-Tabs-panel>h2.active:after {
	content: " \f106";
}

#content .woocommerce-tabs>.woocommerce-Tabs-panel .product_tab_content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s linear;
}

#content .woocommerce-tabs>.woocommerce-Tabs-panel h2.active~.product_tab_content {
	max-height: 1000px;
	transition: max-height 0.7s linear;
	text-align: right;
	font-weight: 400;
}
.product_tab_content p{
	margin-bottom: 0;
}
.product_tab_content a{
	text-decoration: underline;
}
.product_tab_content h3{
   margin: 10px 0;
    font-size: 16px;
}

/* --- WooCommerce Tabs end --- */



/* mobile sheet layout */
@media (max-width: 768px) {
	body.mobile-sheet-active {
		overflow: hidden;
	}

	/* This class activates the fixed positioning on the gallery */
	body.mobile-sheet-active .product-gallery-wrap {
		position: fixed;
		left: 0;
		width: 100%;
		height: 100vh;
		z-index: 998;
		overflow-y: auto;
		/* top is set by JS */
	}

	/* This class activates the fixed positioning on the product container */
	body.mobile-sheet-active div.product.entry {
		position: fixed;
		left: 0;
		width: 100%;
		height: 100vh;
		background: white;
		box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
		transform: translateY(50vh);
		transition: transform 0.4s cubic-bezier(0.3, 1, 0.4, 1);
		will-change: transform;
		display: flex;
		flex-direction: column;
		z-index: 999;
		/* top is also set by JS */
	}

	.mobile-sheet-handle {
		flex-shrink: 0;
		padding: 16px;
		cursor: grab;
		text-align: center;
		/* The handle is ALWAYS for dragging, never for scrolling */
		touch-action: none;
	}

	.mobile-sheet-handle::before {
		content: '';
		display: inline-block;
		width: 40px;
		height: 4px;
		background-color: #ccc;
		border-radius: 2px;
	}

	/*     .mobile-sheet-scrollable-area {
	flex-grow: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: none; 
} */
	.product-main-wrap {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		flex-grow: 1;
		min-height: 0;
		/* The key: allow the container to fill the panel */
		height: 100%;
	}

	/* NEW: This class enables native scrolling when the sheet is docked */
	.product-main-wrap.is-scrollable {
		touch-action: pan-y;
	}

	/* The class that defines the "docked" state */
	body.mobile-sheet-active div.product.entry.is-docked {
		transform: translateY(0);
	}

	.is-not-scrollable {
		overflow-y: hidden !important;
	}

	/* Make sure .mobile-sheet-content is also display: flex; flex-direction: column; height: 100vh */
	.mobile-sheet-content {
		display: flex;
		flex-direction: column;
		height: 100vh;
	}
}

/* upsells */
.woocommerce .upsells.products .swiper-button-prev, .woocommerce .upsells.products .swiper-button-next {
	display: none;
}

.woocommerce .upsells.products h2 {
	font-size: 16px;
	font-weight: 500;
	margin: 8px 0 8px 0 !important;
}

.woocommerce .upsells.products>h2 {
	margin-right: 24px !important;
}

.woocommerce .upsells.products .woocommerce-loop-product__title {
	padding: 0 5px !important;
}

.woocommerce .upsells.products .see2buy_wc_adm_archive_price_notice {
	padding: 0 5px !important;
}

.quick-view-button {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 10px;
	right: 10px;
	color: #000;
	width: 30px;
	height: 30px;
	font-size: 24px;
	font-weight: 300;
	transition: all 0.2s ease;
	z-index: 10;
}

.quick-view-button:hover {
	background: #fff;
}

.swiper-pagination-horizontal {
	display: none;
}

/* sticky add to cart */
#sticky_add_to_cart_wrap {
	display: none;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background-color: #fff;
	padding: 15px;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
	z-index: 99;
}

#sticky_add_to_cart_wrap.visible {
	display: flex;
}

#sticky_add_to_cart_wrap .content_wrap {
	display: flex;
	align-items: center;
	gap: 15px;
	height: 100%;
}

#sticky_add_to_cart_wrap .product-gallery-item {
	height: 100%;
}

#sticky_add_to_cart_wrap .product-gallery-item img {
	height: 100%;
	object-fit: contain;
	border-radius: 4px;
}

#sticky_add_to_cart_wrap .text_wrap {
	display: flex;
	flex-direction: column;
}

#sticky_add_to_cart_wrap .product_title {
	font-size: 1em;
	font-weight: bold;
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

#sticky_add_to_cart_wrap .see2buy_wc_adm_single_product_price_notice {
	font-size: 0.9em;
	color: #666;
	margin: 0;
}

#sticky_add_to_cart_wrap .button_wrap {
	margin-left: 100px;
}

#sticky_add_to_cart_wrap .button_wrap button {
	padding: 10px 20px;
	font-size: 1em;
	cursor: pointer;
}

/* sticky add to cart end */