/* YouthPlug Wholesale Core – Frontend */

.ypwc-min-qty-info {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	background: #f5f7fa;
	border-left: 3px solid #0a2540;
	border-radius: 4px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.ypwc-min-qty-info strong {
	color: #0a2540;
}

.ypwc-pack-desc {
	color: #636e72;
	font-size: 0.85rem;
}

.ypwc-wholesale-notice {
	margin-bottom: 1.25rem !important;
}

.ypwc-departments {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
}

.ypwc-departments li a {
	display: block;
	padding: 0.75rem 1rem;
	background: #f5f7fa;
	border-radius: 6px;
	text-decoration: none;
	color: #2d3436;
	font-weight: 500;
	transition: background 0.2s;
}

.ypwc-departments li a:hover {
	background: #0a2540;
	color: #fff;
}

.ypwc-departments .count {
	opacity: 0.7;
	font-weight: 400;
	font-size: 0.85em;
}

.ypwc-sc-empty {
	padding: 1rem;
	color: #636e72;
}

/* Tier pricing table */
.ypwc-tier-table-wrap {
	margin: 1.25rem 0;
}

.ypwc-tier-table-title {
	font-size: 1rem;
	margin: 0 0 0.75rem;
	color: #0a2540;
}

.ypwc-tier-table {
	width: 100%;
	max-width: 420px;
	border-collapse: collapse;
	font-size: 0.9rem;
	background: #fff;
	border: 1px solid #dfe6e9;
	border-radius: 6px;
	overflow: hidden;
}

.ypwc-tier-table th,
.ypwc-tier-table td {
	padding: 0.6rem 0.85rem;
	text-align: left;
	border-bottom: 1px solid #dfe6e9;
}

.ypwc-tier-table th {
	background: #0a2540;
	color: #fff;
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ypwc-tier-table tbody tr:last-child td {
	border-bottom: none;
}

.ypwc-tier-table tbody tr.is-active {
	background: #fff5f0;
	font-weight: 600;
}

.ypwc-tier-table tbody tr.is-active td {
	color: #0a2540;
}

.ypwc-tier-note {
	font-size: 0.8rem;
	color: #636e72;
	margin: 0.5rem 0 0;
}

@media (max-width: 480px) {
	.ypwc-tier-table {
		max-width: 100%;
		font-size: 0.85rem;
	}
	.ypwc-tier-table th,
	.ypwc-tier-table td {
		padding: 0.5rem 0.6rem;
	}
}


.ypwc-tier-lead {
	font-size: 0.9rem;
	color: #636e72;
	margin: 0 0 0.85rem;
}

.ypwc-tier-type {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.ypwc-tier-type.is-retail {
	background: #fff5f0;
	color: #ff6b35;
}

.ypwc-tier-type.is-wholesale {
	background: #eef3f8;
	color: #0a2540;
}
