.marketplace-location-summary {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(25, 48, 74, 0.12);
  border-radius: 18px;
  background: rgba(244, 247, 251, 0.88);
}

.product-card-distance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.product-card-distance,
.product-card-delivery {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 120, 78, 0.1);
  color: #164d36;
  font-size: 0.86rem;
  font-weight: 600;
}

.product-card-delivery {
  background: rgba(20, 69, 122, 0.08);
  color: #17395f;
}

.product-detail-gallery-shell {
  display: grid;
  gap: 14px;
}

.product-detail-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.product-detail-thumb-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-detail-thumb-button:focus-visible {
  outline: 2px solid #1f6ab8;
  outline-offset: 4px;
  border-radius: 14px;
}

.product-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: rgba(9, 18, 31, 0.86);
}

.product-gallery-lightbox.hidden {
  display: none;
}

.product-gallery-lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.product-gallery-lightbox-close {
  align-self: flex-end;
}

.modal-open {
  overflow: hidden;
}

.cart-business-hint {
  margin: 0 0 14px;
}

.cart-business-actions {
  padding-top: 14px;
  border-top: 1px solid rgba(25, 48, 74, 0.08);
}

.product-table-shell {
  padding: 0;
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
}

.product-management-table {
  width: 100%;
  border-collapse: collapse;
}

.product-management-table th,
.product-management-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(25, 48, 74, 0.08);
  text-align: left;
  vertical-align: middle;
}

.product-management-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4d6177;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .product-detail-gallery-actions,
  .cart-business-actions,
  .table-actions {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .product-card-distance-row,
  .product-detail-gallery-actions,
  .cart-business-actions,
  .table-actions {
    flex-direction: column;
  }

  .product-management-table th,
  .product-management-table td {
    padding: 12px;
  }
}
