/* Elsa ↔ Models bridge: pagination, product detail, breadcrumbs inside Models shell */
.models-site .main-content {
	min-width: 0;
}

.models-site a.province-row {
	text-decoration: none;
	color: inherit;
}

.models-site .profiles-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.models-site .profiles-grid > .profile-card,
.models-site .profiles-grid > li {
	list-style: none;
	margin: 0;
}

.models-site a.profile-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

.models-site .listing-toolbar {
	margin-bottom: 14px;
}

.models-site .pagination,
.models-site .pages {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin: 16px 0;
}

.models-site .pagination a,
.models-site .pages a,
.models-site .pagination span,
.models-site .pages span {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #222;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.models-site .pagination a:hover,
.models-site .pages a:hover,
.models-site .pagination .current,
.models-site .pages .current {
	background: #b5121b;
	border-color: #b5121b;
	color: #fff !important;
}

.models-site .breadcrumbs,
.models-site .breadcrumb,
.models-site .site-breadcrumbs {
	font-size: 12px;
	color: #888;
	margin: 0 0 14px;
	padding: 0;
	border: none;
	background: none;
}

.models-site .site-breadcrumbs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
}

.models-site .site-bc-item {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.models-site .site-bc-item a {
	color: #666;
	text-decoration: none;
}

.models-site .site-bc-item a:hover {
	color: #b5121b;
	text-decoration: underline;
}

.models-site .site-bc-item.is-current span {
	color: #333;
	font-weight: 600;
}

.models-site .site-bc-sep {
	display: inline-block;
	padding: 0 8px;
	color: #bbb;
	font-weight: 400;
	user-select: none;
}

.models-site .breadcrumbs ul,
.models-site .breadcrumbs .gpipe,
.models-site .bread-back {
	display: none !important;
}

.models-site .page-title {
	text-transform: none;
	letter-spacing: 0.2px;
}

/* Empty shop categories (menu/SEO only): keep title, hide product chrome */
.models-site #listing-view.listing-seo-only .listing-seo-placeholder {
	display: none;
}
.models-site #listing-view.listing-seo-only {
	min-height: 12rem;
}

/* Home / listing pager — screenshot style */
.models-pager {
	display: flex;
	justify-content: center;
	margin: 28px 0 12px;
	padding: 8px 0 20px;
}
.models-pager-list {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.models-pager-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	box-sizing: border-box;
	border: 1px solid #cfcfcf;
	background: #fff;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	border-radius: 2px;
	line-height: 1;
}
.models-pager-btn:hover {
	border-color: #b5121b;
	color: #b5121b;
}
.models-pager-btn.is-active,
.models-pager-btn.models-pager-next {
	border-color: transparent;
	background: linear-gradient(180deg, #e11d2e 0%, #9f0f1a 100%);
	color: #fff;
	box-shadow: 0 1px 3px rgba(159, 15, 26, 0.35);
}
.models-pager-btn.is-active:hover,
.models-pager-btn.models-pager-next:hover {
	color: #fff;
	filter: brightness(1.05);
}
.models-pager-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	color: #888;
	font-size: 16px;
	letter-spacing: 1px;
	user-select: none;
}
[data-theme="dark"] .models-pager-btn {
	background: #1a1a1a;
	border-color: #444;
	color: #eee;
}
[data-theme="dark"] .models-pager-btn.is-active,
[data-theme="dark"] .models-pager-btn.models-pager-next {
	background: linear-gradient(180deg, #e11d2e 0%, #9f0f1a 100%);
	border-color: transparent;
	color: #fff;
}


/* Profile detail uses Models classes from models-site.css —
   keep only small Elsa bridges here */

.models-site a.btn-profile-next,
.models-site a.btn-profile-contact,
.models-site a.btn-profile-grey,
.models-site a.btn-profile-report,
.models-site a.btn-comment-add {
	text-decoration: none !important;
	color: #fff !important;
	box-sizing: border-box;
	text-align: center;
}

.models-site a.btn-profile-next {
	display: inline-block;
	background: #b5121b;
	padding: 6px 14px;
	font-size: 11px;
	font-weight: bold;
}

.models-site a.btn-profile-contact {
	display: block;
	width: 100%;
	background: #b5121b;
	padding: 11px;
	font-size: 12px;
	font-weight: bold;
	margin: 12px 0 8px;
}

.models-site a.btn-profile-grey,
.models-site a.btn-profile-report {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 6px;
	font-size: 9px;
	font-weight: bold;
}

.models-site a.btn-profile-grey { background: #888; }
.models-site a.btn-profile-report { background: #444; }

.models-site a.btn-comment-add {
	display: inline-block;
	background: #b5121b;
	padding: 8px 12px;
	font-size: 11px;
	font-weight: bold;
	margin-top: 8px;
}

.models-site .profile-detail-body.desc {
	font-size: 12px;
	line-height: 1.55;
	color: #333;
}

.models-site .profile-detail-body.desc img {
	max-width: 100%;
	height: auto;
}


.models-site .listdesc {
	font-size: 13px;
	color: #555;
	margin-bottom: 12px;
}

.models-site a.logo-block {
	text-decoration: none;
	color: inherit;
}

.models-site .home-comments {
	margin-top: 28px;
	padding-top: 8px;
}

.models-site .home-comments h2 {
	color: #b5121b;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 14px;
}

.models-site .home-comments-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.models-site .home-comment {
	border: 1px solid #d8d8d8;
	padding: 12px 14px;
	background: #fff;
	margin: 0;
	color: #222;
}

.models-site .home-comment p {
	color: #333;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
}

.models-site .home-comment cite {
	display: block;
	margin-top: 8px;
	color: #b5121b;
	font-weight: 700;
	font-style: normal;
	font-size: 12px;
}

[data-theme="dark"] .models-site .home-comments h2 {
	color: #f2f2f2;
}

[data-theme="dark"] .models-site .home-comment {
	background: #1e1e1e;
	border-color: #444;
	color: #eee;
}

[data-theme="dark"] .models-site .home-comment p {
	color: #ddd;
}

[data-theme="dark"] .models-site .home-comment cite {
	color: #ff6b6b;
}

.models-site .home-comments .button,
.models-site .home-comments a.button {
	display: inline-block;
	background: #b5121b;
	color: #fff !important;
	padding: 8px 14px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}

.models-site .button-cnt {
	text-align: center;
	margin-top: 16px;
}

@media (max-width: 1100px) {
	.models-site .profiles-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.models-site .profiles-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.models-site .profile-detail {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.models-site .profiles-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
