.mysingleproduct-wrapper {
	margin: 0 auto;
}

.mysingleproduct-header {
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	padding: 40px;
	margin-bottom: 40px;
	border-top: 1px solid #e3e3e3;
	border-bottom: 1px solid #e3e3e3;
}

.mysingleproduct-title {
	font-family: Poppins, Sans-serif;
	font-size: 28px;
	font-weight: 500;
	text-transform: uppercase;
	color: #000;
	letter-spacing: 1px;
	margin-top: 0;
	margin-bottom: 0;
}

.product-main-layout {
	display: flex;
	column-gap: 85px;
	padding: 0 40px;
    margin-bottom: 30px;
}

.product-gallery-col {
	flex: 1;
	max-width: 48%;
}

.product-gallery-col .woocommerce-product-gallery--with-images {
	width: auto !important;
}

.product-details-col {
	flex: 1;
	max-width: 48%;
	display: flex;
	flex-direction: column;
}

.product-details-col .product_title {
	font-family: "Bellefair", Sans-serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 40px;
	margin-bottom: 30px;
}

.product-details-col .woocommerce-product-details__short-description p {
    font-family: Poppins, Sans-serif;
    font-size: 16px;
    font-weight: 300;
    margin: 0 0 30px;
}
.product-details-col .woocommerce-product-details__short-description strong {
    font-weight: 500;
}

.product-details-col .product-description p {
    font-family: Poppins, Sans-serif;
    font-size: 16px;
    font-weight: 300;
    margin: 0 0 30px;
}

.product-details-col .product-description strong {
    font-weight: 500;
}

.product-details-col .enquiry-share {
    padding: 20px 0;
    border-top: 1px solid #E3E3E3;
    border-bottom: 1px solid #E3E3E3;
}

.product-details-col .product-enquiry-btn {
    display: inline-block;
	background-color: #000;
	color: #fff;
	border-radius: 0;
	padding: 12px 30px;
	text-transform: uppercase;
	font-family: Poppins, Sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
	border: 0;
	letter-spacing: 1px;
	cursor: pointer;
    text-decoration: none;
    margin-bottom: 15px;
}

.product-details-col .product-enquiry-btn:hover {
	background-color: #F6851F;
}

.product-meta-custom {
	display: flex;
	gap: 30px;
	padding: 20px 0 0;
    font-family: Poppins, Sans-serif;
    font-size: 12px;
    line-height: 24px;
    color: #838383;
    text-transform: uppercase;
}
.product-meta-custom strong {
	font-weight: 500;
}
.product-meta-custom a {
    font-family: Poppins, Sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
    color: #838383;
    text-decoration: none;
}

.product-actions {
	display: flex;
    gap: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E3E3E3;
}

.product-actions a {
	font-family: Poppins, Sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
	color: #838383;
    text-decoration: none;
    text-transform: uppercase;
}

.product-share {
	position: relative;
	display: inline-block;
}

.share-trigger {
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
    font-family: Poppins, Sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
	color: #838383;
    text-decoration: none;
    text-transform: uppercase;
}

.share-trigger img {
    width: 14px;
}

/* Tooltip */
.share-popup {
	position: absolute;
	top: 50%;
	left: calc(100% + 12px);
	transform: translateY(-50%) translateX(-10px);
	background: #fff;
	border: 1px solid #E3E3E3;
	padding: 3px 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transition: .25s;
	white-space: nowrap;
	z-index: 999;
}

/* Tooltip arrow */
.share-popup::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 50%;
	transform: translateY(-50%);
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 7px solid #fff;
	filter: drop-shadow(-1px 0 0 #ddd);
}

/* Horizontal icons */
.share-popup .a2a_kit {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.share-popup .a2a_button {
	margin: 0 !important;
}

/* Desktop */
@media (hover:hover) {
	.share-trigger:hover .share-popup {
		opacity: 1;
		visibility: visible;
		transform: translateY(-50%) translateX(0);
	}
}

/* Mobile */
@media (hover:none) {
	.share-popup {
		top: calc(100% + 10px);
		left: 0;
		transform: none;
	}
	.share-popup::before {
		display: none;
	}
	.share-trigger.active .share-popup {
		opacity: 1;
		visibility: visible;
	}
}

/* BOTTOM LAYOUT */
.product-bottom-layout {
	padding: 30px 40px;
    margin-bottom: 50px;
}

.product-bottom-layout h2.related-title {
	font-family: "Bellefair", Sans-serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 50px;
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 30px;
    text-transform: capitalize;
}

@media(max-width:768px) {
	.product-main-layout {
		flex-direction: column;
	}

	.product-gallery-col,
	.product-details-col {
		max-width: 100%;
	}
}
/* PRODUCT GALLERY START */
.custom-product-gallery {
	display: flex;
	gap: 10px;
}

.gallery-thumbs {
	flex: 0 0 15%;
	height: 600px;
}

.gallery-main {
	flex: 1;
	position: relative;
	overflow: hidden;
}

.gallery-thumbs .swiper-slide {
	cursor: pointer;
	padding: 2px;
    box-sizing: border-box;
}

.gallery-thumbs .swiper-slide img {
	width: 100%;
	display: block;
	box-sizing: border-box;
	border: 1px solid transparent;
	transition: .3s;
}

.gallery-thumbs .swiper-slide-thumb-active img {
	border-color: #E3E3E3;
}

.gallery-main img {
	width: 100%;
	display: block;
}

.gallery-prev,
.gallery-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .9);
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
	z-index: 20;
}

.gallery-prev::before,
.gallery-next::before {
	display: block;
}

.gallery-prev {
	left: 20px;
}

.gallery-next {
	right: 20px;
}

.gallery-prev::before {
	content: "⌵";
	transform: rotate(90deg);
    left: 3px;
    position: relative;
}

.gallery-next::before {
	content: "⌵";
	transform: rotate(-90deg);
    right: 3px;
    position: relative;
}

.gallery-main:hover .gallery-prev,
.gallery-main:hover .gallery-next {
	opacity: 1;
	visibility: visible;
}

.gallery-main:hover .gallery-prev:hover,
.gallery-main:hover .gallery-next:hover {
	color: #fff;
	background-color: #000;
}

@media(max-width:768px) {
	.custom-product-gallery {
		flex-direction: column;
	}

	.gallery-main {
		width: 100%;
		order: 1;
	}

	.gallery-thumbs {
		width: 100%;
		height: 90px;
		order: 2;
	}

	.gallery-thumbs .swiper-slide {
		height: 90px;
	}
}
/* PRODUCT GALLERY END */
/* ZOOM START */
.gallery-main .swiper-zoom-container {
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-main .swiper-zoom-container img {
    transition: transform .3s ease;
    transform-origin: center center;
}


/* Disable zoom button conflict */
.gallery-lightbox-btn {
    cursor: pointer;
}

.gallery-lightbox-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 35px;
	height: 35px;
	background: #fff;
	border-radius: 50%;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.gallery-lightbox-btn span {
	width: 9px;
	height: 9px;
	border: 2px solid #000;
	border-radius: 50%;
	position: relative;
}

.gallery-lightbox-btn span::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    background: #000;
    right: -6px;
    bottom: -3px;
    transform: rotate(45deg);
}

.gallery-lightbox-btn:hover {
	background: #000;
}

.gallery-lightbox-btn:hover span {
	border: 2px solid #fff;
}

.gallery-lightbox-btn:hover span::after {
    background: #fff;
}
/* ZOOM END */

/* RELATED PRODUCT START */
.related.products .product-list {
	position: relative;
	--atc-block-gap: 6px;
	border-top:1px solid #E3E3E3;
    border-left:1px solid #E3E3E3;
    box-sizing: border-box;
}

.related.products .product-list .related-product-card.product {	
    position: relative;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
	box-sizing: border-box;
	background-color: #f5f5f5;
	border-right:1px solid #E3E3E3;
    border-bottom:1px solid #E3E3E3;
    width: 100%;
}

.related.products .product-list .related-product-card.product:hover{
    z-index:5;
	border: 1px solid #000;
}

.related-product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.related-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
	position: relative;
}

.related-product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity .35s ease, transform .35s ease;
}

.related-product-image img.primary-image {
    opacity: 1;
    z-index: 1;
}

.related-product-image img.secondary-image {
    opacity: 0;
    z-index: 2;
}
.related-product-card:hover img.primary-image {
    opacity: 0;
}

.related-product-card:hover img.secondary-image {
    opacity: 1;
}

.related-product-card:hover img.primary-image,
.related-product-card:hover img.secondary-image {
    transform: scale(1.03);
}

.related-product-info {
	padding: 30px 40px 50px;
}
.related-product-info a {
    text-decoration: none;
}

.related-product-title {
	color: #000000;
	font-family: "Bellefair", Sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	margin: 0;
}

.related-product-title:hover {
	color: #F6851F;
}

.related-product-card {
	position: relative;
	overflow: hidden;
}

.related-product-actions {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	display: flex;
	gap: 10px;
	opacity: 0;
	transform: translateY(20px);
	transition: .35s ease;
	z-index: 5;
}

.related-product-card:hover .related-product-actions {
	opacity: 1;
	transform: translateY(0);
}

.related-action-btn {
	font-family: "Poppins", Sans-serif;
	font-size: 11px;
	font-weight: 300;
	flex: 1;
	height: 40px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-transform: uppercase;
	color: #000000;
	text-decoration: none;
	border: 1px solid #E3E3E3;
	transition: .3s;
}

.related-action-btn:hover {
	background: #000;
	border: 1px solid #000;
	color: #fff;
}

.related-action-btn .icon img {
	width: 15px !important;
	position: relative !important;
	margin-bottom: 0 !important;
}

.related-action-btn.quick-view-btn:hover .icon img {
	content: url("https://www.sunperry.com.my/wp-content/uploads/2026/07/product-icons-eye-white.webp");
}

.related-action-btn.enquiry-btn:hover .icon img {
	content: url("https://sunperryv2.myuatsite.com/wp-content/uploads/2026/07/product-icons-email-white.webp");
}

.related.products .product-list {
	margin:0;
	padding:0;
}

.related-products-swiper {
	padding-bottom: 30px !important;
}
.related-products-swiper .swiper-wrapper {
    margin-bottom: 20px;
}
.related-products-swiper .swiper-slide {
	height: auto;
	display: flex;
}
.related-product-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.related-product-info {
	flex: 1;
}
.related-pagination {
	bottom: 10px !important;
}
.related-pagination .swiper-pagination-bullet {
    margin: 0 10px !important;
    position: relative;
    width: 5px !important;
    height: 5px !important;
    background-color: #797979;
    opacity: 1;
}
.related-pagination .swiper-pagination-bullet-active {
    background-color: #000 !important;
}
.related-pagination .swiper-pagination-bullet-active::before {
    content: '';
    display: block;
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -10px;
    border: 1px solid #000;
    border-radius: 50%;
}
@media (max-width: 1024px) {
	.related-product-image {
		height: 180px;
	}
	.related-product-info {
		padding: 30px 30px 40px;
	}
}
@media (max-width: 767px) {
	.related-product-image {
		height: 160px;
	}
	.related-product-info {
		padding: 20px 20px 30px;
	}
}
/* RELATED PRODUCT END */