.isp-speed-calc {
	max-width: 960px;
	margin: 0 auto;
	padding: 32px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
	color: #1a2233;
	box-sizing: border-box;
}

.isp-speed-calc *,
.isp-speed-calc *::before,
.isp-speed-calc *::after {
	box-sizing: border-box;
}

.isp-speed-calc__header {
	text-align: center;
	margin-bottom: 32px;
}

.isp-speed-calc__title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #0f1b2d;
	line-height: 1.3;
}

.isp-speed-calc__subtitle {
	font-size: 15px;
	color: #5b6472;
	margin: 0 auto;
	max-width: 560px;
	line-height: 1.6;
}

.isp-speed-calc__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}

@media (max-width: 768px) {
	.isp-speed-calc__grid {
		grid-template-columns: 1fr;
	}
}

.isp-device-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #ffffff;
	border: 1px solid #e3e7ee;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.isp-device-card:hover {
	border-color: #c7d2e3;
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}

.isp-device-card__icon {
	font-size: 26px;
	line-height: 1;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f5fa;
	border-radius: 10px;
}

.isp-device-card__body {
	flex: 1;
	min-width: 0;
}

.isp-device-card__label {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #1a2233;
}

.isp-device-card__controls {
	display: flex;
	align-items: center;
	gap: 14px;
}

.isp-qty-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #d7dce4;
	background: #f7f9fc;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #334155;
	user-select: none;
	touch-action: manipulation;
	line-height: 1;
	padding: 0;
}

.isp-qty-btn:hover {
	background: #eef2f7;
}

.isp-qty-btn:active {
	background: #e2e8f0;
}

.isp-qty-value {
	min-width: 28px;
	text-align: center;
	font-size: 17px;
	font-weight: 700;
	color: #0f1b2d;
}

.isp-speed-calc__actions {
	text-align: center;
	margin-bottom: 8px;
}

.isp-calculate-btn {
	background: #1e6fd9;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px 40px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
}

.isp-calculate-btn:hover {
	background: #175bb5;
}

.isp-calculate-btn:active {
	transform: translateY(1px);
}

.isp-calculate-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.isp-speed-calc__result {
	margin-top: 28px;
	background: linear-gradient(135deg, #0f1b2d, #1e3a5f);
	color: #fff;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
}

.isp-result__label {
	font-size: 14px;
	opacity: 0.85;
	margin-bottom: 6px;
}

.isp-result__speed {
	font-size: 40px;
	font-weight: 800;
	margin-bottom: 18px;
	line-height: 1.1;
}

.isp-result__bill-label {
	font-size: 13px;
	opacity: 0.8;
}

.isp-result__price {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 12px;
}

.isp-result__desc {
	font-size: 14px;
	opacity: 0.9;
	max-width: 480px;
	margin: 12px auto 0;
	line-height: 1.6;
}

.isp-speed-calc__result.isp-result__error {
	background: #7a1f2b;
}
