/* ============ FILTRE CATEGORII ============ */
.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.products-filters__item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 24px;
  border: 2px solid var(--mcs-gray-light);
  color: var(--mcs-gray-dark);
  transition: all 0.2s ease;
}

.products-filters__item:hover {
  border-color: var(--mcs-red);
  color: var(--mcs-red);
}

.products-filters__item.is-active {
  background-color: var(--mcs-red);
  border-color: var(--mcs-red);
  color: var(--mcs-white);
}

/* ============ GRID PRODUSE ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  display: block;
  background-color: var(--mcs-white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card__image {
  position: relative;
  background-color: var(--mcs-gray-light);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__placeholder {
  font-size: 48px;
  opacity: 0.4;
}

.product-card__brand {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--mcs-yellow);
  color: var(--mcs-gray-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-card__body {
  padding: 20px;
}

.product-card__body h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.product-card__meta {
  color: var(--mcs-gray-mid);
  font-size: 13px;
  margin-bottom: 12px;
}

.product-card__cta {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--mcs-red);
  font-size: 13px;
}

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--mcs-gray-mid);
  padding: 48px 0;
}

/* ============ PAGINARE ============ */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

.nav-links .current {
  background-color: var(--mcs-red);
  border-color: var(--mcs-red);
  color: var(--mcs-white);
}

/* ============ BREADCRUMB ============ */
.product-breadcrumb {
  font-size: 13px;
  color: var(--mcs-gray-mid);
  margin-bottom: 32px;
}

.product-breadcrumb a {
  color: var(--mcs-gray-mid);
}

.product-breadcrumb a:hover {
  color: var(--mcs-red);
}

.product-breadcrumb span {
  color: var(--mcs-gray-dark);
  font-weight: 600;
}

/* ============ FISA PRODUS ============ */
.product-single__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.product-single__gallery {
  background-color: var(--mcs-gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-single__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-single__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  font-size: 72px;
  opacity: 0.3;
}

.product-single__brand-badge {
  display: inline-block;
  background-color: var(--mcs-yellow);
  color: var(--mcs-gray-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.product-single__info h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.product-single__excerpt {
  color: var(--mcs-gray-mid);
  margin-bottom: 24px;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.product-specs-table tr {
  border-bottom: 1px solid #eee;
}

.product-specs-table th,
.product-specs-table td {
  text-align: left;
  padding: 12px 0;
  font-size: 14px;
}

.product-specs-table th {
  font-family: var(--font-heading);
  color: var(--mcs-gray-mid);
  width: 40%;
}

.product-single__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-single__description,
.product-single__montaj {
  max-width: 800px;
  margin: 0 auto 48px;
}

.product-single__description h2,
.product-single__montaj h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 800px) {
  .product-single__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
