/* ============================================================
   SINGLE PRODUCT – desktop 1920px base, mobile 390px base
   ============================================================ */

.sp-page {
	background: #010101;
}

.single-product .site-header {
	background-color: #010101;
}

/* ===== PRODUCT DETAIL LAYOUT ===== */
.sp-detail {
	background: #010101;
}

.sp-detail-inner {
	display: flex;
	align-items: flex-start;
	gap: 2.08vw;
	padding: 10vw 6.82vw 5.94vw 6.73vw;
	position: relative;
}

/* ===== GALLERY ===== */
.products-gallery-v3 {
	width: 54.22vw;
	flex-shrink: 0;
}

@media screen and (min-width: 768px) {
	.hide-on-desktop { display: none !important; }
}

.hide-on-mobile { display: block; }
.gallery-image-cache { display: none; }

.gallery-row-1 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.47vw;
	margin-bottom: 0.47vw;
}

.gallery-row-2,
.gallery-row-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.47vw;
	margin-bottom: 0.47vw;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.47vw;
}

.gallery-grid.two-images {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-grid.single-image {
	grid-template-columns: 1fr;
}

.gallery-image-item {
	position: relative;
	width: 100%;
	padding-bottom: 145%;
	overflow: hidden;
	background-color: #fff;
	cursor: pointer;
}

.gallery-image-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100% !important;
	object-fit: contain;
	display: block;
}

.gallery-image-item[data-fit="cover"] img {
	object-fit: cover;
}

@media screen and (min-width: 768px) {
	.gallery-grid.single-image,
	.gallery-grid.two-images {
		height: 80vh;
		grid-template-rows: 1fr;
	}

	.gallery-grid.two-images .gallery-image-item {
		padding-bottom: 0;
		height: 100%;
	}

	.gallery-grid.single-image {
		display: flex;
		justify-content: flex-end;
	}

	.gallery-grid.single-image .gallery-image-item {
		width: 75%;
		flex-shrink: 0;
		margin-right: 10%;
		padding-bottom: 0;
		height: 100%;
	}

	.gallery-grid.single-image .gallery-image-item img {
		object-fit: contain;
	}
}

/* ===== INFO COLUMN ===== */
.sp-info {
	flex: 1;
	position: sticky;
	top: calc(4.5vw + 20px);
	align-self: flex-start;
	padding-left: 0;
	min-width: 0;
}

.sp-name {
	font-size: 1.65vw;
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.6vw;
    line-height: 1.3;
    letter-spacing: 0.01vw;
    text-transform: uppercase;
    font-family: 'Inter';
}

/* ===== TOP PRICE ===== */
.sp-price-top .price,
.sp-price-top .woocommerce-Price-amount {
	font-size: 1.35vw;
	font-weight: 300;
	color: #fff !important;
	display: block;
	    margin-bottom: 1.2vw;
		    display: flex;
}

/* ===== SHORT DESCRIPTION ===== */
.sp-short {
	margin-bottom: 0;
	font-size: 0.833vw;
	color: #b2b2b2;
	line-height: 1.2;
	font-weight: 300;
}

.sp-short strong {
	font-weight: 400;
	display: block;
	color: #fff;
	margin-bottom: 0.6vw;
}
/* ===== WC FORM WRAPPER ===== */
.sp-form {
	margin-top: 2.08vw;
}

/* ===== VARIATION PRICE ===== */
.sp-variation-price {
	display: none;
	margin-bottom: 1.04vw;
}

.sp-variation-price .price,
.sp-variation-price .woocommerce-Price-amount {
	font-size: 1.35vw;
	font-weight: 300;
	color: #fff !important;
	display: block;
}

.sp-form .blockUI.blockOverlay { display: none !important; }

.sp-form .woocommerce-variation-description { display: none; }
.sp-form .product_meta                      { display: none; }
.single-product .woocommerce-notices-wrapper { display: none; }

/* ===== VARIATIONS TABLE ===== */
.sp-form .variations,
.sp-form .variations tbody {
	display: block;
	width: 100%;
	border: none;
}

.sp-form .variations tr {
	display: block;
	margin-bottom: 2.5vw;
}

.sp-form .variations th.label {
	display: block;
	padding: 0 0 0.63vw;
	border: none;
	text-align: left;
}

.sp-form .variations th.label label {
	font-size: 0.885vw;
	font-weight: 400;
	color: #fff;
	line-height: 1;
	cursor: default;
	display: flex;
	align-items: baseline;
	gap: 0.31vw;
}

.sp-form .variations th.label .woo-selected-variation-item-name {
	color: #b2b2b2;
	font-size: 0.833vw;
	font-weight: 300 !important;
}

.sp-form .variations td.value {
	display: block;
	padding: 0;
	border: none;
}

.sp-form .variations select,
.sp-form .reset_variations {
	display: none !important;
}

/* ===== COLOR SWATCHES (image-variable-item) ===== */
.sp-form .variable-items-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.1vw !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.sp-form .variable-item {
	position: relative !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	cursor: pointer !important;
	transition: box-shadow 0.2s ease !important;
	list-style: none !important;
	display: block !important;
	background: transparent !important;
	background-color: transparent !important;
	color: #fff !important;
	margin: 0 !important;
	padding: 0 !important;
}

.sp-form .variable-item.image-variable-item {
	width: 2.19vw !important;
	height: 2.19vw !important;
}

.sp-form .variable-item .variable-item-contents {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 1px solid transparent !important;
	transition: border-color 0.2s ease !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.sp-form .variable-item.selected .variable-item-contents{
	border-color: #fff !important;
}

.sp-form .variable-item.image-variable-item .variable-item-span {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.sp-form .variable-item img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	border-radius: 0 !important;
}

.sp-form .variable-item.out-of-stock {
	opacity: 0.4 !important;
}

/* ===== SIZE BUTTONS (button-variable-item) ===== */
.sp-form .variable-item.button-variable-item {
	width: 1.77vw !important;
	height: 1.77vw !important;
	overflow: hidden !important;
	border-radius: 50% !important;
	background: transparent !important;
	background-color: transparent !important;
	color: #fff !important;
}

.sp-form .variable-item.button-variable-item .variable-item-contents {
	border: 1px solid transparent !important;
	border-radius: 50% !important;
	background: transparent !important;
	width: 100% !important;
	height: 100% !important;
}

.sp-form .variable-item.button-variable-item.selected .variable-item-contents {
	border-color: #fff !important;
	border-width: 1px !important;
}

.sp-form .variable-item.button-variable-item .variable-item-span,
.sp-form .variable-item.button-variable-item .variable-item-button-span {
	font-size: 0.75vw !important;
	font-weight: 300 !important;
	color: #fff !important;
	line-height: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	padding: 0 0 !important;
}

.sp-form .variable-item.button-variable-item.selected .variable-item-span,
.sp-form .variable-item.button-variable-item.selected .variable-item-button-span {
	font-weight: 400 !important;
}

.sp-form .wvs-tooltip { display: none !important; }

/* ===== VARIATION PRICE (shown when variation selected) ===== */
.sp-form .single_variation_wrap {
	margin-top: 0.52vw;
}

.sp-form .woocommerce-variation.single_variation {
	min-height: 0;
}

.sp-form .woocommerce-variation-price {
	display: none;
}

.sp-form .woocommerce-variation-price .price,
.sp-form .woocommerce-variation-price .woocommerce-Price-amount {
	font-size: 1.30vw;
	font-weight: 600;
	color: #fff;
}

.sp-form .woocommerce-variation-availability .stock {
	font-size: 0.73vw;
	    color: #ec5858;
	margin-bottom: 0.52vw;
}

/* ===== QUANTITY + ADD TO CART ===== */
.sp-form .woocommerce-variation-add-to-cart,
.sp-form .variations_button {
	display: flex;
	align-items: stretch;
	gap: 1vw;
	margin-top: 1.04vw;
}

.sp-form .quantity,
.sp-form .woocommerce-quantity {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 6.15vw;
	min-width: 6.15vw;
	height: 3.75vw;
	border: 1px solid #707070;
	flex-shrink: 0;
}

.sp-form .qty {
	    width: 3vw !important;
		font-family: 'IvyMode';
	height: 100%;
	background: transparent;
	border: none;
	outline: none;
	color: #fff;
	font-size: 1.15vw;
	font-weight: 400;
	text-align: center;
	-moz-appearance: textfield;
	padding: 0 0vw;
	letter-spacing: 0.023vw;
	z-index: 1;
}

.sp-form .qty::-webkit-outer-spin-button,
.sp-form .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

.sp-form .screen-reader-text {
	display: none;
}

.sp-qty-btn {
	height: 100%;
	background: none;
	border: none;
	color: #b2b2b2;
	font-size: 1.1vw;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	    width: 1.5vw;
    padding: 0 0.5vw;
	z-index: 2;
	transition: color 0.2s ease;
}

.sp-qty-btn:hover { color: #fff; }

.sp-form .single_add_to_cart_button,
.sp-form button.single_add_to_cart_button.button {
	background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #707070 !important;
    color: #fff !important;
    font-size: 1.15vw !important;
    font-family: 'IvyMode';
    font-weight: 400 !important;
    letter-spacing: 0.023vw !important;
    cursor: pointer !important;
    transition: border-color 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    text-transform: none !important;
    padding: 0 1vw !important;
    box-shadow: none !important;
}
.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item),
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus,
 .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
    box-shadow: unset !important;
}
.sp-form .single_add_to_cart_button:hover,
.sp-form button.single_add_to_cart_button.button:hover {
	border-color: rgba(255, 255, 255, 0.5) !important;
	background: transparent !important;
	background-color: transparent !important;
}

.sp-form .single_add_to_cart_button.disabled,
.sp-form .single_add_to_cart_button:disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}

/* ===== DESCRIPTION ACCORDION ===== */
.sp-accordion {
	margin-top: 2.08vw;
}

.sp-sep {
	width: 100%;
	height: 1px;
	background: #707070;
}

.sp-acc-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: none;
	padding: 1.20vw 0;
	cursor: pointer;
	color: #fff;
	font-size: 0.94vw;
	font-weight: 500;
	text-align: left;
	gap: 1vw;
}

.sp-acc-toggle svg {
	flex-shrink: 0;
	width: 1vw;
	height: auto;
	transition: transform 0.3s ease;
}

.sp-acc-toggle.is-open svg {
	transform: rotate(180deg);
}

.sp-acc-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.sp-acc-body.is-open {
	max-height: 100%;
}

.sp-acc-body p,
.sp-acc-body li {
	font-size: 0.833vw;
	color: #b2b2b2;
	line-height: 1.2;
	margin-bottom: 1vw;
}

/* ===== LIGHTBOX ===== */
#sp-gallery-lb {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

#sp-gallery-lb.active {
	display: flex;
}

#sp-lb-content {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 80vw;
	max-height: 90vh;
}

#sp-lb-img {
	max-width: 80vw;
	max-height: 90vh;
	object-fit: contain;
	display: block;
}

#sp-lb-close {
	position: absolute;
	top: 2.08vw;
	right: 2.08vw;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	width: 1.25vw;
	height: 1.25vw;
	padding: 0;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

#sp-lb-close::before,
#sp-lb-close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: #fff;
}

#sp-lb-close::before { transform: rotate(45deg); }
#sp-lb-close::after  { transform: rotate(-45deg); }

#sp-lb-close:hover { opacity: 1; }

#sp-lb-prev,
#sp-lb-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 3vw;
	line-height: 1;
	cursor: pointer;
	padding: 1vw;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

#sp-lb-prev:hover,
#sp-lb-next:hover { opacity: 1; }

#sp-lb-prev { left: 1.5vw; }
#sp-lb-next { right: 1.5vw; }

#sp-lb-counter {
	position: absolute;
	bottom: 2.08vw;
	left: 50%;
	transform: translateX(-50%);
	color: #b2b2b2;
	font-size: 0.73vw;
}

body.sp-lb-open { overflow: hidden; }

/* ===== RELATED PRODUCTS ===== */
.sp-related {
	background: #010101;
	padding-top: 3.65vw;
	padding-bottom: 5vw;
}

.sp-related-title {
	font-size: 1.72vw;
	font-family: 'Inter';
	font-weight: 300;
	color: #fff;
	margin: 0 0 2.40vw 8.54vw;
	line-height: 1;
}

.sp-related-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.57vw;
}

.sp-rcard {
	display: block;
	text-decoration: none;
	background: #fff;
}

.sp-rcard-img {
	width: 100%;
	height: 34.74vw;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sp-rcard-photo {
	width: 88%;
	height: 88%;
	object-fit: contain;
	display: block;
	transition: transform 0.4s ease;
}

.sp-rcard:hover .sp-rcard-photo {
	transform: scale(1.04);
}

.sp-rcard-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 0.99vw 1.46vw 0;
	background: #010101;
}

.sp-rcard-name {
	font-size: 1.05vw;
	line-height: 1.25vw;
	font-weight: 400;
	color: #b2b2b2;
}

.sp-rcard-price,
.sp-rcard-price .price,
.sp-rcard-price .woocommerce-Price-amount {
	font-size: 1.04vw;
	font-weight: 400;
	color: #fff;
	white-space: nowrap;
	margin-left: 0.5vw;
}

/* ============================================================
   MOBILE  max-width: 767px
   ============================================================ */
@media only screen and (max-width: 767px) {

	.hide-on-mobile {
		display: none !important;
	}

	.sp-detail-inner {
		display: block;
		padding: 0;
	}

	.products-gallery-v3 {
		width: 100%;
		margin-top: 23vw;
		height: 60vh !important;
		padding-left: 6vw;
		margin-bottom: 2vw;
	}
	.gallery-mobile-slider.slick-slider,.gallery-mobile-slider .slick-list,.gallery-mobile-slider .slick-track {
		height: 100%;
	}
	.gallery-mobile-slider {
		position: relative;
		overflow: hidden;
		width: 100%;
		display: block;
	}

	.gallery-mobile-slider .slick-list {
		padding: 0 15% 0 0 !important;
	}

	.gallery-mobile-slider .gallery-image-item {
		margin-right: 3vw;
        padding-bottom: 0 !important;
        height: 100%;
        overflow: hidden;
        position: relative;
	}

	.gallery-mobile-slider .gallery-image-item img {
		position: absolute !important;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
	}
	.gallery-image-item {
		padding-bottom: 0;
	}
	.gallery-mobile-slider .slick-dots {
		display: flex !important;
		justify-content: center;
		gap: 3vw;
		padding: 0 2vw 0 0;
		margin: 2vw 0 0;
		list-style: none;
		position: absolute;
        bottom: -5vw;
        z-index: 100;
	}
	.gallery-mobile-slider.slick-initialized.slick-slider {
   	 overflow: visible;
	}
	.gallery-mobile-slider .slick-dots > li:nth-child(n+9) {
		display: none;
	}

	.gallery-mobile-slider .slick-dots li {
		width: auto;
		height: 1.5vw;
		margin: 0;
		background-color: rgba(255, 255, 255, 0.2);
	}

	.gallery-mobile-slider .slick-dots li button {
		width: 100%;
		height: 100%;
		padding: 0;
		border: none;
		color: transparent;
		overflow: hidden;
		        top: unset;
	}

	.gallery-mobile-slider .slick-dots li button:before {
		display: none;
	}

	.gallery-mobile-slider .slick-dots li.slick-active{
		background-color: #fff;
	}

	.sp-info {
		position: static;
		margin-top: 5vw;
		padding: 3.15vw 6.15vw 10.26vw;
	}

	.sp-name {
		font-size: 6.15vw;
		margin-bottom: 2.05vw;
	}

	.sp-price-top .price,
	.sp-price-top .woocommerce-Price-amount {
		font-size: 4.62vw;
		margin-bottom: 3.08vw;
	}
	.sp-variation-price .price, .sp-variation-price .woocommerce-Price-amount {
		font-size: 4.62vw;
		margin-bottom: 1.08vw;
	}
	.gallery-grid.single-image {
    margin-right: 5vw;
	height: 100%;
	}
	.sp-short{
		font-size: 3.59vw;
		line-height: 1.3;
	}
	.sp-short strong {
    margin-bottom: 1.5vw;
	}
	.sp-form .variations th.label {
    padding: 0 0 2.63vw;
	}
	.sp-form .variations th.label .woo-selected-variation-item-name {
		font-size: 2.833vw;
	}
	.sp-form {
		margin-top: 7vw;
	}

	.sp-form .variations th.label label {
		font-size: 3.59vw;
		flex-wrap: wrap;
	}

	.sp-form .variations tr {
		margin-bottom: 7vw;
	}

	.sp-form .variable-item.image-variable-item {
		width: 8.26vw !important;
		height: 8.26vw !important;
	}

	.sp-form .variable-item.button-variable-item {
		width: 7.72vw !important;
		height: 7.72vw !important;
	}

	.sp-form .variable-item.button-variable-item .variable-item-span,
	.sp-form .variable-item.button-variable-item .variable-item-button-span {
		font-size: 3.08vw !important;
	}

	.sp-form .woocommerce-variation-price .price,
	.sp-form .woocommerce-variation-price .woocommerce-Price-amount {
		font-size: 4.62vw;
	}

	.sp-form .quantity,
	.sp-form .woocommerce-quantity {
		width: 26vw !important;
        justify-content: space-around;
        height: 13.38vw !important;
	}

	.sp-form .qty {
		font-size: 4.62vw !important;
		padding: 0 0vw !important;
	}

	.sp-qty-btn {
		font-size: 5.13vw !important;
		width: 5.13vw !important;
	}

	.sp-form .single_add_to_cart_button,
	.sp-form button.single_add_to_cart_button.button {
		font-size: 4.1vw !important;
		flex: 1;
	}

	.sp-acc-toggle {
		font-size: 3.59vw;
		padding: 4.1vw 0;
	}

	.sp-acc-toggle svg {
		width: 2.56vw;
	}

	.sp-acc-body p,
	.sp-acc-body li {
		font-size: 3.59vw;
		        margin-bottom: 3vw;
	}

	#sp-lb-close {
		width: 5.13vw;
		height: 5.13vw;
		top: 5.13vw;
		right: 5.13vw;
	}

	#sp-lb-prev,
	#sp-lb-next {
		font-size: 8vw;
		padding: 2vw;
	}

	#sp-lb-prev { left: 0; }
	#sp-lb-next { right: 0; }

	#sp-lb-counter {
		font-size: 3.08vw;
		bottom: 5.13vw;
	}

	#sp-lb-img {
		max-width: 95vw;
	}

	.sp-related {
		padding-top: 10.26vw;
		padding-bottom: 10vw;
	}

	.sp-related-title {
		font-size: 5.13vw;
		margin-left: 6.15vw;
		margin-bottom: 5.13vw;
	}

	.sp-related-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.28vw;
	}

	.sp-rcard-img {
		height: 60vw;
	}

	.sp-rcard {
		margin-bottom: 8vw;
	}

	.sp-rcard-meta {
		padding: 2.56vw 0 0;
		flex-direction: column;
		gap: 2.5vw;
	}

	.sp-rcard-name {
		font-size: 3.5vw;
		line-height: 1.3;
	}

	.sp-rcard-price,
	.sp-rcard-price .price,
	.sp-rcard-price .woocommerce-Price-amount {
		font-size: 3.5vw;
		line-height: 1.3;
	}
	.sp-form .woocommerce-variation-availability .stock {
    font-size: 3vw;
	        margin-bottom: 1vw;
	}
}
