.equip-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.equip-cat-bar {
  width: min(180px, 40%);
  height: 5px;
  border-radius: 999px;
  margin: 14px 0 18px;
  background: var(--brand-green);
}

.equip-cat-nav {
  margin-top: 18px;
}

.equip-cat-nav .sp-pill.is-active {
  border-color: color-mix(in srgb, var(--pill-accent, #fff) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pill-accent, #fff) 25%, transparent);
}

.equip-cat-nav .sp-pill.is-active::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pill-accent, #fff);
  margin-right: 2px;
}

/* Equipment page — SMART Production visual system */

.page-equipment {
  background: var(--bg-page);
}

.equip-main {
  padding: calc(var(--header-h) + 32px) clamp(24px, 5vw, 72px) 80px;
}

.equip-hero {
  max-width: 820px;
  margin-bottom: 40px;
}

.equip-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.equip-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  transition: 0.25s var(--ease);
}

.equip-tab.is-active,
.equip-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Active state for pills on equipment page */
.sp-pill.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.equip-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, transform 0.3s var(--ease);
  cursor: pointer;
  width: 100%;
  color: inherit;
}

.equip-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.equip-card__img {
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  overflow: hidden;
}

.equip-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.equip-card__body {
  padding: 18px 16px 20px;
}

.equip-card__mark {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}

.equip-card h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.equip-card__price {
  font-size: 14px;
  color: var(--text-soft);
}

.site-menu button {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 0;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s var(--ease);
}

.product-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.product-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 28px;
  color: var(--white);
  z-index: 2;
}

.product-modal__media {
  background: #0a0a0a;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.product-modal__media img {
  width: 100%;
  flex: 1;
  min-height: 220px;
  object-fit: contain;
  padding: 24px;
}

.product-modal__thumbs {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  overflow-x: auto;
}

.product-modal__thumbs button {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  opacity: 0.72;
}

.product-modal__thumbs button.is-active,
.product-modal__thumbs button:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.5);
}

.product-modal__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  min-height: 0;
}

.product-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.product-modal__tags span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  color: var(--text-soft);
}

.product-modal__body {
  padding: 28px 24px;
}

.product-modal__cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.product-modal__body h2 {
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  margin: 8px 0 12px;
}

.product-modal__price {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
}

.product-modal__text {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.product-modal__specs-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}

.product-modal__specs li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .product-modal__dialog { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .equip-grid { grid-template-columns: 1fr; }
}
