.my-products-page {
  min-height: 70vh;
  padding: 42px 0 80px;
  background: #fff;
}

.my-products-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.back-link {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-green-main);
  font-size: 15px;
  font-weight: 500;
}

.page-title {
  font-family: var(--font-display);
  color: var(--color-green-dark);
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--color-text-muted);
  font-size: 15px;
}

.products-panel {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.products-table-head,
.product-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 0.8fr 1.1fr;
  align-items: center;
  gap: 18px;
}

.products-table-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}

.product-row {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
}

.product-row:last-child {
  border-bottom: none;
}

.product-info-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.product-img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--color-green-pale);
  border: 1px solid var(--color-border);
}

.product-name {
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.product-district {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 3px;
}

.product-price {
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.status-active {
  background: #d8f8e4;
  color: #0f8a42;
}

.status-rented {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-hidden {
  background: #f3f4f6;
  color: #4b5563;
}

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

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.action-btn:hover {
  border-color: var(--color-green-main);
  color: var(--color-green-main);
  background: var(--color-green-pale);
}

.action-btn.delete:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fff1f2;
}

.loader,
.empty-state {
  padding: 40px 24px;
  text-align: center;
  color: var(--color-text-muted);
}

.empty-state h2 {
  font-family: var(--font-display);
  color: var(--color-green-dark);
  margin-bottom: 8px;
}

.empty-state .btn {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .products-table-head {
    display: none;
  }

  .products-panel {
    border-radius: 20px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-row > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .product-info-cell {
    justify-content: flex-start !important;
  }

  .product-row > div::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-text);
  }

  .product-info-cell::before,
  .product-actions::before {
    display: none;
  }

  .product-actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 600px) {
  .my-products-page {
    padding-top: 28px;
  }

  .my-products-top {
    flex-direction: column;
  }

  .my-products-top .btn {
    width: 100%;
    justify-content: center;
  }

  .page-title {
    font-size: 30px;
  }

  .product-img {
    width: 64px;
    height: 64px;
  }
}

.status-pending {
  background: #fff3cd;
  color: #9a6700;
}

.status-rejected {
  background: #ffe0e0;
  color: #b42318;
}

.nav__link--mobile {
  display: none;
}

@media (max-width: 980px) {
  .nav__link--mobile {
    display: block;
  }
}

@media (max-width: 980px) {
  .nav.open {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 18px 35px rgba(16, 24, 40, 0.12);
  }
}