/**
 * PostPrince Sellers — frontend styles.
 *
 * Self-contained base styles so the directory works in any theme. The
 * PostPrince theme ships matching rules; these keep every other theme sane.
 */

.pp-sellers__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.pp-sellers__chip {
	border: 1px solid rgba(127, 127, 140, 0.45);
	background: transparent;
	color: inherit;
	border-radius: 999px;
	padding: 0.4rem 0.95rem;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pp-sellers__chip:hover,
.pp-sellers__chip.is-active {
	border-color: #c9a55c;
	color: #c9a55c;
	background: rgba(201, 165, 92, 0.08);
}

.pp-sellers__layout {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

.pp-sellers__map-wrap {
	position: relative;
	min-height: 420px;
	border: 1px solid rgba(127, 127, 140, 0.35);
	border-radius: 14px;
	overflow: hidden;
	background: #101014;
}

.pp-sellers__map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.pp-sellers__map-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
	color: #8a8a94;
	font-size: 0.9rem;
}

.pp-sellers__map--off {
	position: relative;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a8a94;
	font-size: 0.9rem;
}

.pp-sellers__list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	max-height: 420px;
	overflow-y: auto;
	padding-right: 0.35rem;
}

.pp-seller-card {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	border: 1px solid rgba(127, 127, 140, 0.3);
	border-radius: 12px;
	padding: 0.9rem 1rem;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.pp-seller-card[data-pin] {
	cursor: pointer;
}

.pp-seller-card:hover,
.pp-seller-card.is-active,
.pp-seller-card:focus-visible {
	border-color: #c9a55c;
	transform: translateY(-1px);
	outline: none;
}

.pp-seller-card__logo {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	object-fit: contain;
	background: #fff;
	padding: 4px;
}

.pp-seller-card__body {
	min-width: 0;
}

.pp-seller-card__name {
	margin: 0 0 0.15rem;
	font-size: 0.98rem;
}

.pp-seller-card__type {
	display: inline-block;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c9a55c;
	border: 1px solid rgba(201, 165, 92, 0.4);
	border-radius: 999px;
	padding: 0.12rem 0.55rem;
	margin-bottom: 0.35rem;
}

.pp-seller-card__meta {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.5;
}

.pp-seller-card__meta a {
	color: inherit;
	text-decoration: none;
}

.pp-seller-card__meta a:hover {
	color: #c9a55c;
}

/* Leaflet popup, restyled to match. */
.pp-sellers__map .leaflet-popup-content-wrapper {
	background: #15151a;
	color: #e8e8ec;
	border-radius: 10px;
	border: 1px solid rgba(201, 165, 92, 0.4);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.pp-sellers__map .leaflet-popup-tip {
	background: #15151a;
	border: 1px solid rgba(201, 165, 92, 0.4);
}

.pp-sellers__map .leaflet-popup-content {
	margin: 0.75rem 1rem;
	font-size: 0.85rem;
	line-height: 1.45;
}

.pp-sellers-popup strong {
	display: block;
	font-size: 0.95rem;
}

.pp-sellers-popup em {
	display: inline-block;
	font-style: normal;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c9a55c;
	margin: 0.15rem 0 0.3rem;
}

.pp-sellers-popup span {
	display: block;
	color: #b6b6bf;
}

.pp-sellers-popup a {
	color: #e8e8ec;
	text-decoration: none;
	border-bottom: 1px solid rgba(201, 165, 92, 0.5);
}

@media (max-width: 900px) {
	.pp-sellers__layout {
		grid-template-columns: 1fr;
	}

	.pp-sellers__map-wrap {
		min-height: 320px;
	}
}
