.stand-detail-page {
  min-height: 100vh;
}

.detail-hero {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.detail-hero h1 {
  margin: 0 0 10px 0;
  font-size: 36px;
}

.hero-rating {
  margin: 0;
  font-size: 18px;
  opacity: 0.9;
}

.detail-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.back-link {
  display: inline-block;
  color: #d32f2f;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.edit-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #d32f2f;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s;
}

.edit-link:hover {
  background-color: #b71c1c;
}

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

.delete-btn {
  padding: 8px 16px;
  background-color: white;
  color: #d32f2f;
  border: 2px solid #d32f2f;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.delete-btn:hover:not(:disabled) {
  background-color: #d32f2f;
  color: white;
}

.delete-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: start;
}

.detail-map {
  position: sticky;
  top: 20px;
  height: 500px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.detail-section {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.detail-section h2 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 20px;
}

.detail-section .description {
  color: #555;
}

.detail-section a {
  color: #d32f2f;
}

.route-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
  text-decoration: none;
}

.route-link:hover {
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.hours-table td:last-child {
  text-align: right;
  color: #555;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

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

.product-description {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: #666;
}

.product-price {
  font-weight: 600;
  color: #d32f2f;
  white-space: nowrap;
}

.stars {
  color: #f9a825;
  letter-spacing: 2px;
}

.review-form {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.review-form .form-group {
  margin-bottom: 15px;
}

.review-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
}

.review-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

.star-input .star {
  background: none;
  border: none;
  font-size: 28px;
  color: #ccc;
  cursor: pointer;
  padding: 0 2px;
}

.star-input .star.active {
  color: #f9a825;
}

.btn-primary {
  padding: 10px 20px;
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-primary:hover:not(:disabled) {
  background-color: #b71c1c;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-hint {
  color: #666;
  font-size: 14px;
}

.success-message {
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
}

.error-message {
  background-color: #ffebee;
  color: #c62828;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 15px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-comment {
  margin: 6px 0;
  font-size: 14px;
  color: #444;
}

.review-date {
  margin: 0;
  font-size: 12px;
  color: #999;
}

@media (max-width: 968px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-map {
    position: static;
    height: 400px;
    order: -1;
  }
}
