/* Muzee de la sat – butoanele „Îmi place” și „Distribuie”. Culoarea se poate schimba din temă cu --mds-accent. */
.mds-bar {
	--mds-accent: #b40100;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 18px 0; font-family: inherit;
}
.mds-bar.mds-jos { margin-top: 28px; }
.mds-btn {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 18px; border-radius: 999px;
	border: 1.5px solid rgba(29, 31, 40, .14); background: #fff; color: #1d1f28;
	font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none; cursor: pointer;
	box-shadow: 0 1px 2px rgba(20, 22, 30, .05); transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.mds-btn:hover { border-color: var(--mds-accent); box-shadow: 0 6px 16px rgba(180, 1, 0, .12); }
.mds-btn:focus-visible { outline: 3px solid rgba(180, 1, 0, .35); outline-offset: 2px; }
.mds-ic { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mds-like .mds-ic { color: var(--mds-accent); }
.mds-like.is-on { background: var(--mds-accent); border-color: var(--mds-accent); color: #fff; }
.mds-like.is-on .mds-ic { color: #fff; fill: currentColor; }
.mds-n { font-weight: 400; opacity: .75; min-width: 0; }
.mds-n:empty { display: none; }
.mds-like.is-on .mds-n { opacity: .9; }
.mds-pop .mds-ic { animation: mds-pop .45s ease; }
@keyframes mds-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

.mds-menu {
	position: absolute; z-index: 99999; min-width: 220px; padding: 6px;
	background: #fff; border-radius: 18px; border: 1px solid rgba(29, 31, 40, .08);
	box-shadow: 0 18px 48px rgba(20, 22, 30, .18); display: flex; flex-direction: column;
	animation: mds-in .16s ease;
}
@keyframes mds-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mds-menu button {
	-webkit-appearance: none; appearance: none; display: flex; align-items: center; gap: 12px;
	width: 100%; padding: 11px 14px; border: 0; border-radius: 12px; background: none;
	font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.2; color: #1d1f28; text-align: left; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.mds-menu button:hover, .mds-menu button:focus-visible { background: rgba(180, 1, 0, .07); outline: none; }
.mds-menu svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #b40100; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mds-menu svg .f { fill: #b40100; stroke: none; }

.mds-toast {
	position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100000;
	background: #1d1f28; color: #fff; padding: 12px 20px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: opacity .4s;
}
.mds-toast.is-out { opacity: 0; }

@media (max-width: 600px) {
	.mds-bar { gap: 8px; }
	.mds-btn { height: 42px; padding: 0 15px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.mds-pop .mds-ic, .mds-menu { animation: none; }
}
