
html {
  scroll-behavior: smooth;
}
.paisetekst{
	padding:10px;
	font-size:10pt;
}

.tahestik {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 20px 10px;
	justify-content: center;
	font-size: 16px;
}

.tahestik a {
	padding: 4px 0;
	width: 28px;
	text-align: center;
	background: darkorange;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
}

.tahestik a:hover {
	background: orange;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.tahestik .disabled {
	padding: 4px 0;
	width: 28px;
	text-align: center;
	color: #ccc;
	border: 1px solid #f0f0f0;
	border-radius: 4px;
}

.t-grupp {
	border-bottom: 2px solid #0078cc;
	margin-top: 40px;
	margin-bottom: 12px;
	padding-bottom: 4px;
}

.vaheruum {
	margin-bottom:40px;
}

.tootjad-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	margin:10px;
	gap: 10px;
}

.tootja-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.upper-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.logo-veerg {
	flex: 0 0 120px;
	text-align: center;
	padding:10px;
	padding-right: 5%;
}

.tootja-logo {
	width: 100px;
	height: 70px;
	object-fit: contain;
}

.tootja-logo.placeholder {
	background: #f0f0f0;
	color: #aaa;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
}

.info-veerg {
	flex: 1;
	text-align: left;
	font-size: 14px;
	line-height: 1.4;
}

.info-veerg .nimi {
	font-size: 16px;  
	margin-bottom: 4px;
}

.info-veerg a {
	text-decoration: none;
}

.veeb {
	font-size:12px; 
	word-wrap: break-word; 
	overflow-wrap: anywhere;
}

.vaata  {
	margin-top: 6px;
	font-size:12px;
}

.info-veerg .veeb a {
	color: #808080;
	
}

.info-veerg .vaata a {
	color: #FF8800;
}

.info-veerg a:hover {
	text-decoration: underline;
}

.kat-rida {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-top: 1px solid #eee;
	padding: 15px;
}

.kat {
	padding: 2px 5px;
	font-size: 13px;
	color:#808080;
	text-decoration:underline; 
}

.abc-kast {
	position:relative;
}

.abc-nupp {
	position: absolute;
	top: -48px;
    right: 15px;
	text-align: center; 
	color:#606060;
}

.abc-nupp a {
	text-decoration: none;
}

@media (max-width: 420px) {
	.tootjad-grid {
		grid-template-columns: 1fr; 
		margin:5px;
	}
}

@media (max-width: 300px) {
	.logo-veerg {
		flex: 0 0 80px;
		text-align: center;
		padding: 5px;
		padding-right: 5px;
	}

	.tootja-logo {
		width: 80px;
		height: 50px;
		object-fit: contain;
	}
}