.top-prd-desc{display:flex;flex-wrap:wrap;gap:30px}
.top-prd-desc h2{color:var(--primary-color);margin:0 0 8px;font-size:35px}
.top-prd-desc .badges{overflow:hidden;padding:5px 0}
.top-prd-desc .badges a{float:left;margin:0 8px 10px 0;font-size:var(--font-base);text-decoration:none;color:var(--secondary-color)}
.top-prd-desc .badges a > span.badge{border-radius:5px;border:1px solid #CC3363;padding:3px 4px;color:#CC3363}
.top-prd-desc .badges a > span.badge-text{}

.top-prd-desc .prd-desc{width:calc(50% - 30px)}
.top-prd-desc .prd-cover{width:calc(50% - 30px);position:relative;padding-top:400px;border-radius:8px;overflow:hidden}
.top-prd-desc .prd-cover img{position:absolute;top:0;left:0;right:0;margin:0 auto;width:auto;height:100%;object-fit:cover;border-radius:8px;object-position:center}

.top-prd-desc p.description{color:var(--secondary-color);font-size:var(--font-medium);line-height:1.8}

.tabs {
	border-bottom: 1px solid #C9C9C9;
	list-style: none;
	overflow-x: auto;
	overflow-y: hidden;
	margin: 80px 0 0;
	padding-left: 0;
	display: flex;
	flex-wrap: nowrap;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
}

.tabs::-webkit-scrollbar{height:5px}
.tabs::-webkit-scrollbar-thumb{background-color:#dadee5}
.tabs::-webkit-scrollbar-track{background:#C9C9C9}

.tabs li {
	display: inline-block;
	white-space: nowrap;
	padding: 16px 40px;
	text-align: center;
	cursor: pointer;
}

.tabs li.active{font-weight:bold;border-bottom:2px solid var(--primary-color);color:var(--primary-color)}

.tab-contents{padding-bottom:100px}
.tab-contents > .tab-content{display:none}
.tab-contents > .tab-content.active{display:block}

.editor-content{margin-top:30px}
.editor-content img{max-width:100% !important;height:auto}

.editor-content {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	line-height: 1.4;
}

/* Allow the editor's inline styles (like <b>, <i>, etc.) to still work properly */
.editor-content p,
.editor-content b,
.editor-content i,
.editor-content strong,
.editor-content em,
.editor-content span {
	all: unset;
	display: revert;
}

.editor-content p{margin:1em 0}

#relation-products{margin:50px auto 100px}
#relation-products h2 {
	color: var(--primary-color);
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 40px 0;
}

#relation-products .products{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:16px}
.product {
	flex: 0 0 calc(33.3% - 32px);
	margin-right: 16px;
	position: relative;
	overflow: hidden;
	margin-bottom: 50px;
}
#relation-products .product:last-child{margin-right:0}

.product a {
	display: block;
	position: relative;
	text-decoration: none;
	color: inherit;
}

.product .img-container {
	width: 100%;
	padding-top: 350px;
	border-radius: 20px;
	position: relative;
	overflow: hidden;
}
.product .img-container img{position:absolute;top:0;left:0;object-fit:cover;width:100%;height:100%;}

.product p {
	padding: 0 10px;
	margin: 10px 0 0;
	font-size: var(--font-large);
	text-align: center;
}

.product .more-overlay {
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(149, 171, 201, 0.8);
    color: white;
    text-align: center;
    padding: 18px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 16px;
    pointer-events: none;
    border-radius: 0 0 20px 20px;
    letter-spacing: 1.2px;
}

.swiper.mobile-products-swiper{display:none}
.product a:hover .more-overlay{opacity:1}

.swiper.mobile-products-swiper .swiper-button-prev{left:5px}
.swiper.mobile-products-swiper .swiper-button-next{right:5px}

.swiper.mobile-products-swiper .swiper-button-prev,
.swiper.mobile-products-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    z-index: 10;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.swiper.mobile-products-swiper .swiper-button-prev img,
.swiper.mobile-products-swiper .swiper-button-next img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

@media screen and (max-width:1045px) {
	.product .img-container{padding-top:275px}
}

@media screen and (max-width:991px) {
	.top-prd-desc .prd-cover{padding-top:300px}
}

@media screen and (max-width:800px) {
	#relation-products .products{display:none}
	.swiper.mobile-products-swiper{display:block}
	.product .img-container{padding-top:0}
	.product .img-container img{width:100%;position:static}
	.product{max-width:80%;margin:0 auto !important}

	.swiper.mobile-products-swiper .product{max-width:65%}
}

@media screen and (max-width:768px) {
	.top-prd-desc .prd-desc{order:2;width:100%;margin-top:20px}
	.top-prd-desc .prd-cover{order:1;width:100%;padding-top:350px}

	.tabs li{width:50%}

	.swiper.mobile-products-swiper .swiper-button-prev,
	.swiper.mobile-products-swiper .swiper-button-next {
	    width: 40px;
	    height: 40px;
	}
}