/* HAMES product list and detail */
.hames-product-page .main {
	background: #f6f8fb;
}

.hames-product-page .page-header {
	position: relative;
	margin-bottom: 0;
	border-bottom: 0;
	background-position: center;
	background-size: cover;
}

.hames-product-page .page-header:before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(90deg, rgba(21, 49, 91, .32), rgba(0, 129, 190, .08));
	content: "";
}

.hames-product-page .page-header .container {
	position: relative;
	z-index: 1;
}

.hames-product-page .page-header h1 {
	font-size: 30px;
	letter-spacing: -.04em;
}

.hames-product-page .main > .container.py-4 {
	padding-top: 50px !important;
	padding-bottom: 70px !important;
}

/* Product list */
.product-list-page .main > .container > h4 {
	margin-bottom: 22px;
	color: #1f3c58;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -.035em;
	text-align: center;
}

.product-list-page .sort-source {
	display: flex;
	width: fit-content;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding: 6px;
	border: 1px solid #e0e7ef;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(27, 54, 83, .05);
}

.product-list-page .sort-source .nav-link {
	margin: 0 2px;
	padding: 9px 18px;
	border-radius: 20px;
	color: #52677c;
	font-weight: 600;
}

.product-list-page .sort-source .active .nav-link,
.product-list-page .sort-source .nav-link:hover {
	background: #1681bf;
	color: #fff;
}

.product-list-page .hames-product-list-item {
	display: flex;
	margin-bottom: 28px !important;
}

.product-list-page .hames-product-list-item > a {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 354px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e1e8ef;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 7px 20px rgba(27, 54, 83, .06);
	text-decoration: none;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-list-page .hames-product-list-item > a:hover {
	border-color: #c7d8e7;
	box-shadow: 0 16px 32px rgba(27, 54, 83, .13);
	transform: translateY(-5px);
}

.product-list-page .hames-product-list-image {
	display: flex !important;
	height: 270px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 14px;
	overflow: hidden;
	border: 0;
	border-bottom: 1px solid #edf1f5;
	border-radius: 0;
	background: #fff;
}

.product-list-page .hames-product-list-image img {
	width: 100%;
	height: 100% !important;
	object-fit: contain;
	transition: transform .28s ease;
}

.product-list-page .hames-product-list-item > a:hover img {
	transform: scale(1.035);
}

.product-list-page .thumb-info-caption {
	display: flex;
	min-height: 82px;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 18px 16px;
	background: #fff;
}

.product-list-page .thumb-info-caption h2 {
	margin: 0;
	color: #263f57;
	font-size: 16px !important;
	line-height: 1.5 !important;
	letter-spacing: -.02em;
}

.product-status-badge {
	position: absolute;
	z-index: 2;
	top: 14px;
	left: 14px;
	padding: 6px 11px;
	border-radius: 16px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.product-status-badge.is-selling {
	background: #16816f;
}

.product-status-badge.is-inquiry {
	background: #526c88;
}

.product-list-page .pagination {
	clear: both;
	margin-top: 30px;
	margin-bottom: 0;
}

/* Product detail */
.product-view-page .product-category-path {
	margin-bottom: 16px !important;
}

.product-view-page .product-category-path h4 {
	margin: 0;
	padding: 9px 15px;
	border: 1px solid #dce5ed;
	border-radius: 20px;
	background: #fff;
	color: #607286;
	font-size: 13px;
	font-weight: 600;
}

.product-view-page .product-category-path h4 a {
	color: #47657f !important;
}

.product-view-page .product-detail-card {
	margin-right: 0;
	margin-bottom: 42px;
	margin-left: 0;
	padding: 38px 30px;
	border: 1px solid #e1e8ef;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(27, 54, 83, .08);
}

.product-view-page .product-detail-card > .col-md-6 {
	display: flex;
	align-items: center;
}

.product-view-page .product-detail-card .img-thumbnail {
	display: flex !important;
	width: 100%;
	min-height: 410px;
	align-items: center;
	justify-content: center;
	padding: 22px;
	border: 0;
	border-radius: 10px;
	background: #f7f9fb;
}

.product-view-page .product-detail-card .img-thumbnail img {
	width: 100%;
	max-height: 420px;
	object-fit: contain;
}

.product-view-page .summary {
	width: 100%;
	padding: 12px 12px 12px 28px;
}

.product-view-page .summary h1 {
	color: #203950;
	font-size: 30px !important;
	line-height: 1.35;
	letter-spacing: -.04em;
}

.product-view-page .summary .divider {
	margin: 18px 0 20px;
}

.product-view-page .summary .divider hr {
	width: 54px;
	height: 3px;
	background: #1681bf !important;
}

.product-view-page .summary .price {
	display: flex;
	align-items: baseline;
	margin-bottom: 20px !important;
	gap: 12px;
}

.product-view-page .summary .price .sale {
	color: #173f63 !important;
	font-size: 28px;
	font-weight: 700;
}

.product-view-page .summary .price .amount {
	color: #9aa5b1;
	font-size: 15px;
	text-decoration: line-through;
}

.product-view-page .summary > p.text-4 {
	margin-bottom: 24px !important;
	color: #5c6c7c;
	line-height: 1.75;
}

.product-view-page .summary ul {
	margin: 0 0 8px;
	padding: 14px 18px !important;
	border: 1px solid #e5ebf1;
	border-radius: 8px;
	background: #f8fafc;
}

.product-view-page .summary ul li {
	padding: 9px 2px !important;
	border-bottom: 1px solid #e6ecf2;
	color: #647384;
	font-size: 14px;
}

.product-view-page .summary ul li:last-child {
	border-bottom: 0;
}

.product-view-page .summary ul li i {
	margin-right: 7px;
	color: #1681bf;
}

.product-view-page .summary > .btn {
	min-width: 168px;
	padding: 13px 20px;
	border: 0;
	border-radius: 5px;
	box-shadow: 0 7px 16px rgba(23, 92, 139, .16);
	font-weight: 700;
}

.product-view-page #description {
	overflow: hidden;
	border: 1px solid #e1e8ef;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(27, 54, 83, .06);
}

.product-view-page #description .nav-tabs {
	padding: 0 28px;
	border-bottom: 1px solid #e3e9ef;
	background: #f8fafc;
}

.product-view-page #description .nav-link {
	padding: 18px 20px !important;
	border-bottom-width: 3px;
	color: #607286;
}

.product-view-page #description .nav-link.active {
	border-bottom-color: #1681bf !important;
	color: #1f4d72;
}

.product-view-page #description .tab-content {
	padding: 12px 34px 34px !important;
}

.product-view-page #productDescription {
	overflow: hidden;
	color: #506172;
	line-height: 1.8;
}

.product-view-page #productDescription img,
.product-view-page #productDescription iframe,
.product-view-page #productDescription table {
	max-width: 100% !important;
}

.product-view-page #productContact .card {
	border-radius: 9px;
	background: #f3f7fa !important;
}

.product-view-page #productContact .card-body {
	padding: 28px;
	text-align: center;
}

@media (max-width: 991px) {
	.hames-product-page .main > .container.py-4 {
		padding-top: 34px !important;
		padding-bottom: 48px !important;
	}

	.product-list-page .sort-source {
		width: 100%;
		justify-content: flex-start !important;
		overflow-x: auto;
		border-radius: 8px;
	}

	.product-view-page .product-detail-card {
		padding: 26px 18px;
	}

	.product-view-page .summary {
		padding: 10px 4px;
	}

	.product-view-page .product-detail-card .img-thumbnail {
		min-height: 340px;
	}
}

@media (max-width: 575px) {
	.hames-product-page .page-header h1 {
		font-size: 25px;
	}

	.product-list-page .hames-product-list-image {
		height: 240px;
	}

	.product-view-page .product-detail-card {
		border-radius: 10px;
	}

	.product-view-page .product-detail-card .img-thumbnail {
		min-height: 270px;
		padding: 14px;
	}

	.product-view-page .summary h1 {
		font-size: 25px !important;
	}

	.product-view-page #description .nav-tabs {
		padding: 0 10px;
	}

	.product-view-page #description .nav-link {
		padding: 15px 12px !important;
	}

	.product-view-page #description .tab-content {
		padding: 8px 18px 24px !important;
	}
}
