/* PRIMEFIL V3 */
.hero-primefil {
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.10)),
    url("../images/banner/primefil-banner.jpg") center/cover no-repeat;
  min-height: 480px;
}

.photo-image {
  background: #f6f6f6;
}

.photo-image img,
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detail-photo {
  min-height: 520px;
  background: #f6f6f6;
}

.detail-photo img {
  max-height: 520px;
}

.product a {
  display: block;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
  margin-top: 18px;
}

.search-form input {
  margin: 0;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 80px 1.4fr .8fr .8fr 90px 100px 90px 90px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.admin-product-image {
  width: 72px;
  height: 72px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-product-row input {
  width: 100%;
  margin: 6px 0 0;
  padding: 10px;
}

.admin-product-row label {
  font-size: 13px;
  color: var(--muted);
}

.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkline input {
  width: auto;
  margin: 0;
}

button[disabled],
.secondary-button[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

@media(max-width:1000px) {
  .admin-product-row,
  .search-form {
    grid-template-columns: 1fr;
  }
}
