/**
 * Frontend styles for STW Pricing Tiers
 */

.stw-pricing-tiers-wrapper {
	margin: 20px 0;
	padding: 20px;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
}

.stw-pricing-tiers-title {
	margin: 0 0 16px 0;
	font-size: 18px;
	font-weight: 600;
	color: #212529;
}

.stw-pricing-tiers-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stw-pricing-tier-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	background: #fff;
	border: 2px solid #dee2e6;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.stw-pricing-tier-option:hover {
	border-color: #0d6efd;
	box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
	transform: translateY(-1px);
}

.stw-pricing-tier-option.stw-tier-selected {
	border-color: #0d6efd !important;
	background: #e7f1ff !important;
	box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25) !important;
	transform: translateY(-1px) !important;
}

.stw-tier-quantity {
	font-size: 16px;
	font-weight: 600;
	color: #212529;
}

.stw-tier-pricing {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.stw-tier-price {
	font-size: 20px;
	font-weight: 700;
	color: #0d6efd;
}

.stw-tier-unit-price {
	font-size: 14px;
	color: #6c757d;
}

.stw-tier-savings {
	display: inline-block;
	padding: 4px 8px;
	background: #d1ecf1;
	color: #0c5460;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

/* Responsive styles */
@media (max-width: 576px) {
	.stw-pricing-tier-option {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.stw-tier-pricing {
		width: 100%;
		justify-content: space-between;
	}

	.stw-tier-price {
		font-size: 18px;
	}
}
