/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* Menu Page */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.menu-item-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.menu-item-desc {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

/* Skeleton Placeholder */
.skeleton-card {
  height: 240px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.skeleton-image {
  height: 160px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.skeleton-text {
  height: 20px;
  border-radius: 6px;
  margin: 12px 20px;
}

.skeleton-text-short {
  width: 60%;
}

/* Order Page */
.order-item-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.order-item-icon {
  font-size: 48px;
  margin-right: 16px;
  flex-shrink: 0;
}

.order-item-details h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.order-item-details p {
  color: var(--text-secondary);
  font-size: 12px;
  margin: 0;
}

.quantity-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Admin Page */
.admin-form {
  margin-bottom: 24px;
}

.admin-form .cafe-input {
  margin-bottom: 12px;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.admin-item-info {
  flex: 1;
  min-width: 0;
}

.admin-item-name {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 2px;
  font-size: 15px;
}

.admin-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.admin-btn-edit {
  background: var(--coffee);
  color: var(--white);
}

.admin-btn-edit:hover {
  background: var(--dark-roast);
}

.admin-btn-delete {
  background: var(--error);
  color: var(--white);
}

.admin-btn-delete:hover {
  background: #c62828;
}

/* States */
.state-message {
  text-align: center;
  padding: 40px 20px;
}

.state-message p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}
