.account-shops-page {
  max-width: 1280px;
  margin: 0 auto;
  color: #1f2933;
}

.account-shops-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 0 22px;
}

.account-shops-title {
  margin: 0;
  color: #171b22;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.account-shops-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: #606b7a;
  font-size: 18px;
  line-height: 1.5;
}

.account-shops-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.account-shops-summary__item {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.account-shops-summary__item span,
.account-shop-card__meta-item span,
.account-shop-add-card__stat span,
.account-shop-add-card__costs span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.account-shops-summary__item strong {
  display: block;
  margin-top: 6px;
  color: #151a23;
  font-size: 17px;
  line-height: 1.25;
}

.account-shops-list {
  display: grid;
  gap: 12px;
}

.account-shop-card,
.account-shop-add-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.account-shop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.account-shop-card__content {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(110px, 0.28fr));
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.account-shop-card__title {
  margin: 0;
  color: #171b22;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.account-shop-card__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.account-shop-badge {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.account-shop-card__meta-item strong {
  display: block;
  margin-top: 5px;
  color: #1f2933;
  font-size: 15px;
  line-height: 1.25;
}

.account-shop-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.account-shop-action-form {
  width: 100%;
  margin: 0;
}

.account-shop-action {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
}

.account-shop-card__hint {
  grid-column: 1 / -1;
  margin-top: -8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.account-shops-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.account-shop-add-card > .card-body {
  padding: 22px;
}

.account-shop-add-card__eyebrow {
  color: #4b5563;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.account-shop-add-card__title {
  margin: 7px 0 0;
  color: #171b22;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.account-shop-add-card__copy {
  margin: 12px 0 0;
  color: #5c6674;
  font-size: 16px;
  line-height: 1.55;
}

.account-shop-add-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.account-shop-add-card__stat {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.account-shop-add-card__stat strong {
  display: block;
  margin-top: 5px;
  color: #151a23;
  font-size: 15px;
  line-height: 1.25;
}

.account-shop-add-card__costs {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #eef6ff;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.account-shop-add-card__costs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-shop-add-card__costs strong {
  color: #1f3b57;
  font-size: 14px;
  text-align: right;
}

.account-shop-add-card__form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.account-shop-form-label {
  display: block;
  margin: 0 0 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.account-shop-form-field .form-control,
.account-shop-form-field .form-select {
  min-height: 46px;
  border-radius: 8px;
}

.account-shop-submit {
  min-height: 48px;
  border-radius: 8px;
}

@media (max-width: 1120px) {
  .account-shop-card,
  .account-shop-card__content {
    grid-template-columns: 1fr;
  }

  .account-shop-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .account-shops-header {
    padding-top: 22px;
  }

  .account-shops-title {
    font-size: 32px;
  }

  .account-shops-subtitle {
    font-size: 16px;
  }

  .account-shops-summary,
  .account-shop-add-card__stats,
  .account-shop-card__actions {
    grid-template-columns: 1fr;
  }

  .account-shop-add-card__costs div {
    display: grid;
  }

  .account-shop-add-card__costs strong {
    text-align: left;
  }
}
