/*
 * Shai Magen 2026 – single equipment / second-hand page (no Figma frame).
 * Built from the homepage system: tokens, Karantina display, Rubik text, pill buttons, 28px radii.
 */

.smh.smh-item-head { padding-bottom: 72px; }
.smh.smh-item-head .smh-pagehead__title { font-size: clamp(56px, 6.46vw, 93px); line-height: .95; }

.smh .smh-item__avail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; }
.smh .smh-item__avail-label { font: 600 14px/normal var(--smh-font); letter-spacing: .56px; color: rgba(255, 255, 255, .78); }
.smh .smh-item__used-note { margin: 28px 0 0; font: 400 19px/1.6 var(--smh-font); color: rgba(255, 255, 255, .78); }
.smh .smh-item__used-note a { color: var(--smh-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.smh .smh-item__used-note a:hover, .smh .smh-item__used-note a:focus-visible { color: var(--smh-white); }
.smh .smh-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.smh .smh-item__tag {
	margin: 0; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px;
	font: 600 14px/normal var(--smh-font); color: var(--smh-white);
}
.smh .smh-item__tag--used { border-color: var(--smh-orange); background: var(--smh-orange); }

.smh.smh-item { padding-top: 88px; padding-bottom: 128px; }
.smh .smh-item__top { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); gap: 48px; align-items: start; }
.smh .smh-item__media { overflow: hidden; border-radius: 28px; background: #f5f4f2; }
.smh .smh-item__img { display: block; width: 100%; height: auto; }
.smh .smh-item__info { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.smh .smh-item__specs { margin: 0; border-top: 1px solid var(--smh-ink); }
.smh .smh-item__specs > div {
	display: flex; justify-content: space-between; gap: 24px; padding: 13px 0;
	border-bottom: 1px solid var(--smh-line); font: 400 16px/1.4 var(--smh-font);
}
.smh .smh-item__specs dt { font-weight: 400; color: var(--smh-muted); }
.smh .smh-item__specs dd { margin: 0; font-weight: 600; color: var(--smh-ink); text-align: end; }

.smh .smh-item__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.smh .smh-item__btn { width: 100%; justify-content: space-between; white-space: normal; text-align: start; line-height: 1.2; }
.smh .smh-item__btn.is-off, .smh .smh-item__btn.is-off:hover {
	border-color: #e6e3e0; background: #e6e3e0; color: #9a948f; cursor: not-allowed;
}
.smh .smh-item__btn.is-off .smh-btn__icon svg { transform: none; }
.smh .smh-item__actions .smh-text-link { margin: 8px 0 0; align-self: flex-start; }

.smh .smh-item__used {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px;
	border: 1px solid var(--smh-orange); border-radius: 16px;
	font: 400 15px/1.4 var(--smh-font); color: var(--smh-ink); text-decoration: none; transition: background-color .2s;
}
.smh .smh-item__used strong { font-weight: 600; }
.smh .smh-item__used:hover, .smh .smh-item__used:focus-visible { background: #fff4ec; }

.smh .smh-item__block { display: flex; flex-direction: column; gap: 28px; padding-top: 88px; }
.smh .smh-item__content { font: 400 17px/1.65 var(--smh-font); color: var(--smh-muted); }

.smh .smh-item__advantages {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 58px; margin: 0; padding: 0;
	list-style: none; border-top: 1px solid var(--smh-ink);
}
.smh .smh-item__advantages li {
	margin: 0; padding: 14px 0; border-bottom: 1px solid var(--smh-line);
	font: 400 16px/1.5 var(--smh-font); color: var(--smh-ink);
}

.smh .smh-item__gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.smh .smh-item__gallery li { margin: 0; }
.smh .smh-item__gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: #f5f4f2; }
.smh .smh-item__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--smh-ease); }
.smh .smh-item__gallery a:hover img, .smh .smh-item__gallery a:focus-visible img { transform: scale(1.04); }

.smh .smh-item__videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.smh .smh-item__videos iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }

.smh .smh-item__brand-logo { display: block; width: auto; max-width: 180px; height: auto; max-height: 56px; object-fit: contain; align-self: flex-start; mix-blend-mode: multiply; }

@media (max-width: 1023px) {
	.smh .smh-item__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.smh .smh-item__gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.smh.smh-item-head { padding-bottom: 48px; }
	.smh.smh-item-head .smh-pagehead__title { font-size: 51px; }
	.smh.smh-item { padding-top: 48px; padding-bottom: 72px; }
	.smh .smh-item__block { padding-top: 56px; gap: 20px; }
	.smh .smh-item__advantages, .smh .smh-item__videos { grid-template-columns: minmax(0, 1fr); }
	.smh .smh-item__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.smh .smh-item__brand-logo { max-width: 140px; max-height: 44px; }
}
