/* page_tab start */
.page_tab{
    height: 14px;
    line-height: 14px;
    padding: 50px 0 0 0;
}
.page_tab i{
    text-decoration:underline;
}
/* page_tab end */

 .products-page{
    padding: 40px 0 30px;
 }

 .products-header{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
 }

 .products-header-left{
    min-width: 0;
 }

 .products-title{
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    color: #111;
 }

 .products-subtitle{
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #6B7280;
 }

 .products-layout{
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-top: 18px;
    align-items: start;
 }

 .products-aside{
    position: sticky;
    top: 90px;
    align-self: start;
    border-radius: 14px;
    background-color: #F6F9FF;
    border: 1px solid #D9E2F1;
 }

 .products-aside-title{
    padding: 14px 14px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #104492;
 }

 .products-category-list{
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
 }

 .products-category-item{
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid #D9E2F1;
    background-color: #FFFFFF;
    color: #2B2F36;
    font-size: 13px;
    line-height: 1.2;
 }

 .products-category-item:hover{
    border-color: #104492;
    color: #104492;
 }

 .products-category-item.is-active{
    border-color: #104492;
    background-color: #104492;
    color: #FFFFFF;
 }

 .products-main{
    min-width: 0;
 }

/* section start */

.section{
    padding: 0 0 18px;
}

.section p{
    height: auto;
    line-height: 1.2;
    background-color: transparent;
    font-size: 18px;
    margin: 24px 0 0 0;
    color: #111;
    font-weight: 700;
    border-bottom: 1px solid #E1E4EC;
    padding: 12px 0 10px;
}

.section ul{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 20px 0 0 0;
}

.section ul li{
    display: block;
}

.product-card{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background-color: #FFFFFF;
    border: 1px solid #D9E2F1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-card:hover{
    transform: translateY(-2px);
    border-color: rgba(16, 68, 146, 0.6);
    box-shadow: 0 12px 30px rgba(16, 68, 146, 0.14);
}

.product-thumb{
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    /*background-color: #EEF3FF;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-body{
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 72px;
}

.product-title{
    font-size: 14px;
    line-height: 1.4;
    color: #111;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
}

.product-meta{
    font-size: 12px;
    line-height: 1.2;
    color: #6B7280;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.product-cta{
    margin-top: auto;
    font-size: 12px;
    line-height: 1;
    color: #104492;
    font-weight: 700;
    align-self: flex-end;
}

#high ul{
    grid-template-columns: 1fr;
}

#products-sections .target-fix{
    position: relative;
    top: -40px; 
    display: block;
    height: 0;
    overflow: hidden;

}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
	.products-page{
		padding: 0 16px 16px;
	}

	.products-layout{
		grid-template-columns: 1fr;
		gap: 0;
	}

	.products-aside{
		display: none;
	}

	section .section:nth-of-type(odd),
	section .section:nth-of-type(even) {
		background-color: transparent;
	}

	.section p {
		height: auto;
		line-height: 1.4;
		padding: 10px 0;
		margin: 12px 0 0;
		font-size: 16px;
		font-weight: 500;
		color: #333333;
		display: flex;
		align-items: center;
		justify-content: space-between;
		position: relative;
		background-color: transparent;
		border-bottom: 1px solid #e1e4ec;
		border-left: none;
		border-radius: 0;
	}

	.section > p::after {
		content: "";
		width: 10px;
		height: 10px;
		border-right: 2px solid #9aa4b8;
		border-bottom: 2px solid #9aa4b8;
		transform: rotate(45deg);
		opacity: 0.8;
		transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
		margin-left: 8px;
	}

	.section.products-section-active > p::after {
		transform: rotate(-135deg);
		border-right-color: #104492;
		border-bottom-color: #104492;
		opacity: 1;
	}

	.products-section-active > p {
		color: #104492;
		font-weight: 700;
		border-bottom-color: #104492;
		background-color: #f5f7fb;
		border-radius: 4px;
		padding: 10px 8px;
		margin-top: 14px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
	}

	.section ul {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 12px;
		padding: 12px 0 0;
	}

	.section ul li {
		margin: 0;
		width: 100%;
		display: block;
	}

	.product-card {
		position: relative;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding: 12px 44px 12px 12px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	}

	.product-card:active {
		transform: scale(0.97);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	}

	.product-thumb{
		width: 88px;
		flex: 0 0 auto;
		aspect-ratio: 4 / 3;
		border-radius: 12px;
	}

	.product-body{
		flex: 1 1 auto;
		min-width: 0;
		min-height: 0;
		gap: 4px;
	}

	.product-title{
		font-size: 14px;
	}

	.product-meta{
		display: none;
	}

	.product-cta{
		position: absolute;
		right: 12px;
		top: 50%;
		transform: translateY(-50%);
		width: 28px;
		height: 28px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 0;
		font-weight: 700;
		color: #104492;
	}

	.product-cta::after{
		content: "›";
		font-size: 20px;
		line-height: 1;
	}

	#high ul{
		padding-top: 12px;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.products-layout{
		grid-template-columns: 1fr;
		gap: 0;
	}

	.products-aside{
		display: none;
	}

	.section ul{
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-card{
		transition: none;
	}
	.product-card:hover{
		transform: none;
	}
}
