/* ===== Banner ===== */
.category-banner {
	padding: 100px 0;
	background-size: cover;
	background-position: center;
	color: #fff;
}

.category-banner h1 {
	font-size: 42px;
	font-weight: 800;
	color: #143475;
}

.category-banner .shop-link {
	color: #143475;
	text-decoration: none;
	text-transform: uppercase;
}

/* ===== Description ===== */
.category-description {
	padding: 60px 0;
}

/* ===== Section ===== */
.subcategory-section {
	padding: 40px 0;
}

/* ===== SLIDER ===== */
.product-slider {
	display: flex;
	gap: 20px;
	scroll-behavior: smooth;
	padding-bottom: 10px;
	/* Hide scrollbar */
	scrollbar-width: none;
}

.product-slider .slick-next, .product-slider .slick-prev {
	width: 40px; 
	height: 40px; 
	background: #143475; 
	border-radius: 50%;
}

.product-slider .slick-next:before {
	content: "\f054";
	font-family: "Font Awesome 5 Free" !important;
	font-size: 18px !important;
}

.product-slider .slick-prev:before {
	content: "\f053";
	font-family: "Font Awesome 5 Free" !important;
	font-size: 18px !important;
}

.product-slider .slick-next,
.product-slider .slick-prev {
	display: flex;
	justify-content: center;
	align-items: center;
}

.product-slider .slick-next {
	right: -40px !important;
	z-index: 9;
}

.product-slider .slick-prev {
	left: -40px !important;
	z-index: 9;
}

.product-slider::-webkit-scrollbar {
	display: none;
}

/* SNAP EFFECT (premium feel) */
.product-slider {
	scroll-snap-type: x mandatory;
}

.product-card {
	scroll-snap-align: start;
}

/* ===== CARD ===== */
.product-card {
	flex: 0 0 calc(33.33% - 14px);
	padding: 10px;
}

.product-card a {
	background: #f5f5f5;
	display: flex;
	flex-direction: column;
	transition: 0.3s;
	text-decoration: none;
}

/* Tablet */
@media (max-width: 1024px) {
	.product-card {
		flex: 0 0 calc(50% - 10px);
	}
}

/* Mobile */
@media (max-width: 768px) {
	.product-card {
		flex: 0 0 85%;
	}
}

/* ===== IMAGE FIX ===== */
.product-card img {
	width: 100%;
	height: 280px;
	padding: 30px 15px;
	object-fit: contain;
}

/* ===== INFO ===== */
.product-info {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	padding: 12px;
	transition: 0.3s;
	background: #E1E6F0;
	color: #143475;
}

.product-info svg {
	width: 21px;
}

/* ===== HOVER ===== */
.product-card:hover .product-info {
	background: #0d2c5a;
	color: #fff;
}

/* ===== ARROW ===== */
.product-card .arrow {
	transition: transform 0.3s;
}

.product-card:hover .arrow {
	transform: rotate(-35deg);
}

.product-card:hover .arrow svg path {
	fill: #fff;
	color: #fff;
	stroke: #fff;
}

.subcategory-section .main-category {
	color: #143475;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.subcategory-section h2 {
	margin-bottom: 25px;
	color: #143475;
}


/* 	Category popup modal */
.product-modal {
	display: none;
	position: fixed;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	inset: 0;
	z-index: 9999;
}

.modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
}

.modal-content {
	position: relative;
	background: #fff;
	width: 1000px;
	max-width: 90vw;
	/* 		margin: 5% auto; */
	padding: 30px;
	display: flex;
	max-height: 85vh;
	overflow: auto;
}

.modal-body {
	display: flex;
	gap: 30px;
}

.modal-left {
	width: 40%;
}

.modal-right {
	width: 60%;
}

.modal-main-image img {
	width: 100%;
	max-height: 60vh;
	object-fit: contain;
}

.modal-thumbs img {
	width: 60px;
	height: 60px; 
	object-fit: contain;
	margin: 5px;
	cursor: pointer;
}

.modal-close {
	position: absolute;
	top: 5vh;
	right: 5vw;
	cursor: pointer;
	font-size: 30px;
	font-weight: 300;
	color: #fff;
}

.product-modal-accordion {
	margin-top: 20px;
}

.product-acc-item {
	border: 1px solid #ddd;
	margin-bottom: 10px;
}

.product-acc-title {
	padding: 15px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	font-weight: 600;
	background: #E1E6F0;
	color: #143475;
}

.product-acc-title span {
	font-size: 22px;
	line-height: 1;
}

.product-acc-content {
	display: none;
	padding: 10px 15px;
}

.product-acc-content p {
	margin-bottom: 0; 
}

.modal-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.modal-buttons > a {
	width: 100%;
	display: block;
	text-align: center;
	text-decoration: none;
	border: 1px solid #143475;
	padding: 10px;
	transition: 0.3s all ease-in-out;
}

a.btn-quote, a.btn-brochure:hover {
	color: #fff;
	background: #143475;
}

a.btn-brochure, a.btn-quote:hover {
	color: #143475;
	background: #fff;
}

.modal-breadcrumb {
	color: #143475; 
	font-size: 13px;
	margin-bottom: 0;
	text-transform: uppercase;
	font-weight: 350;
}

.modal-desc {
	margin-top: 10px;
	font-weight: 350;
}

@media (max-width: 640px) {
	.modal-body {
		flex-direction: column;
	}

	.modal-body > * {
		width: 100%;
	}

	.modal-buttons > a {
		width: auto;
		padding: 8px 15px;
	}

	.modal-content {
		padding: 25px 12px;
	}
	
	.product-slider .slick-next {
		right: 0 !important;
	}
	
	.product-slider .slick-prev {
		left: 0 !important;
	}
}


