.owner-body {
  min-height: 100vh;
  background: #f6f8f8;
}

.owner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.owner-header nav {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.owner-main {
  padding: 48px clamp(18px, 5vw, 72px) 76px;
}

.owner-hero {
  max-width: 820px;
  margin-bottom: 28px;
}

.owner-hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.owner-hero p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.owner-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.verification-card {
  display: grid;
  gap: 14px;
  border-color: rgba(5, 119, 111, 0.28);
}

.verification-card h2 {
  color: var(--ink);
}

.resend-form {
  margin-top: -4px;
}

.resend-form button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal-dark);
}

.owner-card,
.owner-status-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.05);
}

.owner-card {
  padding: 22px;
}

.owner-form,
.owner-form label {
  display: grid;
  gap: 10px;
}

.owner-form {
  gap: 16px;
}

.owner-form label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.owner-form input,
.owner-form select,
.owner-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
}

.owner-form textarea {
  resize: vertical;
}

.owner-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.owner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.owner-form-grid .wide,
.featured-request {
  grid-column: 1 / -1;
}

.featured-request {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(213, 155, 45, 0.5);
  border-radius: 8px;
  padding: 12px;
  background: #fff8e8;
  color: #7a520e !important;
}

.featured-request input {
  width: auto;
  min-height: auto;
}

.owner-alert {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
}

.owner-alert.error {
  background: #fff1ee;
  color: var(--coral);
}

.owner-alert.success {
  background: #e9f4f3;
  color: var(--teal-dark);
}

.owner-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.owner-status-grid div {
  padding: 18px;
}

.owner-status-grid strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.8rem;
  text-transform: capitalize;
}

.owner-status-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.owner-share-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.owner-share-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
}

.share-url {
  overflow-wrap: anywhere;
  color: var(--teal-dark);
  font-weight: 800;
}

.owner-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  background: #1f8f5f;
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}

.owner-share-button.disabled {
  opacity: 0.55;
}

.owner-image-preview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f9fbfb;
}

.owner-image-preview img,
.owner-gallery-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.owner-gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.owner-gallery-preview label {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #f9fbfb;
}

.owner-gallery-preview span,
.owner-image-preview label {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}

.owner-gallery-preview input,
.owner-image-preview input {
  width: auto;
  min-height: auto;
}

.product-manager {
  margin-top: 22px;
}

.product-manager h2 {
  color: var(--ink);
}

.product-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.owner-product-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.owner-product-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f9fbfb;
}

.owner-product-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 150px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.owner-product-media img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.owner-product-actions {
  display: flex;
  gap: 10px;
}

.owner-product-card > form:last-child {
  grid-column: 2;
}

.danger-button {
  min-height: 42px;
  border: 1px solid rgba(200, 79, 61, 0.42);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff1ee;
  color: var(--coral);
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 760px) {
  .owner-header {
    align-items: start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .owner-main {
    padding: 34px 16px 54px;
  }

  .owner-share-card {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-auth-grid,
  .owner-form-grid,
  .owner-status-grid,
  .owner-product-card,
  .owner-image-preview,
  .owner-gallery-preview {
    grid-template-columns: 1fr;
  }

  .owner-product-card > form:last-child {
    grid-column: auto;
  }
}
